Interface configuration:
root@srx300> show configuration interfaces ge-0/0/1
description External2;
speed 100m;
link-mode full-duplex;
mac c4:6e:1f:57:ba:4a;
gigether-options {
no-auto-negotiation;
}
unit 0 {
family inet {
dhcp-client;
}
}
This is the result:
(request with Hostname Option 12, length 6: "srx300").
As you wrote, DHCP server is not replying to the requests, in the same time it is sending valid ACK's to the other clients (90:f6:52:c0:63:5d) ...
15:21:41.472260 Out
Juniper PCAP Flags [Ext], PCAP Extension(s) total length 16
Device Media Type Extension TLV #3, length 1, value: Ethernet (1)
Logical Interface Encapsulation Extension TLV #6, length 1, value: Ethernet (14)
Device Interface Index Extension TLV #1, length 2, value: 35328
Logical Interface Index Extension TLV #4, length 4, value: 75
-----original packet-----
c4:6e:1f:57:ba:4a > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 301: (tos 0x0, ttl 64, id 30479, offset 0, flags [none], proto: UDP (17), length: 287) 0.0.0.0.68 > 255.255.255.255.67: [udp sum ok] BOOTP/DHCP, Request from c4:6e:1f:57:ba:4a, length 259, xid 0x67cb140, Flags [Broadcast] (0x8000)
Client-Ethernet-Address c4:6e:1f:57:ba:4a
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Discover
Lease-Time Option 51, length 4: 86400
Hostname Option 12, length 6: "srx300"
15:21:42.636540 In
Juniper PCAP Flags [Ext, no-L2, In], PCAP Extension(s) total length 16
Device Media Type Extension TLV #3, length 1, value: Ethernet (1)
Logical Interface Encapsulation Extension TLV #6, length 1, value: Ethernet (14)
Device Interface Index Extension TLV #1, length 2, value: 35328
Logical Interface Index Extension TLV #4, length 4, value: 75
-----original packet-----
PFE proto 2 (ipv4): (tos 0x0, ttl 16, id 0, offset 0, flags [none], proto: UDP (17), length: 328) 85.11.142.1.67 > 255.255.255.255.68: [udp sum ok] BOOTP/DHCP, Reply, length 300, xid 0x599b5271, Flags [Broadcast] (0x8000)
Client-IP 85.11.142.99
Your-IP 85.11.142.99
Server-IP 85.11.142.1
Client-Ethernet-Address 90:f6:52:c0:63:5d
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: ACK
Server-ID Option 54, length 4: 85.11.142.1
Lease-Time Option 51, length 4: 600
Subnet-Mask Option 1, length 4: 255.255.255.0
Default-Gateway Option 3, length 4: 85.11.142.1
Domain-Name-Server Option 6, length 4: 8.8.8.8
15:21:46.548897 In
Juniper PCAP Flags [Ext, no-L2, In], PCAP Extension(s) total length 16
Device Media Type Extension TLV #3, length 1, value: Ethernet (1)
Logical Interface Encapsulation Extension TLV #6, length 1, value: Ethernet (14)
Device Interface Index Extension TLV #1, length 2, value: 35328
Logical Interface Index Extension TLV #4, length 4, value: 75
-----original packet-----
PFE proto 2 (ipv4): (tos 0x0, ttl 16, id 0, offset 0, flags [none], proto: UDP (17), length: 328) 85.11.142.1.67 > 255.255.255.255.68: [udp sum ok] BOOTP/DHCP, Reply, length 300, xid 0x12cb543, Flags [Broadcast] (0x8000)
Client-IP 85.11.142.138
Your-IP 85.11.142.138
Server-IP 85.11.142.1
Client-Ethernet-Address b0:48:7a:b5:15:59
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: ACK
Server-ID Option 54, length 4: 85.11.142.1
Lease-Time Option 51, length 4: 600
Subnet-Mask Option 1, length 4: 255.255.255.0
Default-Gateway Option 3, length 4: 85.11.142.1
Domain-Name-Server Option 6, length 4: 8.8.8.8