edit --> /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address [ip address]
netmask [subnet mask]
broadcast [x.x.x.255]
gateway [ip gateway]
then
edit --> /etc/resolv.conf
nameserver [dns ip]
nameserver [external dns ip]
done
/etc/init.d/networking restart <-- restart network
netmask [subnet mask]
broadcast [x.x.x.255]
gateway [ip gateway]
then
edit --> /etc/resolv.conf
nameserver [dns ip]
nameserver [external dns ip]
done
/etc/init.d/networking restart <-- restart network
0 comments:
Post a Comment