Cisco Router 800 Series Software Configuration Guide
Have a look at the manual Cisco Router 800 Series Software Configuration Guide online for free. It’s possible to download the document as PDF or print. UserManuals.tech offer 53 Cisco manuals and user’s guides for free. Share the user manual or guide on Facebook, Twitter or Google+.
4-13 Cisco 800 Series Software Configuration Guide 78-5372-06 Chapter 4 Network Scenarios Internet Access Scenarios Figure 4-6 PPPoE Deployment Scenario Callout Number Description 1Multiple PCs in LAN. 2Multiple PCs connected in a LAN. 3Access concentrator, concentrating data and LAN into ATM service over E1/T1 links. 4PPPoE session, which is initiated on the client side by a Cisco 837 or Cisco SOHO 97 router. If the session has a timeout, or if the session is disconnected, the PPPoE client immediately attempts to reestablish the session. DSLAM Cisco 837/SOHO97 56956 3 2 1 4
Chapter 4 Network Scenarios Internet Access Scenarios 4-14 Cisco 800 Series Software Configuration Guide 78-5372-06 This section covers the following topics: Configuring the Virtual Private Dial-Up Network Group Number Configuring the ATM Interface Configuring the Dialer Interface Configuration Example Configuring the Virtual Private Dial-Up Network Group Number Follow the steps below to configure a virtual private dial-up network (VPDN), starting in global configuration mode. NoteStep 1 through Step 4 are not necessary for the Cisco SOHO 96 and 97 routers. Command Task Step 1vpdn enableEnable VPDN. Step 2vpdn group tagSet the VPDN group. Step 3request-dialinSpecify the dialing direction. Step 4protocol pppoeSpecify the protocol type for the VPDN. Step 5interface ATM0 mtu 1492 pvc 8/35Enter configuration mode for the ATM interface. Set the maximum transmission unit (MTU) size and PVC number. Step 6pppoe-client dial-pool-number 1Define the pppoe client in dial pool number 1. Step 7interface Dialer 1 ip address negotiated encapsulation ppp dialer-pool 1Enter configuration mode for the Dialer 1 interface to obtain the IP address via IPCP. Specify the encapsulation type for the PVC using dialer pool number 1.
4-15 Cisco 800 Series Software Configuration Guide 78-5372-06 Chapter 4 Network Scenarios Internet Access Scenarios Configuring the ATM Interface Follow the steps below to configure the ATM interface, beginning in global configuration mode. Configuring the Dialer Interface Follow the steps below to configure the dialer interface, starting in global configuration mode. Command Task Step 1interface atm 0Enter configuration mode for the ATM interface. Step 2dsl linerate {number | auto} Specify the DSL line rate. The range of valid numbers is from 72 to 2312. Note that this command is applicable only to Cisco 828 and SOHO 78 routers. Step 3ip address 200.200.100.1 255.255.255.0Set the IP address and subnet mask for the ATM interface. Step 4pvc vpi/vciCreate an ATM PVC for each end node with which the router communcates. Step 5ppoe-client dial-pool-number 1Bind the dialer to the interface. Step 6no shutdownEnable the ATM 0 interface. Command Task Step 1ip route default-gateway-ip-address mask dialer 0Set the IP route for the default gateway for the Dialer 0 interface. Step 2interface dialer 0Enter the Dialer 0 interface configuration. Step 3ip address negotiatedSpecify that the IP address is to be negotiated over PPP. Step 4ip mtu 1492Set the size of the IP maximum transmission unit (MTU). Step 5encapsulation pppSet the encapsulation type to PPP.
Chapter 4 Network Scenarios Internet Access Scenarios 4-16 Cisco 800 Series Software Configuration Guide 78-5372-06 If you enter the clear vpdn tunnel pppoe command with a PPPoE client session already established, the PPPoE client session terminates, and the PPPoE client immediately tries to reestablish the session. Configuration Example The following example shows a configuration of a PPPoE client. vpdn enable vpdn-group 1 request-dialin protocol pppoe ! interface atm0 no ip address no atm ilmi-keepalive pvc 1/100 pppoe-client dial-pool-number 1 ! interface dialer 1 ip address negotiated ppp authentication chap dialer pool 1 dialer-group 1 ! dialer-list 1 protocol ip permit Step 6dialer pool 1Specify the dialer pool to be used. Step 7dialer-group 1Assign this interface to a dialer list. Step 8ppp authentication chapSet the PPP authentication method to Challenge Handshake Authentication Protocol (CHAP). Step 9exitExit the Dialer 0 interface configuration. Step 10dialer-list 1 protocol ip permitCreate a dialer list for interested packets to be forwarded through the specified interface dialer group. Command Task
4-17 Cisco 800 Series Software Configuration Guide 78-5372-06 Chapter 4 Network Scenarios Internet Access Scenarios PPP over Ethernet with NAT Using a Dial-on-Demand PPP-over- Ethernet Connection The Cisco 831, 836, and 837 routers and the Cisco SOHO 91, 96, and 97 routers support a PPP-over-Ethernet (PPPoE) client, using a dial-on-demand PPP-over-Ethernet connection. For a deployment scenario, see Figure 4-6 on page 4-13. Configuring the Virtual Private Dial-Up Network Group Number Complete the following tasks to configure a VPDN, starting in global configuration mode. NoteThese four steps are not necessary for the Cisco SOHO 96 and 97 routers. Configuring the ATM Interface Follow the steps below to configure the ATM interface, beginning in global configuration mode. Command Task Step 1vpdn enableEnable VPDN. Step 2vpdn group tagSet the VPDN group. Step 3request-dialinSpecify the dialing direction. Step 4protocol pppoeSpecify the protocol type for the VPDN. Command Task Step 1interface atm 0Enter configuration mode for the ATM interface. Step 2ip address 200.200.100.1 255.255.255.0Set the IP address and subnet mask for the ATM interface.
Chapter 4 Network Scenarios Internet Access Scenarios 4-18 Cisco 800 Series Software Configuration Guide 78-5372-06 Configuring the Dialer Interface Follow the steps below to configure the dialer interface, starting in global configuration mode. Step 3pvc vpi/vciCreate an ATM PVC for each end node with which the router communicates. Step 4ppoe-client dial-pool-number 1 dial-on-demandBind the dialer to the interface. Step 5no shutdownEnable the ATM 0 interface. Command Task Command Task Step 1ip route default-gateway-ip-address mask dialer 0Set the IP route for the default gateway for the Dialer 0 interface. Step 2interface dialer 0Enter Dialer 0 interface configuration. Step 3ip address negotiatedSpecify that the IP address is to be negotiated over PPP. Step 4ip mtu 1492Set the size of the IP maximum transmission unit (MTU). Step 5ip nat outsideEstablish the Dialer 0 interface as the outside interface. Step 6encapsulation pppSet the encapsulation type to PPP. Step 7dialer pool 1Specify the dialer pool to be used. Step 8dialer-group 1Assign this interface to a dialer list. Step 9ppp authentication chapSet the PPP authentication method to Challenge Handshake Authentication Protocol (CHAP). Step 10exitExit the Dialer 0 interface configuration. Step 11dialer-list 1 protocol ip permitCreate a dialer list for packets of interest to be forwarded through the interface dialer group.
4-19 Cisco 800 Series Software Configuration Guide 78-5372-06 Chapter 4 Network Scenarios Internet Access Scenarios If you enter the clear vpdn tunnel pppoe command with a PPPoE client session already established, the PPPoE client session terminates, and the PPPoE client immediately tries to reestablish the session. Configuration Example The following example shows a configuration of a PPPoE client. interface Ethernet0 no ip address ip tcp adjust-mss 1400 no keepalive hold-queue 100 out ! vpdn enable vpdn-group 1 request-dialin protocol pppoe ! interface atm0 no ip address no atm ilmi-keepalive pvc 1/100 pppoe-client dial-pool-number 1 dial-on-demand ! interface dialer 1 ip address negotiated ppp authentication chap dialer pool 1 dialer-group 1 ! dialer-list 1 protocol ip permit PPP over ATM with NAT This network shows a user connected to the Internet through PPP over ATM and one static IP address. You may want to use this scenario in your network if you want to access the network with ATM support at the endpoints. PPP over ATM provides a network solution with simplified address handling and straight user verification, as you would get in a dial network. Figure 4-7 and Ta b l e 4 - 7 show the network topology for this scenario.
Chapter 4 Network Scenarios Internet Access Scenarios 4-20 Cisco 800 Series Software Configuration Guide 78-5372-06 Figure 4-7 PPP over ATM with NAT In this scenario, the small business or remote user on the Ethernet LAN can connect to the Internet through ADSL. The Ethernet interface carries the data packet through the LAN and offloads it to the PPP connection on the ATM interface. The dialer interface is used to connect to the Internet or the corporate office. The number of ATM PVCs is set by default. NAT (represented as the dashed line at the edge of the Cisco 827 router) signifies two addressing domains and the inside source address. The source list defines how the packet travels through the network. This section covers the following topics: Configuring the Ethernet Interface Configuring the Dialer Interface Configuring the ATM Interface Callout Number Description 1Small business or remote user 2Connection to Ethernet 0 address 192.168.1.1/24 through a dialer interface 3PPP over ATM PVC 8/35 4The Internet Cisco 827/827-4V 192.168.1.1/24DSLAMCisco 6400 Cisco 6400 74578 14 3 2
4-21 Cisco 800 Series Software Configuration Guide 78-5372-06 Chapter 4 Network Scenarios Internet Access Scenarios Configuring NAT Configuration Example To add other features to this network, see Chapter 7, “Router Feature Configuration.” After configuring your router, you need to configure the PVC endpoint. For a general configuration example, see the “Cisco 3640 Gateway Configuration Example” section on page 4-89. Configuring the Ethernet Interface Follow the steps below to configure the Ethernet interface, beginning in global configuration mode. Configuring the Dialer Interface Follow the steps below to configure the dialer interface, beginning in global configuration mode. Command Task Step 1interface ethernet 0Enter configuration mode for the Ethernet interface. Step 2ip address 192.168.1.1 255.255.255.0Set the IP address and subnet mask for the Ethernet interface. Step 3no shutdownEnable the interface and configuration changes just made to the Ethernet interface. Step 4exitExit configuration mode for the Ethernet interface. Command Task Step 1interface dialer 0Enter configuration mode for the Dialer 0 interface. Step 2ip address negotiatedConfigure a negotiated IP address.
Chapter 4 Network Scenarios Internet Access Scenarios 4-22 Cisco 800 Series Software Configuration Guide 78-5372-06 Configuring the ATM Interface Follow the steps below to configure the ATM interface, beginning in global configuration mode. Step 3ip nat outsideSet the interface to be connected to the outside network. Step 4encapsulation pppSpecify the encapsulation type for the PVC to be PPP. Step 5dialer pool 1Specify which dialer pool number you are using. Step 6exitExit configuration mode for the dialer interface. Command Task Command Task Step 1interface ATM 0Enter configuration mode for the ATM interface. Step 2pvc 8/35Create an ATM PVC for each end node with which the router communicates. Step 3encapsulation aal5mux ppp dialerSpecify the encapsulation type for the PVC to be aal5mux (PPP) and point back to the dialer interface. Step 4dialer pool-member 1Specify a dialer pool member. Step 5no shutdownEnable the interface and configuration changes just made to the ATM interface. Step 6exitExit configuration mode for the ATM interface.