I have a complicated network layout and I need some help getting it working. I have a local network that is connected to the internet via a NAT router. This public circuit only has a handfull of public IP's. On the local side of the network resides a CMTS, which is a layer 2 bridge, connecting cable modems and computers to the outside world.
Outside the network resides a DHCP/TOD/TFTP server that both the modems and the computers(CPE's) need to contact before service can be started.
The startup protocol involves the modem syncing with the CMTS, then getting an IP from the DHCP server which it uses to network boot from the tftp server. Once booted, the CPE can contact the DHCP server and obtain a (private) IP address and join the network. This is simple with the DHCP and TFTP servers on the local network, but not so easy on seperate networks.
The CMTS acts as a DHCP relay agent and can relay the DHCP requests separately for modem and cpe requests. Currently I have both relays set to forward DHCP requests to the DHCP server. Through packet tracing, I can see that the DHCP server is obtaining the request, but it is attempting to reply to the relay computer's private IP. Obviously this IP is not routable on the public side of the NAT router. The NAT router/gateway does have a DHCP relay function as well, and I configured the CMTS's relay to forward to the router, which then forwards to the DHCP server, but it still behaves the same.
Any ideas on how to set this up?
Outside the network resides a DHCP/TOD/TFTP server that both the modems and the computers(CPE's) need to contact before service can be started.
The startup protocol involves the modem syncing with the CMTS, then getting an IP from the DHCP server which it uses to network boot from the tftp server. Once booted, the CPE can contact the DHCP server and obtain a (private) IP address and join the network. This is simple with the DHCP and TFTP servers on the local network, but not so easy on seperate networks.
The CMTS acts as a DHCP relay agent and can relay the DHCP requests separately for modem and cpe requests. Currently I have both relays set to forward DHCP requests to the DHCP server. Through packet tracing, I can see that the DHCP server is obtaining the request, but it is attempting to reply to the relay computer's private IP. Obviously this IP is not routable on the public side of the NAT router. The NAT router/gateway does have a DHCP relay function as well, and I configured the CMTS's relay to forward to the router, which then forwards to the DHCP server, but it still behaves the same.
Any ideas on how to set this up?