Hi:
   thanks for your reply. you say the bridge interface should take the ip
address,
not the nic. that's important. i think i go to the wrong direction. i want
nic
(eth0,dummy0) to have ip address, not br0. it seems not what linux bridge
designed to do...
by the way, i found if i set mac address manually :(eg: arp -s
192.168.10.254 x:x:x:x:x:x),
then i can ping 192.168.10.254 via eth0. but i can never make dummy0 work in
any way.

Regards,
tbsky

2006/11/18, Abel Martín <[EMAIL PROTECTED]>:

On 11/17/06, d tbsky <[EMAIL PROTECTED]> 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.

_______________________________________________
Bridge mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/bridge

Reply via email to