On Fri, May 15, 2015 at 10:58:12AM -0400, James B. Byrne
wrote:>
> On Thu, May 14, 2015 16:09, Fred Smith wrote:
> > Hi all!
> >
> > I'm running C6 (up to date) on x86-64. have been running on the
same
> > system for over a year.
> >
> > a couple of times lately access to the outside network has suddenly
> > stopped working for reasons that I didn't figure out until it
happened
> > again yesterday.
> >
> > I had the time to fool with it, yesterday, so after quite a bit of
> > head-banging I found that it had no default route set up (to make this
> > story less long...).
> >
>
> On CentOs-6 you can set the default route using
> GATEWAY=aaa.bbb.ccc.ddd either in /etc/sysconfig/network or
> /etc/sysconfig/network-scripts/ifcfg-X where X is the network
> interface that you wish to use for default routing, usually eth0.
> Setting the GATEWAY value in the ifcfg-X file puts it in a place that
> you are likely to see far more often than /etc/sysconfig/network so
> the ifcfg-X file is where I usually place it.
actually, GATEWAY is already set in both places. I looked there
while the problem was occurring and saw it in both places, and I
just looked again and yes, its still there. I am, however, allowing
NM to manage the network, and I don't know where it stores its settings.
--
---- Fred Smith -- fredex at fcshome.stoneham.ma.us
-----------------------------
"Not everyone who says to me, 'Lord, Lord,' will enter the
kingdom of
heaven, but only he who does the will of my Father who is in heaven."
------------------------------ Matthew 7:21 (niv) -----------------------------