If you want to setup a Static IP Address in your system , Modify the file /etc/network/interfaces. If your First Ethernet Interface is eth0 ,see the following Example. Just add the following lines in the file with the help of an Editor and Restart the network or system.
auto eth0
iface eth0 inet static
address 192.168.0.100
netmask 255.255.255.0
gateway 192.168.0.1
To apply the new settings the machine should be either restarted or a simple restart of the network service shall be made
$ sudo /etc/int.d/networking restart
No comments:
Post a Comment