hi, suppose a vlan has 3 member ports and vlan is configured as an l3 interface and if data is suppose to go out using that vlan interface, which physical port will be chosen among the 3 member ports ? thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.linux-foundation.org/pipermail/bridge/attachments/20110202/af9d6b6f/attachment.htm
Le 02/02/2011 09:02, Sinbad a ?crit :> hi, > > suppose a vlan has 3 member ports and vlan is configured as an l3 interface > and if data is suppose to go out using that vlan interface, which > physical port > will be chosen among the 3 member ports ?Can you describe your configuration a little bit more (possibly using the commands used to setup that configuration)? Nicolas.
hi, suppose my config is as below. # brctl addbr mybridge # brctl addif mybridge eth0 # brctl addif mybridge eth1 # ifconfig mybridge up # ifconfig mybridge 192.168.100.5 netmask 255.255.255.0 now if the an l3 packet has to egress from mybridge which port will be chosen ? thanks On Wed, Feb 2, 2011 at 1:53 PM, Nicolas de Peslo?an < nicolas.2p.debian at free.fr> wrote:> Le 02/02/2011 09:02, Sinbad a ?crit : > > hi, >> >> suppose a vlan has 3 member ports and vlan is configured as an l3 >> interface >> and if data is suppose to go out using that vlan interface, which >> physical port >> will be chosen among the 3 member ports ? >> > > Can you describe your configuration a little bit more (possibly using the > commands used to setup that configuration)? > > Nicolas. >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.linux-foundation.org/pipermail/bridge/attachments/20110202/4ba841a5/attachment.htm
It depends on the destination MAC field in the L2 header of the outgoing packet (which got filled in from the kernel routing table) On Wed, Feb 2, 2011 at 6:04 AM, Sinbad <sinbad.sinbad at gmail.com> wrote:> hi, > > suppose my config is as below. > > ?# brctl addbr mybridge > ?# brctl addif mybridge eth0 > ?# brctl addif mybridge eth1 > ?# ifconfig mybridge up > ?# ifconfig mybridge 192.168.100.5 netmask 255.255.255.0 > > now if the an l3 packet has to egress from mybridge > which port will be chosen ? > > thanks > > > On Wed, Feb 2, 2011 at 1:53 PM, Nicolas de Peslo?an > <nicolas.2p.debian at free.fr> wrote: >> >> Le 02/02/2011 09:02, Sinbad a ?crit : >>> >>> hi, >>> >>> suppose a vlan has 3 member ports and vlan is configured as an l3 >>> interface >>> and if data is suppose to go out using that vlan interface, which >>> physical port >>> will be chosen among the 3 member ports ? >> >> Can you describe your configuration a little bit more (possibly using the >> commands used to setup that configuration)? >> >> ? ? ? ?Nicolas. > > > _______________________________________________ > Bridge mailing list > Bridge at lists.linux-foundation.org > https://lists.linux-foundation.org/mailman/listinfo/bridge >
On Wed, Feb 2, 2011 at 8:42 AM, richardvoigt at gmail.com <richardvoigt at gmail.com> wrote:> It depends on the destination MAC field in the L2 header of the > outgoing packet (which got filled in from the kernel routing table)Actually I should say it gets filled in during the routing process. The MAC address actually comes from the ARP table, but which ARP entry is used is determined by routing.> > On Wed, Feb 2, 2011 at 6:04 AM, Sinbad <sinbad.sinbad at gmail.com> wrote: >> hi, >> >> suppose my config is as below. >> >> ?# brctl addbr mybridge >> ?# brctl addif mybridge eth0 >> ?# brctl addif mybridge eth1 >> ?# ifconfig mybridge up >> ?# ifconfig mybridge 192.168.100.5 netmask 255.255.255.0 >> >> now if the an l3 packet has to egress from mybridge >> which port will be chosen ? >> >> thanks >> >> >> On Wed, Feb 2, 2011 at 1:53 PM, Nicolas de Peslo?an >> <nicolas.2p.debian at free.fr> wrote: >>> >>> Le 02/02/2011 09:02, Sinbad a ?crit : >>>> >>>> hi, >>>> >>>> suppose a vlan has 3 member ports and vlan is configured as an l3 >>>> interface >>>> and if data is suppose to go out using that vlan interface, which >>>> physical port >>>> will be chosen among the 3 member ports ? >>> >>> Can you describe your configuration a little bit more (possibly using the >>> commands used to setup that configuration)? >>> >>> ? ? ? ?Nicolas. >> >> >> _______________________________________________ >> Bridge mailing list >> Bridge at lists.linux-foundation.org >> https://lists.linux-foundation.org/mailman/listinfo/bridge >> >