Need help on the ip configuration

Derek D. Martin ddm at pizzashack.org
Tue Oct 2 01:38:28 EDT 2001


On Mon, Oct 01, 2001 at 11:35:19PM -0400, NAI wrote:
> Hi all,
> 
> I changed the ip address and found out it didn't work.
> first, I stop the network use the command: ifdown eth0,
> then modified the /etc/sysconfig/network and also network script on eth0.

Well you didn't say, but I can only guess that you changed the IP
address to a different network than the one you were on before, but
didn't change the gateway address.  If the gateway isn't on the same
subnet as the IP you're using, the route command that creates the
default route will fail (since your gateway must be on your local
network segment).  If that is the case, you'll need to find out what
your new gateway address is.

Another possibility is that you have the subnet mask set incorrectly.
But I don't believe that would prevent your default route from showing
up in the routing table; it just wouldn't work, IIRC.

Hope that helps.

-- 
---------------------------------------------------
Derek Martin          |   Unix/Linux geek
ddm at pizzashack.org    |   GnuPG Key ID: 0x81CFE75D
Retrieve my public key at http://pgp.mit.edu

-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).



More information about the Discuss mailing list