In order to assign the static IP we have to change the interface file i.e. 
/etc/network/interface
 gedit  /etc/network/interface  
auto eth0
 iface eth0 inet static
address 192.168.10.1
net mask 255.255.255.0
broadcast 192.168.10.255
gateway 192.168.1.1
save these changes and restart network services
/etc/init.d/networking restart
and your Static IP will be set up
 
 
No comments:
Post a Comment