Unable to get WAN DHCP lease by ISP
-
Since two days, I am unable to get a new DHCP lease from my ISP on my WAN port (where a cable modem is attached to).
I have already performed a factory reset on my pfSense system, which is based on a pcengines apu2.
The WAN port is correctly configured to ask for a DHCP lease.
I noticed that the GUI becomes sluggish, especially the dashboard loads slowly and changes to a network interface as slow.When I run a tcpdump on the WAN interface, I observe the following behavior:
11:29:08.491310 IP (tos 0x0, ttl 255, id 48551, offset 0, flags [none], proto UDP (17), length 358) 10.20.224.1.67 > 255.255.255.255.68: BOOTP/DHCP, Reply, length 330, xid 0x2ea19333, Flags [Broadcast] Your-IP XX.XX.36.165 Gateway-IP XX.XX.32.1 Client-Ethernet-Address aa:bb:cc:dd:ee:ff Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Offer Subnet-Mask Option 1, length 4: 255.255.224.0 Default-Gateway Option 3, length 4: XX.XX.32.1 Domain-Name-Server Option 6, length 8: XX.XX.XX.XX,XX.XX.XX.XX Domain-Name Option 15, length 17: "isp.domainname.com" Lease-Time Option 51, length 4: 14400 RB Option 59, length 4: 12600 RN Option 58, length 4: 6547 Server-ID Option 54, length 4: XX.XX.224.101 Hostname Option 12, length 13: "165-36-XX-XX" T254 Option 254, length 4: 169140225 11:29:10.840907 IP6 (class 0xe0, hlim 255, next-header ICMPv6 (58) payload length: 32) fe80::5a97:bdff:fe2e:8419 > ff02::1: [icmp6 sum ok] ICMP6, router advertisement, length 32 hop limit 64, Flags [managed, other stateful], pref medium, router lifetime 1800s, reachable time 3000000s, retrans time 0s source link-address option (1), length 8 (1): 58:97:bd:2e:84:19 mtu option (5), length 8 (1): 1500 11:29:13.996052 IP6 (class 0xe0, hlim 255, next-header ICMPv6 (58) payload length: 32) fe80::5a97:bdff:fe2e:8419 > ff02::1: [icmp6 sum ok] ICMP6, router advertisement, length 32 hop limit 64, Flags [managed, other stateful], pref medium, router lifetime 1800s, reachable time 3000000s, retrans time 0s source link-address option (1), length 8 (1): 58:97:bd:2e:84:19 mtu option (5), length 8 (1): 1500 11:29:15.205875 IP (tos 0x0, ttl 255, id 48574, offset 0, flags [none], proto UDP (17), length 358) 10.20.224.1.67 > 255.255.255.255.68: BOOTP/DHCP, Reply, length 330, xid 0xedadb6, Flags [Broadcast] Your-IP XX.XX.36.112 Gateway-IP XX.XX.32.1 Client-Ethernet-Address aa:bb:cc:dd:ee:ff Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: ACK Subnet-Mask Option 1, length 4: 255.255.224.0 Default-Gateway Option 3, length 4: XX.XX.32.1 Domain-Name-Server Option 6, length 8: XX.XX.XX.XX,XX.XX.XX.XX Domain-Name Option 15, length 17: "isp.domainname.com" Lease-Time Option 51, length 4: 14400 RB Option 59, length 4: 12600 RN Option 58, length 4: 6256 Server-ID Option 54, length 4: XX.XX.224.101 Hostname Option 12, length 13: "112-36-XX-XX" T254 Option 254, length 4: 169140225
As one can see, the ACK is to another IP address than the one offered. Possibly, this IP was offered before I began tcpdumping.
The system is not under heavy load or out of memory. The system is running the latest version of pfSense 2.4.4-p3.
What could I try to track down the issue any further?
-
Those are both replies from the server though. Can we see the full DHCP sequence?
Did anything change at your end two days ago?
Failure to get a DHCP lease is almost always something server side like the modem tied to a MAC and the MAC changed.
Probably something changed at the ISP but good luck getting them to admit that!
Steve
-
Dear Steve
Those are both replies from the server though. Can we see the full DHCP sequence?
Sure, here it goes. The dashed lines are when I stopped monitoring for some seconds. At one point I rebooted the cable modem, which is probably why there is a INIT-REBOOT message appearing in one response:
11:08:17.526518 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 328) 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from AA:BB:CC:DD:EE:FF (oui Unknown), length 300, xid 0xf20792e3, Flags [none] Client-Ethernet-Address AA:BB:CC:DD:EE:FF (oui Unknown) Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Discover Client-ID Option 61, length 7: ether AA:BB:CC:DD:EE:FF Hostname Option 12, length 8: "myhostname" Parameter-Request Option 55, length 10: Subnet-Mask, BR, Time-Zone, Classless-Static-Route Default-Gateway, Domain-Name, Domain-Name-Server, Hostname Option 119, MTU 11:08:18.580100 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 328) 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from AA:BB:CC:DD:EE:FF (oui Unknown), length 300, xid 0xf20792e3, secs 1, Flags [none] Client-Ethernet-Address AA:BB:CC:DD:EE:FF (oui Unknown) Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Discover Client-ID Option 61, length 7: ether AA:BB:CC:DD:EE:FF Hostname Option 12, length 8: "myhostname" Parameter-Request Option 55, length 10: Subnet-Mask, BR, Time-Zone, Classless-Static-Route Default-Gateway, Domain-Name, Domain-Name-Server, Hostname Option 119, MTU 11:08:19.640131 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 328) 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from AA:BB:CC:DD:EE:FF (oui Unknown), length 300, xid 0xf20792e3, secs 2, Flags [none] Client-Ethernet-Address AA:BB:CC:DD:EE:FF (oui Unknown) Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Discover Client-ID Option 61, length 7: ether AA:BB:CC:DD:EE:FF Hostname Option 12, length 8: "myhostname" Parameter-Request Option 55, length 10: Subnet-Mask, BR, Time-Zone, Classless-Static-Route Default-Gateway, Domain-Name, Domain-Name-Server, Hostname Option 119, MTU 11:08:20.382243 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 328) 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from AA:BB:CC:DD:EE:FF (oui Unknown), length 300, xid 0xf20792e3, secs 3, Flags [none] Client-Ethernet-Address AA:BB:CC:DD:EE:FF (oui Unknown) Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Discover Client-ID Option 61, length 7: ether AA:BB:CC:DD:EE:FF Hostname Option 12, length 8: "myhostname" Parameter-Request Option 55, length 10: Subnet-Mask, BR, Time-Zone, Classless-Static-Route Default-Gateway, Domain-Name, Domain-Name-Server, Hostname Option 119, MTU 11:08:22.166763 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 328) 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from AA:BB:CC:DD:EE:FF (oui Unknown), length 300, xid 0xf20792e3, secs 5, Flags [none] Client-Ethernet-Address AA:BB:CC:DD:EE:FF (oui Unknown) Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Discover Client-ID Option 61, length 7: ether AA:BB:CC:DD:EE:FF Hostname Option 12, length 8: "myhostname" Parameter-Request Option 55, length 10: Subnet-Mask, BR, Time-Zone, Classless-Static-Route Default-Gateway, Domain-Name, Domain-Name-Server, Hostname Option 119, MTU 11:08:25.203970 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 328) 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from AA:BB:CC:DD:EE:FF (oui Unknown), length 300, xid 0xf20792e3, secs 8, Flags [none] Client-Ethernet-Address AA:BB:CC:DD:EE:FF (oui Unknown) Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Discover Client-ID Option 61, length 7: ether AA:BB:CC:DD:EE:FF Hostname Option 12, length 8: "myhostname" Parameter-Request Option 55, length 10: Subnet-Mask, BR, Time-Zone, Classless-Static-Route Default-Gateway, Domain-Name, Domain-Name-Server, Hostname Option 119, MTU 11:08:30.205323 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 328) 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from AA:BB:CC:DD:EE:FF (oui Unknown), length 300, xid 0xf20792e3, secs 13, Flags [none] Client-Ethernet-Address AA:BB:CC:DD:EE:FF (oui Unknown) Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Discover Client-ID Option 61, length 7: ether AA:BB:CC:DD:EE:FF Hostname Option 12, length 8: "myhostname" Parameter-Request Option 55, length 10: Subnet-Mask, BR, Time-Zone, Classless-Static-Route Default-Gateway, Domain-Name, Domain-Name-Server, Hostname Option 119, MTU 11:08:36.859643 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 328) 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from AA:BB:CC:DD:EE:FF (oui Unknown), length 300, xid 0xf20792e3, secs 19, Flags [none] Client-Ethernet-Address AA:BB:CC:DD:EE:FF (oui Unknown) Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Discover Client-ID Option 61, length 7: ether AA:BB:CC:DD:EE:FF Hostname Option 12, length 8: "myhostname" Parameter-Request Option 55, length 10: Subnet-Mask, BR, Time-Zone, Classless-Static-Route Default-Gateway, Domain-Name, Domain-Name-Server, Hostname Option 119, MTU 11:08:43.611286 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 328) 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from AA:BB:CC:DD:EE:FF (oui Unknown), length 300, xid 0xf20792e3, secs 26, Flags [none] Client-Ethernet-Address AA:BB:CC:DD:EE:FF (oui Unknown) Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Discover Client-ID Option 61, length 7: ether AA:BB:CC:DD:EE:FF Hostname Option 12, length 8: "myhostname" Parameter-Request Option 55, length 10: Subnet-Mask, BR, Time-Zone, Classless-Static-Route Default-Gateway, Domain-Name, Domain-Name-Server, Hostname Option 119, MTU 11:08:51.980039 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 328) 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from AA:BB:CC:DD:EE:FF (oui Unknown), length 300, xid 0xf20792e3, secs 34, Flags [none] Client-Ethernet-Address AA:BB:CC:DD:EE:FF (oui Unknown) Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Discover Client-ID Option 61, length 7: ether AA:BB:CC:DD:EE:FF Hostname Option 12, length 8: "myhostname" Parameter-Request Option 55, length 10: Subnet-Mask, BR, Time-Zone, Classless-Static-Route Default-Gateway, Domain-Name, Domain-Name-Server, Hostname Option 119, MTU 11:09:06.999463 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 328) 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from AA:BB:CC:DD:EE:FF (oui Unknown), length 300, xid 0xf20792e3, secs 49, Flags [none] Client-Ethernet-Address AA:BB:CC:DD:EE:FF (oui Unknown) Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Discover Client-ID Option 61, length 7: ether AA:BB:CC:DD:EE:FF Hostname Option 12, length 8: "myhostname" Parameter-Request Option 55, length 10: Subnet-Mask, BR, Time-Zone, Classless-Static-Route Default-Gateway, Domain-Name, Domain-Name-Server, Hostname Option 119, MTU 11:09:15.182232 IP (tos 0x0, ttl 255, id 45047, offset 0, flags [none], proto UDP (17), length 358) 10.20.224.1.bootps > 255.255.255.255.bootpc: BOOTP/DHCP, Reply, length 330, xid 0xd3e8557f, Flags [Broadcast] Client-IP XX.XX.34.218 Your-IP XX.XX.34.218 Gateway-IP XX.XX.32.1 Client-Ethernet-Address 10:be:f5:d5:55:7f (oui Unknown) Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: ACK Server-ID Option 54, length 4: XX.XX.XX.XX Lease-Time Option 51, length 4: 14400 RN Option 58, length 4: 6774 RB Option 59, length 4: 12600 Subnet-Mask Option 1, length 4: 255.255.224.0 Default-Gateway Option 3, length 4: XX.XX.32.1 Domain-Name-Server Option 6, length 8: XX.XX.XX.XX,XX.XX.XX.XX Domain-Name Option 15, length 17: "isp.domainname.com" Hostname Option 12, length 13: "218-34-XX-XX" T254 Option 254, length 4: 169140225 --------------------------------------------------------------------------------------------------------------------------------------- 11:18:32.367859 IP (tos 0x0, ttl 255, id 46754, offset 0, flags [none], proto UDP (17), length 357) 10.20.224.1.bootps > 255.255.255.255.bootpc: BOOTP/DHCP, Reply, length 329, xid 0xaee67695, Flags [Broadcast] Your-IP XX.XX.56.24 Gateway-IP XX.XX.32.1 Client-Ethernet-Address AA:BB:CC:DD:EE:FF (oui Unknown) Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Offer Subnet-Mask Option 1, length 4: 255.255.224.0 Domain-Name Option 15, length 17: "isp.domainname.com" Default-Gateway Option 3, length 4: XX.XX.32.1 Domain-Name-Server Option 6, length 8: XX.XX.XX.XX,XX.XX.XX.XX Lease-Time Option 51, length 4: 14400 RB Option 59, length 4: 12600 RN Option 58, length 4: 7481 Server-ID Option 54, length 4: XX.XX.XX.XX Hostname Option 12, length 12: "24-56-XX-XX" T254 Option 254, length 4: 169140225 11:18:32.379328 IP (tos 0x0, ttl 255, id 46757, offset 0, flags [none], proto UDP (17), length 357) 10.20.224.1.bootps > 255.255.255.255.bootpc: BOOTP/DHCP, Reply, length 329, xid 0xaee67695, Flags [Broadcast] Your-IP XX.XX.56.24 Gateway-IP XX.XX.32.1 Client-Ethernet-Address AA:BB:CC:DD:EE:FF (oui Unknown) Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: ACK Subnet-Mask Option 1, length 4: 255.255.224.0 Domain-Name Option 15, length 17: "isp.domainname.com" Default-Gateway Option 3, length 4: XX.XX.32.1 Domain-Name-Server Option 6, length 8: XX.XX.XX.XX,XX.XX.XX.XX Lease-Time Option 51, length 4: 14400 RB Option 59, length 4: 12600 RN Option 58, length 4: 7481 Server-ID Option 54, length 4: XX.XX.XX.XX Hostname Option 12, length 12: "24-56-XX-XX" T254 Option 254, length 4: 169140225 --------------------------------------------------------------------------------------------------------------------------------------- 11:26:56.975878 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 336) 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from AA:BB:CC:DD:EE:FF, length 308, xid 0xe0e5fbc4, Flags [none] Client-Ethernet-Address AA:BB:CC:DD:EE:FF Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Discover Client-ID Option 61, length 24: hardware-type 102, 69:72:65:77:61:6c:6c:2e:68:6f:6d:65:2e:63:6c:6f:61:6b:65:64:2e:63:68 Hostname Option 12, length 24: "myhostname" Parameter-Request Option 55, length 10: Subnet-Mask, BR, Time-Zone, Classless-Static-Route Default-Gateway, Domain-Name, Domain-Name-Server, Hostname Option 119, MTU 11:26:57.976660 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 336) 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from AA:BB:CC:DD:EE:FF, length 308, xid 0xe0e5fbc4, secs 1, Flags [none] Client-Ethernet-Address AA:BB:CC:DD:EE:FF Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Discover Client-ID Option 61, length 24: hardware-type 102, 69:72:65:77:61:6c:6c:2e:68:6f:6d:65:2e:63:6c:6f:61:6b:65:64:2e:63:68 Hostname Option 12, length 24: "myhostname" Parameter-Request Option 55, length 10: Subnet-Mask, BR, Time-Zone, Classless-Static-Route Default-Gateway, Domain-Name, Domain-Name-Server, Hostname Option 119, MTU 11:26:59.342225 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 336) 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from AA:BB:CC:DD:EE:FF, length 308, xid 0xe0e5fbc4, secs 3, Flags [none] Client-Ethernet-Address AA:BB:CC:DD:EE:FF Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Discover Client-ID Option 61, length 24: hardware-type 102, 69:72:65:77:61:6c:6c:2e:68:6f:6d:65:2e:63:6c:6f:61:6b:65:64:2e:63:68 Hostname Option 12, length 24: "myhostname" Parameter-Request Option 55, length 10: Subnet-Mask, BR, Time-Zone, Classless-Static-Route Default-Gateway, Domain-Name, Domain-Name-Server, Hostname Option 119, MTU 11:27:04.708764 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 336) 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from AA:BB:CC:DD:EE:FF, length 308, xid 0xe0e5fbc4, secs 8, Flags [none] Client-Ethernet-Address AA:BB:CC:DD:EE:FF Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Discover Client-ID Option 61, length 24: hardware-type 102, 69:72:65:77:61:6c:6c:2e:68:6f:6d:65:2e:63:6c:6f:61:6b:65:64:2e:63:68 Hostname Option 12, length 24: "myhostname" Parameter-Request Option 55, length 10: Subnet-Mask, BR, Time-Zone, Classless-Static-Route Default-Gateway, Domain-Name, Domain-Name-Server, Hostname Option 119, MTU 11:27:17.394302 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 336) 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from AA:BB:CC:DD:EE:FF, length 308, xid 0xe0e5fbc4, secs 21, Flags [none] Client-Ethernet-Address AA:BB:CC:DD:EE:FF Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Discover Client-ID Option 61, length 24: hardware-type 102, 69:72:65:77:61:6c:6c:2e:68:6f:6d:65:2e:63:6c:6f:61:6b:65:64:2e:63:68 Hostname Option 12, length 24: "myhostname" Parameter-Request Option 55, length 10: Subnet-Mask, BR, Time-Zone, Classless-Static-Route Default-Gateway, Domain-Name, Domain-Name-Server, Hostname Option 119, MTU 11:27:25.487088 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 336) 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from AA:BB:CC:DD:EE:FF, length 308, xid 0xe0e5fbc4, secs 29, Flags [none] Client-Ethernet-Address AA:BB:CC:DD:EE:FF Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Discover Client-ID Option 61, length 24: hardware-type 102, 69:72:65:77:61:6c:6c:2e:68:6f:6d:65:2e:63:6c:6f:61:6b:65:64:2e:63:68 Hostname Option 12, length 24: "myhostname" Parameter-Request Option 55, length 10: Subnet-Mask, BR, Time-Zone, Classless-Static-Route Default-Gateway, Domain-Name, Domain-Name-Server, Hostname Option 119, MTU 11:27:39.404642 IP (tos 0x0, ttl 255, id 48286, offset 0, flags [none], proto UDP (17), length 427) 10.20.224.1.67 > 255.255.255.255.68: BOOTP/DHCP, Reply, length 399, xid 0xe6069d74, Flags [Broadcast] Gateway-IP 10.20.224.1 Client-Ethernet-Address b8:ec:a3:d7:3c:33 Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: NACK Subnet-Mask Option 1, length 4: 255.255.224.0 Default-Gateway Option 3, length 4: XX.XX.32.1 Domain-Name-Server Option 6, length 8: XX.XX.XX.XX,XX.XX.XX.XX Hostname Option 12, length 7: "0-0-0-0" Domain-Name Option 15, length 17: "isp.domainname.com" Server-ID Option 54, length 4: XX.XX.XX.XX MSG Option 56, length 91: "This device is doing an INIT-REBOOT from a different network than what it was on previously" T254 Option 254, length 4: 169140225 11:27:40.460936 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 336) 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from AA:BB:CC:DD:EE:FF, length 308, xid 0xe0e5fbc4, secs 44, Flags [none] Client-Ethernet-Address AA:BB:CC:DD:EE:FF Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Discover Client-ID Option 61, length 24: hardware-type 102, 69:72:65:77:61:6c:6c:2e:68:6f:6d:65:2e:63:6c:6f:61:6b:65:64:2e:63:68 Hostname Option 12, length 24: "myhostname" Parameter-Request Option 55, length 10: Subnet-Mask, BR, Time-Zone, Classless-Static-Route Default-Gateway, Domain-Name, Domain-Name-Server, Hostname Option 119, MTU 11:27:51.750725 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 336) 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from AA:BB:CC:DD:EE:FF, length 308, xid 0xe0e5fbc4, secs 55, Flags [none] Client-Ethernet-Address AA:BB:CC:DD:EE:FF Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Discover Client-ID Option 61, length 24: hardware-type 102, 69:72:65:77:61:6c:6c:2e:68:6f:6d:65:2e:63:6c:6f:61:6b:65:64:2e:63:68 Hostname Option 12, length 24: "myhostname" Parameter-Request Option 55, length 10: Subnet-Mask, BR, Time-Zone, Classless-Static-Route Default-Gateway, Domain-Name, Domain-Name-Server, Hostname Option 119, MTU 11:27:56.196397 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 328) 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from AA:BB:CC:DD:EE:FF, length 300, xid 0x97578cd8, Flags [none] Client-Ethernet-Address AA:BB:CC:DD:EE:FF Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Discover Client-ID Option 61, length 7: ether AA:BB:CC:DD:EE:FF Hostname Option 12, length 8: "myhostname" Parameter-Request Option 55, length 10: Subnet-Mask, BR, Time-Zone, Classless-Static-Route Default-Gateway, Domain-Name, Domain-Name-Server, Hostname Option 119, MTU 11:28:19.315463 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 328) 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from AA:BB:CC:DD:EE:FF, length 300, xid 0x97578cd8, secs 23, Flags [none] Client-Ethernet-Address AA:BB:CC:DD:EE:FF Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Discover Client-ID Option 61, length 7: ether AA:BB:CC:DD:EE:FF Hostname Option 12, length 8: "myhostname" Parameter-Request Option 55, length 10: Subnet-Mask, BR, Time-Zone, Classless-Static-Route Default-Gateway, Domain-Name, Domain-Name-Server, Hostname Option 119, MTU 11:28:44.398844 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 328) 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from AA:BB:CC:DD:EE:FF, length 300, xid 0x97578cd8, secs 48, Flags [none] Client-Ethernet-Address AA:BB:CC:DD:EE:FF Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Discover Client-ID Option 61, length 7: ether AA:BB:CC:DD:EE:FF Hostname Option 12, length 8: "myhostname" Parameter-Request Option 55, length 10: Subnet-Mask, BR, Time-Zone, Classless-Static-Route Default-Gateway, Domain-Name, Domain-Name-Server, Hostname Option 119, MTU 11:29:03.516803 IP (tos 0x0, ttl 255, id 48540, offset 0, flags [none], proto UDP (17), length 357) 10.20.224.1.67 > 255.255.255.255.68: BOOTP/DHCP, Reply, length 329, xid 0x3dba8a00, Flags [Broadcast] Your-IP XX.XX.62.64 Gateway-IP XX.XX.32.1 Client-Ethernet-Address 6c:f0:49:6c:d9:4f Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: ACK Subnet-Mask Option 1, length 4: 255.255.224.0 Domain-Name Option 15, length 17: "isp.domainname.com" Default-Gateway Option 3, length 4: XX.XX.32.1 Domain-Name-Server Option 6, length 8: XX.XX.XX.XX,XX.XX.XX.XX Lease-Time Option 51, length 4: 14400 RB Option 59, length 4: 12600 RN Option 58, length 4: 6251 Server-ID Option 54, length 4: XX.XX.XX.XX Hostname Option 12, length 12: "64-62-XX-XX" T254 Option 254, length 4: 169140225 11:29:08.491310 IP (tos 0x0, ttl 255, id 48551, offset 0, flags [none], proto UDP (17), length 358) 10.20.224.1.67 > 255.255.255.255.68: BOOTP/DHCP, Reply, length 330, xid 0x2ea19333, Flags [Broadcast] Your-IP XX.XX.36.165 Gateway-IP XX.XX.32.1 Client-Ethernet-Address e4:6f:13:38:bd:07 Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Offer Subnet-Mask Option 1, length 4: 255.255.224.0 Default-Gateway Option 3, length 4: XX.XX.32.1 Domain-Name-Server Option 6, length 8: XX.XX.XX.XX,XX.XX.XX.XX Domain-Name Option 15, length 17: "isp.domainname.com" Lease-Time Option 51, length 4: 14400 RB Option 59, length 4: 12600 RN Option 58, length 4: 6547 Server-ID Option 54, length 4: XX.XX.XX.XX Hostname Option 12, length 13: "165-36-XX-XX" T254 Option 254, length 4: 169140225 11:29:15.205875 IP (tos 0x0, ttl 255, id 48574, offset 0, flags [none], proto UDP (17), length 358) 10.20.224.1.67 > 255.255.255.255.68: BOOTP/DHCP, Reply, length 330, xid 0xedadb6, Flags [Broadcast] Your-IP XX.XX.36.112 Gateway-IP XX.XX.32.1 Client-Ethernet-Address 40:61:86:ca:79:e6 Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: ACK Subnet-Mask Option 1, length 4: 255.255.224.0 Default-Gateway Option 3, length 4: XX.XX.32.1 Domain-Name-Server Option 6, length 8: XX.XX.XX.XX,XX.XX.XX.XX Domain-Name Option 15, length 17: "isp.domainname.com" Lease-Time Option 51, length 4: 14400 RB Option 59, length 4: 12600 RN Option 58, length 4: 6256 Server-ID Option 54, length 4: XX.XX.XX.XX Hostname Option 12, length 13: "112-36-XX-XX" T254 Option 254, length 4: 169140225 11:34:39.897405 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 328) 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from AA:BB:CC:DD:EE:FF, length 300, xid 0x5bbc99e9, Flags [none] Client-Ethernet-Address AA:BB:CC:DD:EE:FF Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Discover Client-ID Option 61, length 7: ether AA:BB:CC:DD:EE:FF Hostname Option 12, length 8: "myhostname" Parameter-Request Option 55, length 10: Subnet-Mask, BR, Time-Zone, Classless-Static-Route Default-Gateway, Domain-Name, Domain-Name-Server, Hostname Option 119, MTU 11:34:50.622227 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 328) 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from AA:BB:CC:DD:EE:FF, length 300, xid 0x5bbc99e9, secs 11, Flags [none] Client-Ethernet-Address AA:BB:CC:DD:EE:FF Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Discover Client-ID Option 61, length 7: ether AA:BB:CC:DD:EE:FF Hostname Option 12, length 8: "myhostname" Parameter-Request Option 55, length 10: Subnet-Mask, BR, Time-Zone, Classless-Static-Route Default-Gateway, Domain-Name, Domain-Name-Server, Hostname Option 119, MTU 11:35:07.894299 IP (tos 0x0, ttl 255, id 49657, offset 0, flags [none], proto UDP (17), length 357) 10.20.224.1.67 > 255.255.255.255.68: BOOTP/DHCP, Reply, length 329, xid 0x3eda88ce, Flags [Broadcast] Your-IP XX.XX.62.64 Gateway-IP XX.XX.32.1 Client-Ethernet-Address 6c:f0:49:6c:d9:4f Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: ACK Subnet-Mask Option 1, length 4: 255.255.224.0 Domain-Name Option 15, length 17: "isp.domainname.com" Default-Gateway Option 3, length 4: XX.XX.32.1 Domain-Name-Server Option 6, length 8: XX.XX.XX.XX,XX.XX.XX.XX Lease-Time Option 51, length 4: 14400 RB Option 59, length 4: 12600 RN Option 58, length 4: 6636 Server-ID Option 54, length 4: XX.XX.XX.XX Hostname Option 12, length 12: "64-62-XX-XX" T254 Option 254, length 4: 169140225 11:35:22.891860 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 328) 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from AA:BB:CC:DD:EE:FF, length 300, xid 0x5bbc99e9, secs 43, Flags [none] Client-Ethernet-Address AA:BB:CC:DD:EE:FF Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Discover Client-ID Option 61, length 7: ether AA:BB:CC:DD:EE:FF Hostname Option 12, length 8: "myhostname" Parameter-Request Option 55, length 10: Subnet-Mask, BR, Time-Zone, Classless-Static-Route Default-Gateway, Domain-Name, Domain-Name-Server, Hostname Option 119, MTU
Did anything change at your end two days ago?
No, i was calmly watching IPTV when suddenly - poof - no more internet connection.
Failure to get a DHCP lease is almost always something server side like the modem tied to a MAC and the MAC changed.
Probably something changed at the ISP but good luck getting them to admit that!
Yeah that's what I believe too. I called the local ISP just after it happened and I couldn't get a new DHCP lease. The ISP told me that everything is alright on their side and do not see something unusual on the network.
What I forgot to mention in my first post: Out of curiosity I plugged in a Windows Laptop directly to the cable modem and I immediately got an IP address and could surf the internet at full speed. So I thought that it was maybe related to the MAC address (maybe my pfsense has been blocked or put in a quarantine or something), so I switched the WAN interface on pfsense to another port. However this did not help either.
-
Looks like the trace missed something.
After the many discovers (requests from client = pfSense to upstream DHCP server = ISP) I saw an "DHCPACK".
Or, normally, the server should first answer with an DHCPOFFER with an IP.
pfSense will send out an DHCPREQUEST for that IP
Then the server will send out the DHCPACK.The DHCPOFFER and DHCPREQUEST are missing.
If that sequence is really broken, then yes, I can imagine why you can't get an IP.
Try changing the WAN MAC a digit or so.
-
Hi Gertjan
Try changing the WAN MAC a digit or so.
I have done that by using a different network port for the WAN interface. It has another MAC address than the other one.
The DHCPOFFER and DHCPREQUEST are missing.
I think there are some offers and ack in the tcpdump log above, however if you look at the IP addresses offered and acknowledged, they do not match at all.
If that sequence is really broken, then yes, I can imagine why you can't get an IP.
So, more like an ISP issue?
-
Whenever you change the mac that is going to be connected to cable modem, you normally need to reboot the cable modem between so it gives up its old pairing.
You do understand its quite normal to see other dhcp traffic from your ISP on your wan to other clients. If you never see an offer then no your never going to be able to get an IP..
-
@ray123 said in Unable to get WAN DHCP lease by ISP:
Since two days, I am unable to get a new DHCP lease from my ISP on my WAN port (where a cable modem is attached to).
I had similar issue recently with cable modem and this was the solution...see image for setting timeout 900 or 15mins on WAN interface.
-
Hello everyone
Thank you very much for all of your comments.
I finally managed to get it back up running again:
Whenever you change the mac that is going to be connected to cable modem, you normally need to reboot the cable modem between so it gives up its old pairing.
That did half of the trick. Even though I rebooted the cable modem a few times, apparently I never rebooted it between interface changes. It looks like it is necessary to reboot the modem really after every single time the MAC address changes.
After getting a DHCP IP eventually, I still could not reach the internet for some reason. What was missing was that I needed to select System -> Routing -> Gateways and select WAN_DHCP from the dropdown list for "Default gateway IPv4" (It was set to "Automatic"). For some reason, automatic did not select the only gateway in this list...