freebsd-questions Digest, Vol 634, Issue 2

Manish Jain bourne.identity at hotmail.com
Tue Jul 26 15:16:50 UTC 2016


On Tue, Jul 26, 2016 at 7:20 PM, Manish Jain <bourne.identity at hotmail.com> wrote:
I just happened to have a network loss. 'mtr www.freebsd.org' comes up with an empty window (unlike previously when the mtr window listed many hosts on the route)

Running 'netstat -i' twice at an interval of about 1 minute produced the following :

/usr/home/bourne # date && echo && netstat -i
Tue 26 Jul 2016 19:08:12 IST

Name    Mtu Network       Address              Ipkts Ierrs Idrop    Opkts Oerrs  Coll
re0    1500 <Link#1>      50:46:5d:66:fd:10    13894     0     0    11581     0     0
re0       - 192.168.1.0   192.168.1.3          13639     -     -    11568     -     -
re0       - fe80::5246:5d fe80::5246:5dff:f        0     -     -        5     -     -
lo0   16384 <Link#2>                             698     0     0      698     0     0
lo0       - localhost     ::1                    348     -     -      348     -     -
lo0       - fe80::1%lo0   fe80::1%lo0              0     -     -        0     -     -
lo0       - your-net      localhost              350     -     -      350     -     -

/usr/home/bourne # date && echo && netstat -i
Tue 26 Jul 2016 19:09:22 IST

Name    Mtu Network       Address              Ipkts Ierrs Idrop    Opkts Oerrs  Coll
re0    1500 <Link#1>      50:46:5d:66:fd:10    13983     0     0    11655     0     0
re0       - 192.168.1.0   192.168.1.3          13726     -     -    11642     -     -
re0       - fe80::5246:5d fe80::5246:5dff:f        0     -     -        5     -     -
lo0   16384 <Link#2>                             866     0     0      866     0     0
lo0       - localhost     ::1                    432     -     -      432     -     -
lo0       - fe80::1%lo0   fe80::1%lo0              0     -     -        0     -     -
lo0       - your-net      localhost              434     -     -      434     -     -

Then I ran (as root):
service netif restart
service routing restart

At this point, I get my network back  : - )

I was a bit hasty in sending the previous update. There was another outage a few moments back, and restarting netif/routing did not help. Rebooting the system did.

'service routing restart' produces the following output :

/root <<: service routing restart
route: writing to routing socket: No such process
delete net default: gateway 192.168.1.1 fib 0: not in table
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
add net default: gateway 192.168.1.1
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

Is this okay, or is there some problem you can spot ?

Thanks for any further help
Manish Jain
bourne.identity at hotmail.com



More information about the freebsd-questions mailing list