Custom Search

Tuesday, January 7, 2014

How to Setup Static IP Address Ubuntu 13.10 13.04

1)
Run #ifconfig command on your system and note the
value of following items of interface "eth0"
a)addr
b)Bcast
c)Mask

2)
a)addr ==Means==> address
b)Bcast ==Means==> gateway
c)Mask ==Means==> netmask

3)
Open /etc/network/interfaces and add following items
#sudo vim /etc/network/interfaces
auto eth0
iface eth0 inet static
#Enter your Static IP Here.
address 10.0.2.16
netmask 255.255.255.0
#Enter Gateway IP here, Usually the address of the router.
gateway 10.0.2.255

4)
Restart network
#sudo service network-manager restart

No comments:

Post a Comment