Ken,<br>     I think Pasi's on to something there, I bet the GATEWAY command in ifcfg-eth0 is mistyped or has a syntax error.  In the interem, however, a better hack might be to move the route statement from rc.local, which only runs at boot, to /etc/sysconfig/network-scripts/route-eth0 .  That will enable the network service to restart or the eth0 interface to downup without removing the default route.  <br>
<br>-Chris<br><br><div class="gmail_quote">On Thu, Nov 19, 2009 at 8:04 AM, Pasi Kärkkäinen <span dir="ltr"><<a href="mailto:pasik@iki.fi">pasik@iki.fi</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Thu, Nov 19, 2009 at 10:03:05AM -0500, Ken Bass wrote:<br>
> Pasi Kärkkäinen wrote:<br>
> ><br>
> > I usually specify the default gateway in<br>
> > /etc/sysconfig/network-scripts/ifcfg-eth0 and it works just fine.<br>
> ><br>
> ><br>
> Actually, I tried putting the GATEWAY in the specific ifcfg-eth0, as<br>
> well as the global /etc/sysconfig/network and it seems to be ignored.<br>
> Of course things 'appear' to work just fine, but the route that is setup is<br>
><br>
> default         *               0.0.0.0         U     0      0        0 eth0<br>
><br>
> INSTEAD OF:<br>
><br>
> default         <a href="http://router.example.com" target="_blank">router.example.com</a> 0.0.0.0         UG    0      0        0 eth0<br>
><br>
> The former seems to cause all arp entries to be queried and cached. The latter works correctly.<br>
> Both 'appear to work'. Does the route on your domU look like the second entry?<br>
><br>
<br>
</div>Yes, the routing table is correct for my domUs.<br>
I have never noticed/seen GATEWAY getting ignored..<br>
<br>
Maybe your netmask is wrong, so the GATEWAY IP is unreachable?<br>
<font color="#888888"><br>
-- Pasi<br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
CentOS-virt mailing list<br>
<a href="mailto:CentOS-virt@centos.org">CentOS-virt@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos-virt" target="_blank">http://lists.centos.org/mailman/listinfo/centos-virt</a><br>
</div></div></blockquote></div><br>