Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I run Fedora 20 (3.13.10-200.fc20.i686) inside VirtualBox on a Windows 7 SP1 host. The Ethernet adapter on the guest is configured as a Bridged Adapter in VBox, and gets an IP via DHCP. Here's the routing table on the guest:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface         router UGH   1024   0        0 p2p1
default         router         UG    1024   0        0 p2p1   U     0      0        0 p2p1

Every so often (every day, perhaps), the 1st entry in the routing table disappears; as a result, I can make outbound connections to the intranet, but not to the Internet.

How do I find out who's modifying the routing table? Are there logs I could look at?

[P.S. I asked this on superuser, but got no response, so trying here.]

share|improve this question
What is router does it do NAT ? I can't think any reason you can't access Internet. – Ask and Learn May 1 '14 at 6:23
Yes, router does NAT. I don't know Linux routing well enough to give a more educated answer, but when the 1st entry disappears, I can't ping any IP on the Internet; when I add it back (manually), I can reach the Internet. I'm trying to find out who's messing with the routing table. – Ambarish Sridharanarayanan May 1 '14 at 7:10
What is IP of router? – Ask and Learn May 1 '14 at 7:13
The IP is – Ambarish Sridharanarayanan May 2 '14 at 6:11
Please use ip route to check the IPv4 routing table instead of route. The record looks simply wrong, why should you have a record like that at all? – Pavel Šimerda May 8 '14 at 13:21

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.