I have a x86 router at home,(v7.4.1) that is connected to the ISP via DHCP. All works well for a few days, until the Default route disappears from the route table.
I can see in the logs that the DHCP client is renewing the address every 15 minutes or so, and I do still have a valid IP (And can ping the default GW ip) just the gateway route is no longer in the routing table.
If I manually Release and Renew the DHCP client, the default route comes back and all is good again for a few days until the route disappears again.
Code: Select all
Log shows
Aug/21/2022 09:25:38 dhcp,debug,state dhcp-client on ether5 entering <renewing...> state
Aug/21/2022 09:25:38 dhcp,debug,packet dhcp-client on ether5 sending request with id 4271589951 to X.X.X.1
Aug/21/2022 09:25:38 dhcp,debug,packet ciaddr = X.X.X.158
Aug/21/2022 09:25:38 dhcp,debug,packet chaddr = 00:0D:48:XX:XX:0A
Aug/21/2022 09:25:38 dhcp,debug,packet Host-Name = "Home-F12"
Aug/21/2022 09:25:38 dhcp,debug,packet Msg-Type = request
Aug/21/2022 09:25:38 dhcp,debug,packet Parameter-List = Subnet-Mask,Classless-Route,Router,Static-Route,Domain-Server,NTP-Server,CAPWAP-Server,Vendor-Specific
Aug/21/2022 09:25:38 dhcp,debug,packet Client-Id = 01-00-0D-48-XX-XX-0A
Aug/21/2022 09:25:38 dhcp,debug,packet dhcp-client on ether5 received ack with id 4271589951 from X.X.X.1
Aug/21/2022 09:25:38 dhcp,debug,packet ciaddr = X.X.X.158
Aug/21/2022 09:25:38 dhcp,debug,packet yiaddr = X.X.X.158
Aug/21/2022 09:25:38 dhcp,debug,packet chaddr = 00:0D:48:XX:XX:0A
Aug/21/2022 09:25:38 dhcp,debug,packet Subnet-Mask = 255.255.255.0
Aug/21/2022 09:25:38 dhcp,debug,packet Router = X.X.X.1
Aug/21/2022 09:25:38 dhcp,debug,packet Domain-Server = 74.40.74.40,74.40.74.41
Aug/21/2022 09:25:38 dhcp,debug,packet Address-Time = 1800
Aug/21/2022 09:25:38 dhcp,debug,packet Msg-Type = ack
Aug/21/2022 09:25:38 dhcp,debug,packet Server-Id = X.X.X.1
Aug/21/2022 09:25:38 dhcp,debug,state dhcp-client on ether5 entering <bound> state
Route Filters used in BGP
Code: Select all
/routing filter community-list
add communities=65535:3166 disabled=no list=CountryCode
add communities=65535:666 disabled=no list=blackhole
/routing filter rule
add chain=reject-country-code disabled=no rule="if (bgp-communities equal 65535:3166) {reject}"
add chain=blackhole-in disabled=no rule="if ( bgp-communities includes 65535:666) {set blackhole yes; accept;}\r\
\nif ( bgp-communities includes blackhole) {set blackhole yes; accept;}\r\
\nif (bgp-communities includes 65535:3166) {reject}"
add chain=nothing-out disabled=no rule=reject
add chain=nothing-in disabled=no rule=reject
add chain=badactors-out disabled=no rule="if ( bgp-communities includes 65535:666) {accept;}\r\
\nif ( bgp-communities includes blackhole) {accept;}\r\
\nif ( blackhole) {accept;}\r\
\nif (dst == 0.0.0.0) {reject;}\r\