Alvaro Mera del Castillo escribió el 2009-05-18:

> Eso. Junta dhcp con arp.

r...@laptop:~# dhclient3 eth0
There is already a pid file /var/run/dhclient.pid with pid 2147
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:d0:59:6a:d3:08
Sending on   LPF/eth0/00:d0:59:6a:d3:08
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPOFFER from 192.168.8.1
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.168.8.1
bound to 192.168.8.4 -- renewal in 1454 seconds.
r...@laptop:~# ifconfig eth0 down
r...@laptop:~# ifconfig eth0 hw ether 00:01:02:2E:5A:E3
r...@laptop:~# dhclient3 eth0
There is already a pid file /var/run/dhclient.pid with pid 2777
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:01:02:2e:5a:e3
Sending on   LPF/eth0/00:01:02:2e:5a:e3
Sending on   Socket/fallback
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPNAK from 192.168.8.1
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPOFFER from 192.168.8.1
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.168.8.1
bound to 192.168.8.5 -- renewal in 1301 seconds.
r...@laptop:~# 
-- 
bli

Responder a