Page MenuHomeFreeBSD
Paste P599

no route after 'service routing restart'
ActivePublic

Authored by grahamperrin on Aug 5 2023, 10:27 PM.
Tags
None
Referenced Files
F65471565: no route after 'service routing restart'
Aug 5 2023, 10:27 PM
Subscribers
None
root@mowa219-gjp4-8570p-freebsd:~ # date ; route show default
Sat Aug 5 23:16:34 BST 2023
route to: default
destination: default
mask: default
gateway: 192.168.1.1
fib: 0
interface: em0
flags: <UP,GATEWAY,DONE,STATIC>
recvpipe sendpipe ssthresh rtt,msec mtu weight expire
0 0 0 0 1500 1 0
root@mowa219-gjp4-8570p-freebsd:~ # date ; service routing restart ; sleep 15 ; route show default
Sat Aug 5 23:17:02 BST 2023
delete host 127.0.0.1: gateway lo0 fib 0: gateway uses the same route
default 192.168.1.1 -fib 0 done
delete host ::1: gateway lo0 fib 0: gateway uses the same route
delete net fe80::: gateway ::1
delete net ff02::: gateway ::1
delete net ::ffff:0.0.0.0: gateway ::1
delete net ::0.0.0.0: gateway ::1
delete net default: gateway 2001:⋯:⋯:⋯::1
add host 127.0.0.1: gateway lo0 fib 0: route already in table
add host ::1: gateway lo0 fib 0: route already in table
add net fe80::: gateway ::1
add net ff02::: gateway ::1
add net ::ffff:0.0.0.0: gateway ::1
add net ::0.0.0.0: gateway ::1
add net default: gateway 2001:⋯:⋯:⋯::1
route: route has not been found: No error: 0
root@mowa219-gjp4-8570p-freebsd:~ # date ; route show default
Sat Aug 5 23:18:03 BST 2023
route: route has not been found: No error: 0
root@mowa219-gjp4-8570p-freebsd:~ # date ; route show default
Sat Aug 5 23:19:11 BST 2023
route: route has not been found: No error: 0
root@mowa219-gjp4-8570p-freebsd:~ # date ; ls /var/run/resolvconf/interfaces/ ; route delete default ; ifconfig wlan0 down && ifconfig em0 down && sleep 5 ; ls /var/run/resolvconf/interfaces/ ; ifconfig em0 up && sleep 15 ; ls /var/run/resolvconf/interfaces/ ; cat /etc/resolv.conf ; ping -c 2 -4 freshports.org
Sat Aug 5 23:19:21 BST 2023
em0
delete net default fib 0: not in table
em0
# Generated by resolvconf
search lan
nameserver 192.168.1.1
PING freshports.org (54.227.255.74): 56 data bytes
64 bytes from 54.227.255.74: icmp_seq=0 ttl=51 time=97.732 ms
64 bytes from 54.227.255.74: icmp_seq=1 ttl=51 time=97.514 ms
--- freshports.org ping statistics ---
2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 97.514/97.623/97.732/0.109 ms
root@mowa219-gjp4-8570p-freebsd:~ # uname -aKU
FreeBSD mowa219-gjp4-8570p-freebsd 14.0-CURRENT FreeBSD 14.0-CURRENT amd64 1400093 #1 main-n264312-789df254cc9e-dirty: Tue Jul 25 11:18:53 BST 2023 grahamperrin@mowa219-gjp4-8570p-freebsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG amd64 1400093 1400093
root@mowa219-gjp4-8570p-freebsd:~ #

Event Timeline

grahamperrin created this object in space S1 Global.
grahamperrin created this object with edit policy "No One".