DHCPクライアントでIPアドレスを再取得する

# dhclient -r
Internet Software Consortium DHCP Client V3.0pl1
Copyright 1995-2001 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
Listening on LPF/lo/
Sending on LPF/lo/
Listening on LPF/eth0/00:50:56:40:03:29
Sending on LPF/eth0/00:50:56:40:03:29
Sending on Socket/fallback
DHCPRELEASE on eth0 to 192.168.0.1 port 67
 続いて、再度dhclientコマンドを実行する。
# dhclient
Internet Software Consortium DHCP Client V3.0pl1
Copyright 1995-2001 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
Listening on LPF/lo/
Sending on LPF/lo/
Listening on LPF/eth0/00:50:56:40:03:29
Sending on LPF/eth0/00:50:56:40:03:29
Sending on Socket/fallback
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 8
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.168.0.1
bound to 192.168.0.26 — renewal in 42269 seconds. ←IPアドレスを取得

http://www.atmarkit.co.jp/flinux/rensai/linuxtips/435regetipadd.html

コメントを残す