This message was posted by a user wishing to remain anonymous
You might want to make sure you have "set system services dhcp-local-server requested-ip-interface-match
" in your SRX configuration. I have run in to that issue a few times where the SRX assigned an IP address from the wrong DHCP pool. The above command blocks the SRX from accepting a client requested IP that is outside the range for the interface the request comes in on.
As I understood it. When your computer has a DHCP IP from VLAN 3 and it moves to a VLAN 2 port, your computer is asking the SRX if it can use the IP it had before again, not understanding it's on a new VLAN. The SRX allows it as it's a valid request. The reqest-ip-interface-match command makes the SRX check the request against what the range is allowed on that VLAN or interface. So it would not allow the IP and assign it a new DHCP address that's appropriate for that VLAN.
Original Message:
Sent: 10-08-2023 22:35
From: Imran Asri
Subject: SRX 300
Hi Gavin,
Yes, the Juniper SRX is providing the DHCP.
I am using IRB interfaces instead and the issue already been solve because I change the DHCP global configuration.
I believe the 3 option is option-82, ip-address-first and external authority.
Once i enable these 3 option, the issue already fix. May i know why once i enable this option suddenly it works ?
Thank you.
------------------------------
Imran Asri
Original Message:
Sent: 10-06-2023 17:24
From: GAVIN WHITE
Subject: SRX 300
Hi Imran,
Assuming you have trunking configured for your uplink port. There are several ways you can configure the VLAN termination in the SRX (SRX is doing DHCP right?)
Are you using IRB interfaces or flexible-vlan-tagging in the uplink port to terminate the VLANs?
Make sure to have the interfaces defined under the DHCP group configuration and an access profile for each pool.
Regards,
Gavin White
------------------------------
GAVIN WHITE
Original Message:
Sent: 10-04-2023 06:38
From: Imran Asri
Subject: SRX 300
Hi guys,
I have setup the VLAN on my juniper SRX 300 and uplink to my switch. I am able to do an access mode to each of the port but once i want to change to a different VLAN my laptop/pc will be using the previous VLAN instead. For example my first laptop connect to VLAN 3 and the DHCP is 192.168.3.0/24 but once i change the cable to different port to test VLAN 2 the DHCP should be 192.168.2.0/24 but instead i got the IP from VLAN 3. I need to delete the DHCP pool from VLAN 3 first then i am able to enter different VLAN.
Can anyone assist me on this ? I suspect its the propagate settings on the DHCP pool but correct me if i am wrong. Thank you
P.S Yes I have done ipconfig/release /renew
------------------------------
Imran Asri
------------------------------