Jetzt der komplette DHCP Austausch, zuvor fehlten die Antworten.
ubnt@ubnt:~$ sudo tcpdump -i switch0 -n udp port 67 or port 68 -vv
tcpdump: listening on switch0, link-type EN10MB (Ethernet), capture size 262144 bytes
14:12:37.314687 IP (tos 0×0, ttl 64, id 0, offset 0, flags [none], proto UDP (17), length 354)
0.0.0.0.68 > 255.255.255.255.67: [udp sum ok] BOOTP/DHCP, Request from 18:9c:27:54:50:b9, length 326, xid 0×6e22f446, Flags [none] (0×0000)
Client-Ethernet-Address 18:9c:27:54:50:b9
Vendor-rfc1048 Extensions
Magic Cookie 0×63825363
DHCP-Message Option 53, length 1: Discover
Client-ID Option 61, length 7: ether 18:9c:27:54:50:b9
MSZ Option 57, length 2: 576
Parameter-Request Option 55, length 8:
Subnet-Mask, Default-Gateway, Domain-Name-Server, Hostname
Domain-Name, BR, NTP, Option 125
Vendor-Class Option 60, length 12: “udhcp 1.24.1”
Hostname Option 12, length 6: “EOSSTB”
T125 Option 125, length 35: 0.0.13.233.30.1.6.51.67.51.54.69.52.2.12.48.48.51.55.51.51.57.49.54.48.48.53.3.6.69.79.83.83.84.66
14:12:37.315436 IP (tos 0×10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 328)
192.168.1.1.67 > 192.168.1.22.68: [udp sum ok] BOOTP/DHCP, Reply, length 300, xid 0×6e22f446, Flags [none] (0×0000)
Your-IP 192.168.1.22
Client-Ethernet-Address 18:9c:27:54:50:b9
Vendor-rfc1048 Extensions
Magic Cookie 0×63825363
DHCP-Message Option 53, length 1: Offer
Server-ID Option 54, length 4: 192.168.1.1
Lease-Time Option 51, length 4: 86400
Subnet-Mask Option 1, length 4: 255.255.255.0
Default-Gateway Option 3, length 4: 192.168.1.1
Domain-Name-Server Option 6, length 4: 192.168.1.20
Domain-Name Option 15, length 5: “local”
14:12:37.328790 IP (tos 0×0, ttl 64, id 0, offset 0, flags [none], proto UDP (17), length 366)
0.0.0.0.68 > 255.255.255.255.67: [udp sum ok] BOOTP/DHCP, Request from 18:9c:27:54:50:b9, length 338, xid 0×6e22f446, Flags [none] (0×0000)
Client-Ethernet-Address 18:9c:27:54:50:b9
Vendor-rfc1048 Extensions
Magic Cookie 0×63825363
DHCP-Message Option 53, length 1: Request
Client-ID Option 61, length 7: ether 18:9c:27:54:50:b9
Requested-IP Option 50, length 4: 192.168.1.22
Server-ID Option 54, length 4: 192.168.1.1
MSZ Option 57, length 2: 576
Parameter-Request Option 55, length 8:
Subnet-Mask, Default-Gateway, Domain-Name-Server, Hostname
Domain-Name, BR, NTP, Option 125
Vendor-Class Option 60, length 12: “udhcp 1.24.1”
Hostname Option 12, length 6: “EOSSTB”
T125 Option 125, length 35: 0.0.13.233.30.1.6.51.67.51.54.69.52.2.12.48.48.51.55.51.51.57.49.54.48.48.53.3.6.69.79.83.83.84.66
14:12:37.329531 IP (tos 0×10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 328)
192.168.1.1.67 > 192.168.1.22.68: [udp sum ok] BOOTP/DHCP, Reply, length 300, xid 0×6e22f446, Flags [none] (0×0000)
Your-IP 192.168.1.22
Client-Ethernet-Address 18:9c:27:54:50:b9
Vendor-rfc1048 Extensions
Magic Cookie 0×63825363
DHCP-Message Option 53, length 1: ACK
Server-ID Option 54, length 4: 192.168.1.1
Lease-Time Option 51, length 4: 86400
Subnet-Mask Option 1, length 4: 255.255.255.0
Default-Gateway Option 3, length 4: 192.168.1.1
Domain-Name-Server Option 6, length 4: 192.168.1.20
Domain-Name Option 15, length 5: “local”