Network Address Translation (NAT) replaces IP addresses within a packet with different IP addresses.
NAT is useful for conserving IP addresses and connecting a private network using unregistered addresses to a public network like the Internet.
Cable modems (like the Cisco uBR900 series devices) are used to provide Internet access to users through a cable network by connecting to a Cable Modem Termination System (CMTS) device.
The cable modems also connect to the Customer Premises Equipment (CPE), such as the PC over the LAN interface.
The Cisco uBR900 series cable modem can operate in either bridging or routing mode.
NAT is used on the cable modem when the CPE devices that use an unregistered address need to connect to the Internet.
This is done by using the valid address provided by the service provider.
Use Port Address Translation (PAT) to bind the single valid address to the various unregistered addresses, which are used by the CPE devices.
When configuring PAT, a NAT pool has to be defined with the valid addresses made available by the provider.
To automatically get the address from the provider and use it in the NAT pool, the NAT pool can be configured manually or the cable modems can be configured as a DHCP proxy agent.
The addresses are provided by a DHCP server.
This server can run either on the CMTS or on another device that can be accessed by the CMTS.
To configure NAT, perform these steps:
| 1. | Before configuring NAT, enable routing on the cable modem by issuing the no cable-modem compliant bridge command under the cable interface. |
Note: These two commands disable the bridging functionality.
This step is necessary for the cable modem to fetch the IP address through DHCP and use it in the pool.
A loopback interface is created and the IP address assigned through DHCP is automatically used on this interface.
The configuration also shows the same address, which is defined as part of the pool associated with the configured DHCP proxy command.
For more information refer to:
cable-modem dhcp-proxy nat on Cisco Cable Modems
View more Cisco How-To Tutorials
Brad Reese cofounded BradReese.Com Cisco Refurbished, which enables affordable Cisco networks globally by assuring customer satisfaction with guaranteed one year warranties on both Cisco Repair as well as Refurbished Cisco.
Don't be shy, contact Brad Reese online or call him at 646-827-1130.