A Blog about technology, linux, peer2peer, cool new downloads and software development.
Showing posts with label network. Show all posts
Showing posts with label network. Show all posts

Wednesday, December 16, 2009

how to configure fixed ip on ubuntu linux


sudo vim /etc/network/interfaces
[ CHANGE : ]
# The primary network interface
auto eth0
iface eth0 inet dhcp

[ TO : ]
# The primary network interface
auto eth0
#iface eth0 inet dhcp
iface eth0 inet static
address 192.168.0.8
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
dns-nameservers 8.8.8.8