*SOLVED* Trying to get IP in a laptop from a DHCP server inside a VE. [message #11491] |
Sun, 25 March 2007 19:50  |
mcarreira
Messages: 30 Registered: February 2007
|
Member |
|
|
I have a problem that I can't solve without some help.
My HN has 3 NIC's. But for now, let's only think about one of them (eth2).
--------------- eth0
| Laptop | ---------------------------------------
|192.168.30.121 | ------------ eth2 VE0 eth0
--------------- 192.168.30.254| |
---------------------------------------
| | |
veth400.0 + br0 venet0
| | |
------------------ -------------------
| eth0 | | venet0:0 |
| 192.168.30.53 | | 192.168.30.22 |
| | | |
| VE400 | | VE200 |
------------------ ------------------
I Created a veth in VE400 and then a bridge using only veth400.0.
This is the way I found in the wiki and forum to setup a VE which is going to be a DHCP server.
After setting up the bridge I can ping from the laptop to VE400 and from VE400 to the laptop.
I also can ssh both sides.
But when I run a DHCP server inside VE400, and I configure the laptop NIC to aquire the ip with dhcp, it doesn't work.
It seems broadcasts don't flow from laptop to VE400 (tcpdump inside VE400 don't detect any broadcast from laptop, although it detects all the other packets arriving from it).
I tried to change /proc/sys/net/ipv4/conf/br0/bootp_relay and /proc/sys/net/ipv4/conf/eth2/bootp_relay to 1, but nothing happened too (it seems this bootp_relay doesn't work either).
I don't know what else to do now.
Is there anyone who knows the answer?
Thanks,
M.Carreira
[Updated on: Tue, 27 March 2007 08:32] by Moderator Report message to a moderator
|
|
|