• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

DHCP Relay issue

Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
3 Posts 2 Posters 1.8k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    jtf6xb
    last edited by Jan 21, 2010, 5:23 PM

    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'

    1 Reply Last reply Reply Quote 0
    • C
      cmb
      last edited by Jan 21, 2010, 11:13 PM

      fixed, thanks.

      1 Reply Last reply Reply Quote 0
      • J
        jtf6xb
        last edited by Jan 27, 2010, 8:14 PM Jan 27, 2010, 7:38 PM

        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'

        1 Reply Last reply Reply Quote 0
        3 out of 3
        • First post
          3/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received