Release and Renew IP Address

Akshay Lamba akshay at lambaweb.com
Tue May 20 14:14:48 UTC 2008


Tab Gilbert wrote:
> I can do everything on Ubuntu via 192.168.1.1 <http://192.168.1.1> but 
> do not know what the equivalent Ubuntu commands are for generating a 
> new IP address.
Are you saying that you could put in the above IP as a static IP address 
and get internet connectivity? If not, the below might help, I'm 
assuming some stuff here but might just work:

sudo ifconfig eth0 192.168.1.10 mask 255.255.255.0 gw 192.168.1.1
sudo route add default 192.168.1.1

A





More information about the ubuntu-users mailing list