Paradyne Routers manual Dhcp Server with Basic NAT Configuration Example

Page 37

DSL Router Configuration Examples

DHCP Server with 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.10

Router

End-user

Systems

10.1.3.2

10.1.3.3

Hub

10.1.3.9

 

00-16613-01

 

 

Public IP Addresses for Basic NAT

Private IP Addresses

 

 

192.128.1.1

10.1.3.2

 

 

192.128.1.2

10.1.3.3

 

 

. . .

. . .

 

 

192.128.1.8

10.1.3.9

 

 

In this DHCP Server with Basic NAT example:

HThe clients are using dynamic IP address assignment and use the Ethernet interface (eth1) of the DSL router as the next hop router (default gateway).

HThe DSL interface (dsl1) must be numbered.

HThe DSL router is configured as the DHCP server giving the private IP addresses to the clients.

HThe Ethernet interface is in private address space. NAT is used for one-to-one mapping of addresses.

The command line syntax for this example is:

ifn address eth1 10.1.3.10 255.255.255.240 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 enable

dhcp server addresses 10.1.3.2 10.1.3.9 dhcp server router 10.1.3.10

dhcp server enable

6371-A2-GB20-10

August 2000

4-7

Image 37
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 ConventionsWhat is a Hotwire DSL Router? Introduction to Hotwire DSL RoutersDSL Technologies Supported Typical DSL Router System Network Access Provider NAPOptional IP routing with Hotwire DSL Router FeaturesService Subscriber Access Control to the DSL Router Accessing the DSL RouterLevels of Access Local Console Access Changing Access Session LevelsAdmin enable Show consoleCUSTOMER#. Type configure terminal and press Enter Setting Up the New Users LoginInvalid Characters Value Ascii Hex Translation Determining the Current Access Level Telnet AccessDetermining the Available Commands Local console disabled by conflictExiting from the System Using the List CommandChanging the System Identity Manually Logging Out If you are accessing the DSL router ThenAutomatically Logging Out Overview of DSL Router Configuration Configuring the DSL RouterInterfaces for the DSL Router Ethernet and DSL Interface Identifiers Service Domain IP Address AssignmentsUnnumbered DSL Interface Numbered DSL InterfaceSimplified Network Topology Network Considerations IP RoutingProxy ARP Address Resolution Protocol ARPBasic NAT Network Address Translation NATNetwork Address Port Translation Napt IP Options Processing Dynamic Host Configuration Protocol Dhcp ServerApplications Supported by NAT Dhcp Relay Agent IP Filtering SecurityLand 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 Monitoring the DSL Router Detecting ProblemsWhat to Monitor Show interface Status of InterfacesShow interface eth1 dsl1 ± Ethernet Link up downShow statistics Interface 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 Messages 2 Level Description Event Syslog Message DisplayReporting Ping Test Results PingPing reply x.x.x.x bytes of data=nn Ping reply x.x.x.x Request Timed OUTTraceRoute Test Results TraceRouteX.x Command Line Interface Feature Command Line InterfaceNavigation Command RecallDocument Conventions Configuration Control Commands Command Line Interface CommandsRFC 1483 Encapsulation Ethernet Frame FormatInterface and Service Domain IP Address Delete eth1ifn dsl1ifn IP Routing TableIp 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 config Show Command OutputsNAT disabled or NAT enabled basic NAT Napt NAT timeout xx minutes NAT basic mappings Show arp timeoutShow ip route ip-address Show arpShow traps Show NAT naptShow 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 Snmp Overview Traps & MIBsTraps 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 Extension to Interfaces Table RFC Table C-5. IP Group Objects 1 Description Setting/ContentsIP 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 ApplpingTestEntryApplTracerouteResultsEntry ConfigureAppTracerouteResultsEntry DevStatus1 Health and Status MIBDevStatus Factory1-to-active8 Configuration MIBPdnInetIpAddressTableEntry Interface Configuration MIBPrimary SecondaryDhcp MIB DSL Endpoint MIB Syslog MIB DSL Router Terminal Emulation Accessing the List Command OutputDSL Router Terminal Emulation Terminal Emulation Programs Numbers IndexIN-2 IN-3