Paradyne Routers manual Basic NAT Configuration Example

Page 33

DSL Router Configuration Examples

Basic NAT Configuration Example

Customer Premises (CP)

Core

Router

155.1.3.1Console Port

 

 

Connection

DSL

 

Ethernet

WAN

 

eth1

dsl1

DSL

155.1.3.2

10.1.3.1

Router

Hub

End-user

Systems

10.1.3.2

10.1.3.3

10.1.3.4

10.1.3.5

 

00-16767

 

 

NAT Mapping Public IP Addresses

Private IP Addresses

 

 

192.128.1.1

10.1.3.2

 

 

192.128.1.2

10.1.3.3

 

 

192.128.1.3

10.1.3.4

 

 

192.128.1.4

10.1.3.5

 

 

In this Basic NAT example:

HNAT is used for one-to-one mapping of addresses.

HThere are four private IP addresses configured on the Ethernet side of the DSL router with NAT static mappings to four public IP addresses.

HThe Ethernet interface (eth1) is in the private address space and the DSL interface is in public address space.

HThe next hop router (default gateway) for the clients is the Ethernet IP address of the DSL router, 10.1.3.1.

The command line syntax for this example is:

ifn address eth1:1 10.1.3.1 255.255.255.248 ifn address dsl1 155.1.3.2 255.255.255.0 ip route create upstream eth1 155.1.3.1

nat basic address 192.128.1.0

nat basic map 192.128.1.1 10.1.3.2 10.1.3.5 nat basic enable

6371-A2-GB20-10

August 2000

4-3

Image 33
Contents HOTWIRE DSL Routers Copyright E 2000 Paradyne Corporation All rights reserved Contents Configuring the DSL Router Monitoring the DSL Router Index Document Purpose and Intended Audience About This GuideSection Description Document SummaryDocument Number Document Title Product-Related DocumentsSyntax Translation Document ConventionsIntroduction to Hotwire DSL Routers What is a Hotwire DSL Router?DSL Technologies Supported Network Access Provider NAP Typical DSL Router SystemOptional IP routing with Hotwire DSL Router FeaturesService Subscriber Accessing the DSL Router Access Control to the DSL RouterLevels of Access Local Console Access Changing Access Session LevelsAdmin enable Show consoleSetting Up the New Users Login CUSTOMER#. Type configure terminal and press EnterInvalid Characters Value Ascii Hex Translation Determining the Current Access Level Telnet AccessDetermining the Available Commands Local console disabled by conflictUsing the List Command Exiting from the SystemChanging the System Identity If you are accessing the DSL router Then Manually Logging OutAutomatically Logging Out Configuring the DSL Router Overview of DSL Router ConfigurationInterfaces for the DSL Router Ethernet and DSL Interface Identifiers Service Domain IP Address AssignmentsNumbered DSL Interface Unnumbered DSL InterfaceSimplified Network Topology Network Considerations IP RoutingProxy ARP Address Resolution Protocol ARPNetwork Address Translation NAT Basic NATNetwork Address Port Translation Napt Dynamic Host Configuration Protocol Dhcp Server IP Options ProcessingApplications Supported by NAT Dhcp Relay Agent Security IP FilteringLand Bug/Smurf Attack Prevention Routed vs. Bridged PDUs Routed Network Model Standard modeConfiguration Examples DSL Router Configuration ExamplesCustomer Premises CP Basic Configuration ExampleNAT Mapping Public IP Addresses Private IP Addresses Basic NAT Configuration ExampleNapt Mapping Public IP Addresses Private IP Addresses Napt Configuration ExampleCore Router 155.1.3.253 Console Port Connection Dhcp Relay with Proxy ARP Configuration Example Public IP Addresses for Basic NAT Private IP Addresses Dhcp Server with Basic NAT Configuration ExampleDownstream Router Configuration Example Detecting Problems Monitoring the DSL RouterWhat to Monitor Show interface Status of InterfacesShow interface eth1 dsl1 ± Ethernet Link up downInterface Statistics Show statisticsShow statistics eth1 dsl1 ip List of Discard Reasons Clearing StatisticsClear statistics eth1 dsl1 ip Discard Reasons for the Ethernet Interface eth1 1Discard Reasons for the DSL Interface dsl1 1 Discard Reasons for the Ethernet Interface eth1 2Discard Reasons for IP Discard Reasons for the DSL Interface dsl1 2Diagnostics and Troubleshooting Overview Diagnostics and TroubleshootingAlarms Inquiry Show alarmsSystem Log Syslog enable disableShow syslog Syslog ip ip-addrSyslog level level Syslog EventsShow log number Syslog Messages 1 Level Description EventSyslog Message Display Syslog Messages 2 Level Description EventReporting Ping Test Results PingPing reply x.x.x.x bytes of data=nn Ping reply x.x.x.x Request Timed OUTTraceRoute TraceRoute Test ResultsX.x Command Line Interface Feature Command Line InterfaceCommand Recall NavigationDocument Conventions Configuration Control Commands Command Line Interface CommandsRFC 1483 Encapsulation Ethernet Frame FormatInterface and Service Domain IP Address IP Routing Table Delete eth1ifn dsl1ifnIp route create dest-ipdest-mask next-hop-ip remote Ip route purge Proxy ARP ARP TableNat napt enable Nat basic enableNat timeout time Nat basic address ip-addrip-maskNat napt delete udp tcp port Nat basic delete private-ipDhcp server enable disable Nat disableDhcp Server Nat purgeDhcp Relay Agent IP processing enable disable IP multicast enable disableTrap disable enable name of trap IP Packet ProcessingShow Command Outputs Show configNAT disabled or NAT enabled basic NAT Napt NAT timeout xx minutes NAT basic mappings Show arp timeoutShow ip route ip-address Show arpShow NAT napt Show trapsShow dhcp server Show Dhcp relay Show alarms Show syslog Show log #Show interface Show statistics Sample show dhcp relay displayConfiguration Default Settings Configuration Defaults Command Line ShortcutsAbc123 ParadyneBytes CustomerTable B-2. Command Line Input Shortcuts 1 Command Line Input ShortcutsTable B-2. Command Line Input Shortcuts 2 Show interface dsl1 eth1 Table B-2. Command Line Input Shortcuts 3Configuration Defaults & Command Line Shortcuts Traps & MIBs Snmp OverviewTraps Overview Variable Binding DSL Router TrapsStandard MIBs MIBs OverviewMIB II RFC System GroupSystem Ssssssssssss Boot bb.bb.bb 2nd Boot xx.xx.xx DSPInterfaces Interfaces Group RFCIfEntry Yy.yy.yy H/W Releasezzz CCA part numberºIfOperStatus Specifies the current DSL interface Table C-5. IP Group Objects 1 Description Setting/Contents Extension to Interfaces Table RFCIP Group RFC IP Cidr Route Group RFC Table C-5. IP Group Objects 2 Description Setting/ContentsIpCidrRouteEntry 11 ± Transmission GroupEthernet-Like MIB RFC Snmp GroupDevice Control MIB Paradyne Enterprise MIBsNoOp1 Active1Device Diagnostics MIB Traceroute ApplpingTestEntryConfigure ApplTracerouteResultsEntryAppTracerouteResultsEntry Health and Status MIB DevStatus1DevStatus Factory1-to-active8 Configuration MIBPdnInetIpAddressTableEntry Interface Configuration MIBPrimary SecondaryDhcp MIB DSL Endpoint MIB Syslog MIB Accessing the List Command Output DSL Router Terminal EmulationDSL Router Terminal Emulation Terminal Emulation Programs Numbers IndexIN-2 IN-3