sudo gedit /etc/network/interfaces
auto lo
iface lo inet loopback
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.2.10
netmask 255.255.255.0
network 192.168.2.0
broadcast 192.168.2.255
gateway 192.168.2.1
iface eth0 inet static
address 192.168.2.10
netmask 255.255.255.0
network 192.168.2.0
broadcast 192.168.2.255
gateway 192.168.2.1
sudo /etc/init.d/networking restart
No comments:
Post a Comment