Code: Select all
h1755802:~ # ps axuwww | grep dhcp
root 13611 0.0 0.0 6376 504 ? Ss 13:44 0:00 /sbin/dhclient -cf /var/lib/dhcp/dhclient.eth0.conf -lf /var/lib/dhcp/dhclient.eth0.lease -pf /var/run/dhclient.eth0.pid -q -H h1755802 eth0
root 14143 0.0 0.0 6404 764 pts/2 R+ 13:47 0:00 grep dhcp
h1755802:~ # rpm -qif /sbin/dhclient
Name : dhcp-client Relocations: (not relocatable)
Version : 3.1.2p1 Vendor: openSUSE
Release : 4.5 Build Date: Tue Oct 20 15:33:10 2009
Install Date: Sat May 8 21:17:26 2010 Build Host: build12
Group : Productivity/Networking/Boot/Clients Source RPM: dhcp-3.1.2p1-4.5.src.rpm
Size : 478176 License: BSD 3-clause (or similar)
Signature : RSA/8, Tue Oct 20 15:33:54 2009, Key ID b88b2fd43dbdc284
Packager : http://bugs.opensuse.org
URL : http://www.isc.org/isc/dhcp.html
Summary : ISC DHCP Client
Description :
This is an alternative DHCP client, the ISC DHCP client for Linux. Like
"dhcpcd" (the client that is installed by default), it can be used to
configure the network setup. IP address, hostname, routing,
nameserver, netmask, and broadcast can be dynamically assigned while
booting the machine.
It is configurable via the configuration file /etc/dhclient.conf and
you can define your own 'hooks' to be used by the /sbin/dhclient-script
(which is called by the daemon).
Authors:
--------
Ted Lemon <mellon@fugue.com>
Distribution: openSUSE 11.2
h1755802:~ # tcpdump -r out -vvvvv -ttttt -n
reading from file out, link-type EN10MB (Ethernet)
00:00:00.000000 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 328)
0.0.0.0.68 > 255.255.255.255.67: [udp sum ok] BOOTP/DHCP, Request from 00:24:21:af:8b:65, length 300, xid 0x46e66614, secs 5, Flags [none] (0x0000)
Client-Ethernet-Address 00:24:21:af:8b:65
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Request
Lease-Time Option 51, length 4: 3600
Requested-IP Option 50, length 4: 85.214.51.51
Hostname Option 12, length 8: "h1755802"
Parameter-Request Option 55, length 17:
Subnet-Mask, BR, Default-Gateway, MTU
Hostname, Domain-Name, Domain-Name-Server, YD
YS, Option 87, Option 85, Option 86
Netbios-Name-Server, WDD, Netbios-Node, Netbios-Scope
NTP
END Option 255, length 0
PAD Option 0, length 0, occurs 15
00:00:00.002647 IP (tos 0x0, ttl 255, id 24322, offset 0, flags [none], proto UDP (17), length 338)
85.214.1.18.67 > 85.214.51.51.68: [udp sum ok] BOOTP/DHCP, Reply, length 310, hops 1, xid 0x46e66614, secs 5, Flags [none] (0x0000)
Your-IP 85.214.51.51
Server-IP 85.214.7.21
Gateway-IP 85.214.1.18
Client-Ethernet-Address 00:24:21:af:8b:65
file "pxelinux.0"
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: ACK
Server-ID Option 54, length 4: 81.169.163.98
Lease-Time Option 51, length 4: 43200
Subnet-Mask Option 1, length 4: 255.255.255.255
Default-Gateway Option 3, length 4: 85.214.48.1
Hostname Option 12, length 8: "h1755802"
Domain-Name Option 15, length 16: "stratoserver.net"
Domain-Name-Server Option 6, length 12: 81.169.163.106,85.214.7.22,81.169.148.34
END Option 255, length 0
00:00:00.002680 IP (tos 0x0, ttl 255, id 24323, offset 0, flags [none], proto UDP (17), length 338)
85.214.1.18.67 > 85.214.51.51.68: [udp sum ok] BOOTP/DHCP, Reply, length 310, hops 1, xid 0x46e66614, secs 5, Flags [none] (0x0000)
Your-IP 85.214.51.51
Server-IP 81.169.163.98
Gateway-IP 85.214.1.18
Client-Ethernet-Address 00:24:21:af:8b:65
file "pxelinux.0"
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: ACK
Server-ID Option 54, length 4: 85.214.7.21
Lease-Time Option 51, length 4: 43200
Subnet-Mask Option 1, length 4: 255.255.255.255
Default-Gateway Option 3, length 4: 85.214.48.1
Hostname Option 12, length 8: "h1755802"
Domain-Name Option 15, length 16: "stratoserver.net"
Domain-Name-Server Option 6, length 12: 85.214.7.22,81.169.163.106,81.169.148.34
END Option 255, length 0
00:00:00.021639 IP (tos 0x0, ttl 255, id 13033, offset 0, flags [none], proto UDP (17), length 338)
85.214.1.17.67 > 85.214.51.51.68: [udp sum ok] BOOTP/DHCP, Reply, length 310, hops 1, xid 0x46e66614, secs 5, Flags [none] (0x0000)
Your-IP 85.214.51.51
Server-IP 81.169.163.98
Gateway-IP 85.214.1.17
Client-Ethernet-Address 00:24:21:af:8b:65
file "pxelinux.0"
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: ACK
Server-ID Option 54, length 4: 85.214.7.21
Lease-Time Option 51, length 4: 43200
Subnet-Mask Option 1, length 4: 255.255.255.255
Default-Gateway Option 3, length 4: 85.214.48.1
Hostname Option 12, length 8: "h1755802"
Domain-Name Option 15, length 16: "stratoserver.net"
Domain-Name-Server Option 6, length 12: 85.214.7.22,81.169.163.106,81.169.148.34
END Option 255, length 0
00:00:00.021669 IP (tos 0x0, ttl 255, id 13034, offset 0, flags [none], proto UDP (17), length 338)
85.214.1.17.67 > 85.214.51.51.68: [udp sum ok] BOOTP/DHCP, Reply, length 310, hops 1, xid 0x46e66614, secs 5, Flags [none] (0x0000)
Your-IP 85.214.51.51
Server-IP 85.214.7.21
Gateway-IP 85.214.1.17
Client-Ethernet-Address 00:24:21:af:8b:65
file "pxelinux.0"
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: ACK
Server-ID Option 54, length 4: 81.169.163.98
Lease-Time Option 51, length 4: 43200
Subnet-Mask Option 1, length 4: 255.255.255.255
Default-Gateway Option 3, length 4: 85.214.48.1
Hostname Option 12, length 8: "h1755802"
Domain-Name Option 15, length 16: "stratoserver.net"
Domain-Name-Server Option 6, length 12: 81.169.163.106,85.214.7.22,81.169.148.34
END Option 255, length 0