dhcpd compatibility with PPP
Hi
I am facing problem regarding obtaining IP address of a client setup using DHCP. My setup arrangement
Is as follows:
NODE 1 (mac address x1:x2:x3:x4:x5)
|
| ETH
|
|
|
NODE 2 (running dhcp-relay) (18.1.1.1)
||
||
|| PPP
||
DHCP SERVER (18.1.1.2)
I have run dhcpcd on NODE 1 represent as a DHCP client. This will forward the packet on ETH toward NODE 2.
At NODE 2 I have run dhcp-helper application “dhcp-helper –s 18.1.1.2” to forward packet on PPP interface.
At DHCP-SERVER side , I am having configuration file as shown below:-
ddns-update-style interim;
ignore client-updates;
default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.255.255.0;
subnet 18.1.1.0 netmask 255.255.255.0 {
host CP {
hardware ethernet x1:x2:x3:x4:x5:x6;
fixed-address 192.168.8.155;
}
}
subnet 192.168.0.0 netmask 255.255.0.0 {
}
And running dhcpd as “/usr/bin/dhcpd –d ppp0”. After doing all these things I am able to get
DHCP DISCOVER packet towards dhcpd but due to some reason it is not able to detect the packet.
Is dhcpd unable to interpret DHCP packet due to PPP headers? Please help
|