레이블이 dhcp인 게시물을 표시합니다. 모든 게시물 표시
레이블이 dhcp인 게시물을 표시합니다. 모든 게시물 표시

2016년 1월 7일 목요일

tip: dhcp 갱신

Windows:
> ipconfig /renew

Linux:
$ sudo dhclient -r [eth0]
$ sudo dhclient [eth0]

참고
http://www.cyberciti.biz/faq/howto-linux-renew-dhcp-client-ip-address/

2015년 4월 27일 월요일

ubuntu, dhcp 를 고정 IP 로 변경

$ cat /etc/network/interfaces
auto lo
iface lo inet loopback

auto eth0
#iface eth0 inet dhcp
iface eth0 inet static
address 192.168.0.2
netmask 255.255.255.0
gateway 192.168.0.1
dns-nameservers 192.168.0.1

$ sudo /etc/init.d/networking restart