root@kirill-pc:~# dhclient eth0 & tcpdump -p udp -i eth0 -n -vv port 67 and port 68
[1] 2128
There is already a pid file /var/run/dhclient.pid with pid 2048
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
tcpdump: WARNING: eth0: no IPv4 address assigned
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
Listening on LPF/eth0/e0:cb:4e:eb:18:ca
Sending on LPF/eth0/e0:cb:4e:eb:18:ca
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 18
17:21:24.198663 IP (tos 0x0, ttl 128, id 7783, offset 0, flags [none], proto UDP (17), length 328)
10.1.1.195.68 > 255.255.255.255.67: [udp sum ok] BOOTP/DHCP, Request from 00:16:e6:81:e0:b0, length 300, xid 0x6a17f2db, Flags [none] (0x0000)
Client-IP 10.1.1.195
Client-Ethernet-Address 00:16:e6:81:e0:b0
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Inform
Client-ID Option 61, length 7: ether 00:16:e6:81:e0:b0
Hostname Option 12, length 4: "MCDK"
Vendor-Class Option 60, length 8: "MSFT 5.0"
Parameter-Request Option 55, length 13:
Subnet-Mask, Domain-Name, Default-Gateway, Domain-Name-Server
Netbios-Name-Server, Netbios-Node, Netbios-Scope, Router-Discovery
Static-Route, Classless-Static-Route, Classless-Static-Route-Microsoft, Vendor-Option
Option 252
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 20
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
1 packets captured
1 packets received by filter
0 packets dropped by kernel
[1]+ Готово dhclient eth0