Page MenuHomeFreeBSD
Paste P602

no route after 'service dhclient restart em0'
ActivePublic

Authored by grahamperrin on Aug 6 2023, 4:20 PM.
Tags
None
Referenced Files
F65515349: no route after 'service dhclient restart em0'
Aug 6 2023, 4:20 PM
Subscribers
None
root@mowa219-gjp4-8570p-freebsd:~ # date ; route show default ; service routing restart ; sleep 15 ; route show default ; service dhclient restart em0 ; sleep 15 ; route show default
Sun Aug 6 17:16:40 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
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
Stopping dhclient.
Waiting for PIDS: 4204.
Starting dhclient.
dhclient already running, pid: 4204.
exiting.
/etc/rc.d/dhclient: WARNING: failed to start dhclient
route: route has not been found: No error: 0
root@mowa219-gjp4-8570p-freebsd:~ # ifconfig em0
em0: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
options=4e124bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,LRO,WOL_MAGIC,VLAN_HWFILTER,RXCSUM_IPV6,TXCSUM_IPV6,HWSTATS,MEXTPG>
ether d8:⋯:⋯:⋯:⋯:⋯
inet 192.168.1.10 netmask 0xffffff00 broadcast 192.168.1.255
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
root@mowa219-gjp4-8570p-freebsd:~ # route show default
route: route has not been found: No error: 0
root@mowa219-gjp4-8570p-freebsd:~ # 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
em0
delete net default fib 0: not in table
em0
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=98.147 ms
64 bytes from 54.227.255.74: icmp_seq=1 ttl=51 time=97.229 ms
--- freshports.org ping statistics ---
2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 97.229/97.688/98.147/0.459 ms
root@mowa219-gjp4-8570p-freebsd:~ #

Event Timeline

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