Re: [PATCH] Ethernet cleanup; 802.1p input and M_PROMISC

2007-03-06 Thread Bruce M Simpson
Yar Tikhiy wrote: My proposed check for IFF_DRV_RUNNING is by no means a priority task. I can add it by myself after you finish your great current project regarding ether_input() and friends. Just committed in p4: //depot/user/bms/netdev/sys/net/if_ethersubr.c#6 - /home/bms/p4/netdev/

Re: kern/109815: wrong interface identifier at pfil_hooks for vlans + if_bridge

2007-03-06 Thread Bruce M. Simpson
Eygene Ryabinkin wrote: I am awfully sorry, but you're seem to be mistaken: Thanks for clarifying this. That'll be because I didn't read if_bridge that far. ;^) In my original message I was just looking at if_ethersubr.c. I need to make sure any changes which are made to if_bridge to deal with

Re: [PATCH] Ethernet cleanup; 802.1p input and M_PROMISC

2007-03-06 Thread Bruce M Simpson
Julian Elischer wrote: When we added netgraph we split both the input and output parts so that they would provide 'natural' entrypoints for a bridge. Consider where a bridge wants to put packets. In bms_netdev, bridge_input() is entered directly from ether_input(). It may potentially re-enter,

Re: kern/109815: wrong interface identifier at pfil_hooks for vlans + if_bridge

2007-03-06 Thread Roman Kurakin
Ok, since no one want to provide an explanation I'll to do it myself. Lets assume that we have two interfaces that are joined to bridge. I'll call them as A and B. Both has a distinct MACs. Now we have two cases for behaviour of filtering. The first case that we will behave like real hub between

Re: mpd success stories, anyone?

2007-03-06 Thread Miroslav Slavkov
We're running PPPoE services with mpd 4.1 on FreeBSD 6.2-STABLE without any flaws for about 3 weeks. Opened ng interfaces: 2048 Avg usage: 500 Still migrating.. usage will grow soon. The hardware is: 2 x Intel Xeon 5110 with 1 Gig Memory and nics Intel Pro/1000 (em) the machine is a gateway t

what is wrong with ipv6_defaultrouter ?

2007-03-06 Thread Jason Arnaute
(FreeBSD 6.2-RELEASE) I have two ipv6 related lines in my /etc/rc.conf: ifconfig_em0_alias0="inet6 XXX::2/48" ipv6_defaultrouter="XXX::1" When I boot like this, I do not get a default ipv6 route in my routing table. 'netstat -rn' shows me a default route for ipv4, but no default route for ipv6

Re: what is wrong with ipv6_defaultrouter ?

2007-03-06 Thread Bruce A. Mah
If memory serves me right, Jason Arnaute wrote: > (FreeBSD 6.2-RELEASE) > > I have two ipv6 related lines in my /etc/rc.conf: > > ifconfig_em0_alias0="inet6 XXX::2/48" > ipv6_defaultrouter="XXX::1" > > When I boot like this, I do not get a default ipv6 > route in my routing table. 'netstat -rn'

Re: what is wrong with ipv6_defaultrouter ?

2007-03-06 Thread Jason Arnaute
--- "Bruce A. Mah" <[EMAIL PROTECTED]> wrote: > If memory serves me right, Jason Arnaute wrote: > > (FreeBSD 6.2-RELEASE) > > > > I have two ipv6 related lines in my /etc/rc.conf: > > > > ifconfig_em0_alias0="inet6 XXX::2/48" > > ipv6_defaultrouter="XXX::1" > > > > When I boot like this, I do

Re: what is wrong with ipv6_defaultrouter ?

2007-03-06 Thread Bruce A. Mah
If memory serves me right, Jason Arnaute wrote: > --- "Bruce A. Mah" <[EMAIL PROTECTED]> wrote: > >> If memory serves me right, Jason Arnaute wrote: >>> (FreeBSD 6.2-RELEASE) >>> >>> I have two ipv6 related lines in my /etc/rc.conf: >>> >>> ifconfig_em0_alias0="inet6 XXX::2/48" >>> ipv6_defaultrou

Re: kern/109815: wrong interface identifier at pfil_hooks for vlans + if_bridge

2007-03-06 Thread Eygene Ryabinkin
Roman, good day! > Lets assume that we have two interfaces that are joined to bridge. > I'll call them as A and B. Both has a distinct MACs. > > Now we have two cases for behaviour of filtering. The first case that > we will behave like real hub between the physical interfaces and its > virtual l