DHCP Relay issue
-
I currently have 5 LAN interfaces, LAN and OPT1 bridged(192.168.1.1/28), OPT2 and OPT3 bridged(192.168.20.1/24), OPT4(192.168.5.1/29). I have DHCP Relay listening on OPT2 and forwarding to a dhcp server 192.168.5.5. The configuration works fine when setup in 1.2.3-Release, but in 2.0 I get the following messages in my system log when the dhcrelay service tries to start.
Jan 21 17:08:48 dhcrelay: Internet Systems Consortium DHCP Relay Agent V3.0.7
Jan 21 17:08:48 dhcrelay: Copyright 2004-2008 Internet Systems Consortium.
Jan 21 17:08:48 dhcrelay: All rights reserved.
Jan 21 17:08:48 dhcrelay: For info, please visit http://www.isc.org/sw/dhcp/
Jan 21 17:08:48 dhcrelay: -i: not found
Jan 21 17:08:48 dhcrelay: -i: not found
Jan 21 17:08:48 php: /services_dhcp_relay.php: The command '/usr/local/sbin/dhcrelay -i -i o 192.168.5.5' returned exit code '1', the output was 'Internet Systems Consortium DHCP Relay Agent V3.0.7 Copyright 2004-2008 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/sw/dhcp/ -i: not found' -
fixed, thanks.
-
That error message was resolved, thanks. I am still having issues with DHCP Relay though. Relay is set to listen on LAN and OPT3. It works perfectly fine on LAN but not on OPT3… it doesn't forward the requests on OPT3. I've run packet captures on both the DHCP Server and router. In the router capture I can see the packets getting to the listening interface, but after that they disappear. Any suggestions? I can look deeper into the logs if I knew which ones to look for.
EDIT: Also I just noticed two things... first dhcrelay doesn't appear in the services tab, and also
this entry was in my logs, which pertains to the two interfaces in question
Jan 27 19:54:51 php: /interfaces_bridge_edit.php: The command '/sbin/ifconfig ''''em4'''' up' returned exit code '1', the output was 'ifconfig: interface 'em4' does not exist'
Jan 27 19:54:52 php: /interfaces_bridge_edit.php: The command '/sbin/ifconfig ''''em5'''' up' returned exit code '1', the output was 'ifconfig: interface 'em5' does not exist'