Static IP

Emil Oppeln-Bronikowski opi at cyb3r.org
Tue Mar 15 12:08:38 UTC 2005


On wto, 2005-03-15 at 06:57 -0500, David M. Carney wrote:

> I've never setup a static IP with Linux before. How do I do it?

 sudo =s
 <password>
 nano /etc/network/interface
  change
   iface eth0 inet dhcp 
  to
   iface eth0 inet static
    address xx.xx.xx.xx
    netmask xx.xx.xx.xx
    gateway xx.xx.xx.xx
  save
   then
    /etc/init.d/networking restart
  or
  man interfaces

-- 
 Emil Oppeln-Bronikowski, http://bronikowski.com
 Monkey see, monkey do. Rather be dead than cool.





More information about the ubuntu-users mailing list