Veth does not forward DHCP packages [message #11084] |
Tue, 13 March 2007 10:36 |
NTAuthority
Messages: 4 Registered: March 2007
|
Junior Member |
|
|
I have made a VE, with a veth device. It's named eth0, and has the IP address 192.168.1.220. The real eth0, of VE0, has the IP 192.168.1.223. Now, if I try to get a IP address from the DHCP server in the VE, it does not respond. In tcpdump, I also don't see any DHCP packages. In VE0, I do see the packages, but VE0 don't respond, as there's no DHCP server running there. I set up the veth device using the guide on http://wiki.openvz.org/Virtual_Ethernet_device#Making_a_veth -device_persistent , and using option B. Adding a route for 255.255.255.255 on the VE, to eth0, or on VE0, to eth0 or even veth61.0, also does not work.
Could anyone help?
-- Bas
|
|
|
|
|
|
|
Re: Veth does not forward DHCP packages [message #11138 is a reply to message #11105] |
Wed, 14 March 2007 10:35 |
Andrey Mirkin
Messages: 193 Registered: May 2006
|
Senior Member |
|
|
Well, linux bridge is working in following way:
Interface become unavailable after you add it to bridge.
So, in VE0 after you add eth0 to bridge you should change all routes (change eth0 to br0 in all routes) and move IP configuration to bridge device.
Andrey Mirkin
|
|
|