[CentOS-virt] Xen domU default gateway missing/ARP table full

Pasi Kärkkäinen pasik at iki.fi
Thu Nov 19 16:04:26 UTC 2009

On Thu, Nov 19, 2009 at 10:03:05AM -0500, Ken Bass wrote:
> Pasi Kärkkäinen wrote:
> >
> > I usually specify the default gateway in
> > /etc/sysconfig/network-scripts/ifcfg-eth0 and it works just fine.
> >
> >   
> Actually, I tried putting the GATEWAY in the specific ifcfg-eth0, as 
> well as the global /etc/sysconfig/network and it seems to be ignored.
> Of course things 'appear' to work just fine, but the route that is setup is
> default         *              U     0      0        0 eth0
> default         router.example.com         UG    0      0        0 eth0
> The former seems to cause all arp entries to be queried and cached. The latter works correctly. 
> Both 'appear to work'. Does the route on your domU look like the second entry?

Yes, the routing table is correct for my domUs.
I have never noticed/seen GATEWAY getting ignored..

Maybe your netmask is wrong, so the GATEWAY IP is unreachable?

-- Pasi

More information about the CentOS-virt mailing list