> Hi, > > I configured dhcrelay on my shorewall router to send DHCP requests to > a remote DHCP server. I need to listen for DHCP requests on on one > interface (say lan.1). However, this interface has multiple IP > addresses/netmasks. The remote DHCP server has only one scope and only > one of the IP addresses of lan.1 is within that scope (say, > 10.215.111.254/24). When sniffing traffic on the remote DHCP server, I > see that the source IP address is one of lan.1's but out of scope (eg. > 10.215.144.91). I managed to "fix that" with an SNAT rule, so now I > see that the source IP address is the "right one", eg. 10.215.111.254. > However, a wireshark dump shows me that within the DHCP protocol > messages (DHCP Discover) the "relay agent IP address" is still out of > scope (eg. 10.215.144.91). > > I tried to search the dhcrelay man page to see if I could manually set > this address. > > I don't believe there's any way SW can do this, right?
I don't know exactly what your problem is but I had a situation where I didn't get ISC dhcrelay to work. My solution was the dhcp helper http://thekelleys.org.uk/dhcp-helper/ from Simon Kelley. Regards, Simon _______________________________________________ Shorewall-users mailing list Shorewall-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/shorewall-users