Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jul 2016 15:15:33 +0000
From:      Manish Jain <bourne.identity@hotmail.com>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: freebsd-questions Digest, Vol 634, Issue 2
Message-ID:  <VI1PR02MB0974626D88886B26D2D8FE6DF60E0@VI1PR02MB0974.eurprd02.prod.outlook.com>
In-Reply-To: <1469541023.1207.1@smtp-mail.outlook.com>
References:  <mailman.116.1469534402.35908.freebsd-questions@freebsd.org> <1469538640.1207.0@smtp-mail.outlook.com> <1469541023.1207.1@smtp-mail.outlook.com>

index | next in thread | previous in thread | raw e-mail

On Tue, Jul 26, 2016 at 7:20 PM, Manish Jain <bourne.identity@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@hotmail.com


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?VI1PR02MB0974626D88886B26D2D8FE6DF60E0>