Recent Changes - Search:

Softwares

.

How-to-setup-Static-IP-address-in-Ubuntu

Main.How-to-setup-Static-IP-address-in-Ubuntu History

Hide minor edits - Show changes to markup

August 25, 2012, at 06:38 AM by 101.63.202.62 -
Changed line 8 from:

Example /etc/network/interfaces file below

to:

Example /etc/network/interfaces file below

August 25, 2012, at 06:37 AM by 101.63.202.62 -
Changed line 8 from:

Example monospace /etc/network/interfaces file below

to:

Example /etc/network/interfaces file below

August 25, 2012, at 06:36 AM by 101.63.202.62 -
Changed line 8 from:

Examplemonospace/etc/network/interfaces file below

to:

Example monospace /etc/network/interfaces file below

August 25, 2012, at 06:36 AM by 101.63.202.62 -
Changed line 8 from:

Example /etc/network/interfaces file below

to:

Examplemonospace/etc/network/interfaces file below

August 25, 2012, at 06:36 AM by 101.63.202.62 -
Changed line 8 from:

Example<tab><tab> /etc/network/interfaces file below

to:

Example /etc/network/interfaces file below

August 25, 2012, at 06:32 AM by 101.63.202.62 -
Changed line 8 from:

Example /etc/network/interfaces file below

to:

Example<tab><tab> /etc/network/interfaces file below

August 25, 2012, at 06:29 AM by 101.63.202.62 -
Changed line 8 from:

Example@@ /etc/network/interfaces file below

to:

Example /etc/network/interfaces file below

August 25, 2012, at 06:29 AM by 101.63.202.62 -
Changed line 8 from:

Example /etc/network/interfaces file below

to:

Example@@ /etc/network/interfaces file below

August 25, 2012, at 06:29 AM by 101.63.202.62 -
Changed line 8 from:

Example /etc/network/interfaces file below

to:

Example /etc/network/interfaces file below

August 25, 2012, at 06:26 AM by 101.63.202.62 -
Added lines 1-43:

(:Google1:) (:Googletxt:)


How to setup Static IP address in Ubuntu

Edit - /etc/network/interfaces

Example /etc/network/interfaces file below

(:table border=1 width=50% bgcolor=yellow cellspacing=0 :) (:cellnr:)

 
shine@shine:~$ cat /etc/network/interfaces 

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

#The Primary network interface
auto eth0
iface eth0 inet static
    address 192.168.1.2
    netmask 255.255.255.0
    network 192.168.1.0
    gateway 192.168.1.1

(:tableend:)

Restart the network

(:table border=1 width=50% bgcolor=yellow cellspacing=0 :) (:cellnr:)

 
/etc/init.d/networking restart

(:tableend:)


(:Googlemm:)

Edit - History - Print - Recent Changes - Search
Page last modified on August 25, 2012, at 06:38 AM