Quantcast
Channel: SRX Services Gateway topics
Viewing all articles
Browse latest Browse all 3959

SRX300 DHCP Client issue

$
0
0

Dear Experts,

 

I'm strugling with dhcp client setup on SRX300 (JunOS 15.1X49-D130.6).Any help will be appretiated. 

I've 2 ISP's, connected to ge-0/0/0 and ge-0/0/1 and I'm not able to obtain IP address from their networks with my brand new SRX. Everything works as expected with other devices if I place them as dhcp clients instead of SRX (Mikrotik and Huawei AR3) and If I plug ge-0/0/1 in my internal network switch, it will obtain IP address.

 

I've tryed various configurations, including https://www.juniper.net/documentation/en_US/junos/topics/example/security-device-dhcp-client-configuring.html . There are no suspicious messages in the log and I'm really puzzled what is wrong.

What is the minimal working dhcp client configuration for this version ?

 

My configuration is:

root@srx300> show configuration interfaces ge-0/0/1
description External2;
speed 100m;
link-mode full-duplex;
mac c4:6e:1f:xx:xx:xx;
gigether-options {
no-auto-negotiation;
}
unit 0 {
family inet {
dhcp-client {
lease-time 86400;
retransmission-attempt 6;
retransmission-interval 5;
update-server;
vendor-id ether;
force-discover;
options {

no-hostname;}}}}

 

This is show interface:

root@srx300> show interfaces ge-0/0/1
Physical interface: ge-0/0/1, Enabled, Physical link is Up
Interface index: 138, SNMP ifIndex: 512
Description: External2
Link-level type: Ethernet, MTU: 1514, LAN-PHY mode, Link-mode: Full-duplex, Speed: 100mbps, BPDU Error: None, MAC-REWRITE Error: None,
Loopback: Disabled, Source filtering: Disabled, Flow control: Disabled, Auto-negotiation: Disabled, Remote fault: Online
Device flags : Present Running
Interface flags: SNMP-Traps Internal: 0x0
Link flags : None
CoS queues : 8 supported, 8 maximum usable queues
Current address: c4:6e:1f:xx:xx:xx, Hardware address: d8:b1:22:xx:xx:xx
Last flapped : 2018-06-26 15:06:31 EEST (01:30:03 ago)
Input rate : 6536 bps (12 pps)
Output rate : 0 bps (0 pps)
Active alarms : None
Active defects : None
Interface transmit statistics: Disabled

Logical interface ge-0/0/1.0 (Index 75) (SNMP ifIndex 520)
Flags: Up SNMP-Traps 0x0 Encapsulation: ENET2
Input packets : 245351
Output packets: 39
Security: Zone: untrust
Allowed host-inbound traffic : dhcp
Protocol inet, MTU: 1500
Flags: Sendbcast-pkt-to-re

 

security-zone untrust {
ge-0/0/1.0 {
host-inbound-traffic {
system-services {
dhcp; }}}}

 

Kind regards,

D


Viewing all articles
Browse latest Browse all 3959

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>