10-10-2011 09:54 AM
I searched almost all the problems in this board, but didn't find a similar one.
I know how to config a dhcp server in srx, but my question is I need to hand out these addresses through a relay-agent to the end user, as SRX need the interface that receiving dhcp-request has the same IP address with the dhcp pool, however this is not workable for my situation.
it's more like I need to configure the receiving interface's ip address in a subnet, and configure the dhcp pool in another subnet as the relay-agent's receiving interface.
| |
|pool 10.1.1/24|
| |
---------------------
SRX---------------------------------------------sw
fe0/0 192.168.1.1/30 fe0/0192.168.1.2
Anyone has faced this problem? Is it possible to work it out through SRX?
10-16-2011 01:08 PM
10-20-2011 01:52 AM
Hi,
I tried the solution you gave, it didn't work.
the actual topology is more complecated, i just simply it here.
I tried to configure a loopback interface in SRX, and configure a EX4200 to be the dhcp relay, I can't obtain the address from connecting to EX4200 while I can obtain the IP address from connecting to SRX directly. I showed the helper statistics in EX4200, i can see all the packets it received had been forwarded.
I'm not sure if it's because I configured the loopback interface in SRX and the customer facing interface the same IP address, both of them are 10.1.1.1./24 which is the gateway for the customer.
Anyway, if you have successfully done this before, can you post a sample configuration for me? Thank you!