[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: forcing a specific IP

YigalB wrote:

I followed the instructions and restarted the computer (was it a must?


thought Linux doesn't require that).
With ifconfig I saw that the new IP was given - but no internet
connection was established.
What else could I miss?


-----Original Message-----

Did you set your gateway in your Linux box?? and what about your DNS??

[<Yigal>] The only thing I did was to set the IP.

you will also need to add the DNS servers to /etc/resolv.conf.

example: (this is for me and should not be copied)
search cox.net

# ppp temp entry


The search line is not really needed.

You also need to set the default route to your router address:
If you have a linksys the address is usually
You can tell if this is set with the following:

[mgnoble zaphod mgnoble]$ netstat -nr
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface U 0 0 0 eth0 U 0 0 0 eth0 UG 0 0 0 eth0

The line starting with is the default route.

Usenix member  http://www.usenix.org
Sage member    http://www.sage.org
Registered Linux User #362275	http://counter.li.org

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]