[Bridge] bridge physical to several dummy interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi:
  what i want to do is like this:
http://www.linux.it/~rubini/docs/vinter/vinter.html
  i saw some people like me want to try bridge:
  http://kerneltrap.org/node/6523
  there seems no good way to do..

Regards,
tbskyd


2006/11/18, Abel Martín <abel.martin.ruiz at gmail.com>:
>
> On 11/17/06, d tbsky <tbskyd at gmail.com> wrote:
> > Hi:
> >     i want to bridge my eth0 interface to several dummy interface, like
> > vmware or xen did,
> > so i can request several dhcp ip address via several mac addresses.
> >    but i am stuck in the first step:
> >    assume my eth0 is 192.168.10.1, and it can ping 192.168.10.254.
> >     ifconfig br0 up
> >     brctl setfd br0 0
> >     brctl addif br0 eth0
> >
> >     now i can not ping 192.168.10.254 anymore.
> You might be having a routing problem. Check your routing table with ip
> route.
> >     but if i set 192.168.10.2 to br0, i can ping 192.168.10.254.
> >     and "dhclient eth0" can get ip addess from dhcp server(that surprise
> > me!!)
> Try dhclient br0.
> >     i try to add dummy interface to br0, but dummy interface can not
> work,
> > like eth0.
> >     "brctl showmac br0" give me may mac addresses, so i think bridging
> is
> > working.
> >
> >     i think i must misunderstanding the brindge concept.
> When a nic is part of a bridge it's not supposed to have an address,
> is the bridge interface which has to.
> >     can i keep eth0 work after it join br0?
> I think it does work, since it's the physical
> >     thanks a lot for your help!!
> >
> One more thing: as you add interfaces to a bridge, the bridge MAC will
> change to the lowest MAC of the attached interfaces.
>
> Regards.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osdl.org/pipermail/bridge/attachments/20061119/c88bd16f/attachment.htm 


[Index of Archives]     [Netdev]     [AoE Tools]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux