Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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
0.0.0.0         router          255.255.255.255 UGH   1024   0        0 p2p1
default         router          0.0.0.0         UG    1024   0        0 p2p1
192.168.1.0     0.0.0.0         255.255.255.0   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 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 at 7:10
    
What is IP of router? –  Ask and Learn May 1 at 7:13
    
The IP is 192.168.1.1 –  Ambarish Sridharanarayanan May 2 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 at 13:21

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.