Skip Links

Network World

Brad Reese

How to configure a Cisco uBR900 cable modem for automatic configuration of the NAT pool

By Brad Reese on Sun, 06/22/08 - 9:38pm.
Newsletter Signup

Cisco How-To Tutorials

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.

2. Remove any bridge groups under the cable and LAN interfaces by issuing the no bridge-group command.

Note: These two commands disable the bridging functionality.


3. Route IP traffic by issuing the ip routing command in global configuration mode.

4. Configure an IP address under the LAN interface by issuing the ip address command.

5. Enable the DHCP proxy agent for NAT configuration by issuing the cable-modem dhcp-proxy pool-name command under the cable interface.

6. To permit the addresses of the CPE devices that need to be translated, define an Access Control List (ACL) by issuing the access-list command.

7. Bind the pool and the list of hosts to be translated by issuing the ip nat inside source pool-name overload command in global configuration mode.

8. Issue the ip nat command under the cable interface and the ip nat inside command under the LAN interface.

9. To reload the cable modem or reset the cable interface, issue the reload or shutdown and no shutdown commands.

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

Contact Brad Reese
http://www.BradReese.Com

Brad's Top 5 Story Picks
# 1. Meet world's first CCIE at Cisco Live! Orlando: Terry Slattery will be in booth #249 - Chesapeake Netcraftsmen
# 2. Closer look: sFlow better than NetFlow?
# 3. Cisco CBQoS delivers powerful QoS policy metrics
# 4. Aruba scoffs at new Cisco mobility markitecture
# 5. Superior RF design: Meru outperforms Cisco by 76%, Aruba by 59%
Story Archives Brad Reese on Cisco Story Archives

Cisco Jobs

Cisco Repair

Cisco Resumes

Cisco Power Supplies

  

Welcome, visitor. Register Log in
About Brad Reese on Cisco

Brad Reese cofounded BradReese.Com Cisco Refurbished, which enables affordable 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 Toll Free:

866-864-0506

International callers may wish to call Brad by dialing:

850-364-4115

Archives
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
Categories
A classic scam to defraud Cisco's SMARTnet program
America's Best profile written by Useem regarding Chambers' success
Avian Securities Senior Telecom Research Analyst - Catharine Trebnick
Breakingviews.com correspondent - Robert Cyran
CCIE
Careers
Charlie Giancarlo - Managing Director of Silver Lake Partners and Skype investor
Cisco
Cisco ASR 9000 architecture
Cisco ISR G2 Module Support
Cisco Integrated Services Router Generation 2 (ISR G2) Model Comparison
Cisco Integrated Services Routers Generation 2 Portfolio
Cisco Unified Communications Support for Microsoft Windows 7
Cisco is pushing their ASR 9000 at very competitive prices
Cisco is warning Unified Communications customers about NOT successfully offering support for Microsoft Windows 7
Cisco technical star Jonathan Rosenberg
Cisco will have no liability for any delay in delivery
Data Center
Douglas Smith - Cofounder and President of Network Instruments
Expand visibility of NetFlow-dependent NBAD and compliance applications
GigaStor captures and converts packets in NetFlow data flows
Index Venture partner Danny Rimer
Jonathan Rosenberg - a Cisco Fellow in Cisco's Voice Technology Group
Juniper MX960 lab test results
LANs / WANs
Mark Roberts - Polycom vice president of partner marketing
Michael Useem - Professor of Management
Microsoft
NetFlow
NetFlow add-ons
NetFlow overhead can overtax infrastructure
Network Behavior Anomaly Detection (NBAD)
Network Management
Non-NetFlow capable devices are blind to local traffic
Produce NetFlow about any device
SMB
Security
Selection committee member for America's Best Leaders
September 2009 vs. October 2009 Worldwide CCIE Count Comparison
Silver Lake Managing Director - Egon Durban
Skype's cofounders Niklas Zennstrom and Janus Friis
Software
The Charlie angle is to keep Dave Roux on track
The new Cisco ISR G2 portfolio is priced as follows
VoIP / Convergence
What are the benefits of GigaStor NetFlow Agent?
What’s new on the Cisco ISR G2 models vs. the old ISR models?
Windows 7
Windows 7 just not worth an all-out urgent effort by Cisco to support
Wireless / Mobile
eBay CEO - John Donahoe
sFlow
sFlow and NetFlow provides extended visibility
On The Web
Twitter