views:

45

answers:

0

Hi

BusyBox v1.7.2 compiled and running on MIPS-based embedded platform, unfortunately I can't get dhcprelay work properly. I run it this way:

dhcprelay vlan1 vlan2 192.168.1.150

where vlan1 (192.168.2.10) - is LAN, vlan2 (ip 192.168.1.2) - interface connected to WAN, 192.168.1.150 - dhcp server address.

So, I connect a Windows PC to vlan1 network, do ipconfig /release, ipconfig /renew and can't get any dhcp queries. I checked the traffic on vlan2 with a network sniffer - no dhcp request are even coming out.

But when run as 'dhcprelay vlan1 vlan2' then I see broadcasts comin out of vlan2 (192.168.1.2 -> 255.255.255.255), but I need unicasts to get relay working.

What am I doing wrong? Did anybody have the same problems? Thanks.