//etc/network/interfaces
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
#iface eth0 inet dhcp
#iface eth0 inet manual
iface eth0 inet static
address 192.168.0.41
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.254
//etc/resolv.conf
nameserver 168.95.1.1
nameserver 168.95.192.1
ifconfig
route
ifup/down
沒有留言:
張貼留言