Hello,
@klui wrote:
I'm using jdhcp so show system services dhcp binding/client/global/statistics all result with a dhcp subsystem not running - not needed by configuration.
You don't need to run jdhcpd to have SRX act as a client.
@klui wrote:
If I set ge-0/0/13 unit 0 family inet dhcp I get an incompatibility with family inet dhcp-client at ge-0/0/0.
As I said, You don't need JDHCPD for client side.
I labbed up Your setup with JUNOS 15.1X49-D160 and it works just fine for me. Proof below.
Minimal working configuration :
set security zones security-zone PV host-inbound-traffic system-services dhcp
set security zones security-zone PV interfaces ge-0/0/13.0
set routing-instances PV instance-type virtual-router
set routing-instances PV interface ge-0/0/13.0
set interfaces ge-0/0/13 unit 0 family inet dhcp-client
Outputs:
regress@FW1# run show interfaces ge-0/0/13
Physical interface: ge-0/0/13, Enabled, Physical link is Up
Interface index: 138, SNMP ifIndex: 512
Link-level type: Ethernet, MTU: 1514, LAN-PHY mode, Link-mode: Full-duplex, Speed: 1000mbps, BPDU Error: None,
MAC-REWRITE Error: None, Loopback: Disabled, Source filtering: Disabled, Flow control: Enabled, Auto-negotiation: Enabled,
Remote fault: Online
Device flags : Present Running
Interface flags: SNMP-Traps Internal: 0x4000
Link flags : None
CoS queues : 8 supported, 8 maximum usable queues
Current address: 56:68:a5:d1:16:e8, Hardware address: 56:68:a5:d1:16:e8
Last flapped : 2019-08-10 21:01:27 PDT (00:30:07 ago)
Input rate : 0 bps (0 pps)
Output rate : 0 bps (0 pps)
Active alarms : None
Active defects : None
Interface transmit statistics: Disabled
Logical interface ge-0/0/13.0 (Index 78) (SNMP ifIndex 524)
Flags: Up SNMP-Traps 0x4004000 Encapsulation: ENET2
Input packets : 6
Output packets: 16
Security: Zone: PV
Allowed host-inbound traffic : dhcp
Protocol inet, MTU: 1500
Flags: Sendbcast-pkt-to-re, Is-Primary
Addresses, Flags: Is-Default Is-Preferred Is-Primary
Destination: 198.51.100/24, Local: 198.51.100.3, Broadcast: 198.51.100.255
[edit]
regress@FW1# run show route table PV
PV.inet.0: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
0.0.0.0/0 *[Access-internal/12] 00:06:23
> to 198.51.100.1 via ge-0/0/13.0
198.51.100.0/24 *[Direct/0] 00:06:25
> via ge-0/0/13.0
198.51.100.3/32 *[Local/0] 00:06:25
Local via ge-0/0/13.0
HTH
Thx
Alex