[command]
vi /etc/network/interfaces
[modify]
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
auto eth1
iface eth1 inet static
address 192.168.56.100
netmask 255.255.255.0
gateway 192.168.56.1
---------------------------------------------------------------
[command]
/etc/init.d/networking restart
No comments:
Post a Comment