2013年9月30日 星期一

ubuntu-fixed-ip linux-ip linux ip

ubuntu - ip setting
ubuntu-tcp-ip
ubundu tcpip
inf : http://www.cyberciti.biz/tips/howto-ubuntu-linux-convert-dhcp-network-configuration-to-static-ip-configuration.html


vi /etc/network/interfaces

iface eth0 inet dhcp
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.254




$ sudo vi /etc/resolv.conf

search myisp.com
nameserver 192.168.1.254
nameserver 202.54.1.20
nameserver 202.54.1.30


$ host cyberciti.biz

沒有留言:

張貼留言