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

    Have others found that opt interfaces is not getting DHCP address properly?

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    4 Posts 3 Posters 1.5k 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.
    • G
      GoldServe
      last edited by

      Using 6/7 snapshot, I have the following interfaces.

      WAN (wan)                 -> em3        -> 192.168.2.197 (DHCP)
        LAN (lan)                 -> em2        -> 192.168.10.1
        WAN2 (opt1)               -> em4        -> NONE (DHCP)
        WLAN (opt2)               -> ath0_wlan0 -> NONE *disabled*
        OPT3 (opt3)               -> em5        -> NONE (DHCP)
        OPT4 (opt4)               -> em0        -> NONE (DHCP)
      
      

      I created 3 opt interfaces and none of them is able to get a DHCP address. I disabled the wireless interface just incase that was giving problems. From the log below, we see that em5 has been unplugged and i plugged in em0 (opt4) yet it still sends dhcp requests out of em5??

      Jun 8 19:27:14 	dhclient[12567]: DHCPDISCOVER on em5 to 255.255.255.255 port 67 interval 3
      Jun 8 19:27:12 	dhclient[12567]: DHCPDISCOVER on em5 to 255.255.255.255 port 67 interval 2
      Jun 8 19:27:11 	last message repeated 2 times
      Jun 8 19:27:09 	dhclient[12567]: DHCPDISCOVER on em5 to 255.255.255.255 port 67 interval 1
      Jun 8 19:27:08 	dhclient: FAIL
      Jun 8 19:27:08 	dhclient[12567]: No working leases in persistent database - sleeping.
      Jun 8 19:27:08 	dhclient[12567]: No DHCPOFFERS received.
      Jun 8 19:26:59 	dhclient[12567]: DHCPDISCOVER on em5 to 255.255.255.255 port 67 interval 9
      Jun 8 19:26:41 	dhclient[12567]: DHCPDISCOVER on em5 to 255.255.255.255 port 67 interval 18
      Jun 8 19:26:32 	dhclient[12567]: DHCPDISCOVER on em5 to 255.255.255.255 port 67 interval 9
      Jun 8 19:26:20 	dhclient[12567]: DHCPDISCOVER on em5 to 255.255.255.255 port 67 interval 12
      Jun 8 19:26:15 	dhclient[12567]: DHCPDISCOVER on em5 to 255.255.255.255 port 67 interval 5
      Jun 8 19:26:11 	dhclient[12567]: DHCPDISCOVER on em5 to 255.255.255.255 port 67 interval 4
      Jun 8 19:26:09 	dhclient[12567]: DHCPDISCOVER on em5 to 255.255.255.255 port 67 interval 2
      Jun 8 19:26:07 	dhclient[12567]: DHCPDISCOVER on em5 to 255.255.255.255 port 67 interval 2
      Jun 8 19:26:06 	dhclient: FAIL
      Jun 8 19:26:06 	dhclient[12567]: No working leases in persistent database - sleeping.
      Jun 8 19:26:06 	dhclient[12567]: No DHCPOFFERS received.
      Jun 8 19:25:49 	dhclient[12567]: DHCPDISCOVER on em5 to 255.255.255.255 port 67 interval 17
      Jun 8 19:25:44 	check_reload_status: rc.linkup starting
      Jun 8 19:25:34 	kernel: em0: link state changed to UP
      Jun 8 19:25:33 	dhclient[12567]: DHCPDISCOVER on em5 to 255.255.255.255 port 67 interval 16
      Jun 8 19:25:24 	kernel: em5: link state changed to DOWN
      Jun 8 19:25:20 	dhclient[12567]: DHCPDISCOVER on em5 to 255.255.255.255 port 67 interval 13
      
      1 Reply Last reply Reply Quote 0
      • G
        GoldServe
        last edited by

        For some reason, it is working now but the logs what about pointed out about one interface going up but logs say packets were sent out another is still weird.

        1 Reply Last reply Reply Quote 0
        • X
          xbipin
          last edited by

          i have opt bridged to lan on latest snaps and all get ip using dhcp so working fine for me, no idea if its the same without the bridge

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            There have been some oddities on the last few days worth of snapshots, first with the pfSense.so PHP module that handles some IP info, and now with OpenSSL. It's possible that what you are seeing is related to some of the other problems.

            I'd try new snapshots for a couple days to see if it persists.

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.