Ethernet Bridge development
 help / color / mirror / Atom feed
From: Stephen Hemminger <shemminger@osdl.org>
To: pfer <forgamedev@yahoo.com>
Cc: bridge@lists.osdl.org
Subject: Re: [Bridge] q-bridge-mib and snmp question
Date: Tue, 5 Sep 2006 09:30:10 -0700	[thread overview]
Message-ID: <20060905093010.5ac1717b@localhost.localdomain> (raw)
In-Reply-To: <20060904153922.22148.qmail@web54303.mail.yahoo.com>

On Mon, 4 Sep 2006 08:39:22 -0700 (PDT)
pfer <forgamedev@yahoo.com> wrote:

> Hello people!
> 
> Sorry if this is a bit off-topic, but I was not able
> to find a more appropriate mailing list for this.
> 
> I would like to set forwarding rule entries in an
> ethernet switch, with snmp.

Linux bridge doesn't implement SNMP.

And setting entries with SNMP would be a security hole.
One of the reasons (beside laziness) that I haven't even
looked at more management support is that many management
protocols seemed to be designed without security.

> 
> Problem is, it works with the D-link web-manager and
> terminal, but not with snmp.
> 
> I'd be happy if you could point me to a more
> appropriate list too :D
> 
> dot1qStaticUnicastTable stores the per-vlan entries I
> wish to fill (da-mac address, etc), but when I try to
> use something like:
> 
> #snmpset -c private -v2c 10.4.2.102
> .1.3.6.1.2.1.17.7.1.3.1.1.3.4.0.16.90.177.25.152.0 x
> 00004000
> 
> (the 00004000 egress ports for the 4 numbered vlan for
> 
>  the 0.16.90.177.25.152 mac, for all ports (0 at end)
> )
> 
> I get a "non-writeable" error, contrary to what the
> q-brigde-mib rfc says of this entry. (read-write)
> 
> The same value can be read back after it is set with
> other methods, so it shall be working.
> 
> My guess is that I shall set another variable
> somewhere, but I can't find it.
> 
> I use net-snmp, worked for many stuff fine, so the
> problem is not there.
> 
> 
> Any suggestions? Someone tried to set static
> forwarding rules with 802.1q?
> 
> Thanks for help,
> 
> Ferenc Pintér
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> _______________________________________________
> Bridge mailing list
> Bridge@lists.osdl.org
> https://lists.osdl.org/mailman/listinfo/bridge
> 


-- 
Stephen Hemminger <shemminger@osdl.org>

      reply	other threads:[~2006-09-05 16:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-04 15:39 [Bridge] q-bridge-mib and snmp question pfer
2006-09-05 16:30 ` Stephen Hemminger [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060905093010.5ac1717b@localhost.localdomain \
    --to=shemminger@osdl.org \
    --cc=bridge@lists.osdl.org \
    --cc=forgamedev@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox