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+.
2-33 Cisco 800 Series Software Configuratio Guide 78-5372-06 Chapter 2 Configuring Basic Networks Connecting a Remote Office to a Corporate Office c.Enable PPP: LosAngeles(config-if)# encapsulation ppp d.Enable DDR: LosAngeles(config-if)# dialer in-band e.Specify the amount of time (in seconds) that the line can be idle before it is disconnected. For example: LosAngeles(config-if)# dialer idle-timeout 300 Set the number of packets to be held in the outgoing queue to 10. In the following example, if an ISDN connection does not exist yet, the hold queue holds up to 10 packets before dropping them. LosAngeles(config-if)# dialer hold-queue 10 f.Define the load level that must be exceeded on the first ISDN B channel before the second B channel is brought up.The load variable represents a utilization percentage and is a number between 1 and 255, where 255 is 100 percent. LosAngeles(config-if)# dialer load-threshold 10 outbound NoteEnter outbound to calculate the load using outbound data only, inbound to calculate the load using inbound data only, and either to set the maximum calculated load as the larger of the outbound and inbound loads. g.Assign this interface to dialer access group 1. The dialer access group is defined later in this procedure. LosAngeles(config-if)# dialer-group 1 h.Configure CHAP. To configure PAP, skip this step, and go to step i. This command enables CHAP and specifies authentication on incoming and outgoing calls. LosAngeles(config-if)# ppp authentication chap
Chapter 2 Configuring Basic Networks Connecting a Remote Office to a Corporate Office 2-34 Cisco 800 Series Software Configuratio Guide 78-5372-06 Configure PAP. To configure CHAP, go to step g. This command enables PAP and specifies authentication on incoming and outgoing calls. LosAngeles(config-if)# ppp authentication pap i.Enable multilink PPP: LosAngeles(config-if)# ppp multilink IP Routing Configuration To configure IP routing, perform the following steps on the PC connected to the other router. Step 1Change to global configuration mode: LosAngeles(config-if)# exit LosAngeles(config)# Step 2Specify the subnet 0.0.0.0 for your IP network: LosAngeles(config)# ip subnet-zero Step 3Disable the IP DNS-based host name-to-address translation: LosAngeles(config)# no ip domain-lookup Step 4Configure the LAN interface by performing the following steps: a.Specify parameters for the LAN interface: LosAngeles(config)# interface ethernet0 b.Set an IP address and subnet mask for the LAN interface. For example: LosAngeles(config)# ip address 10.2.0.1 255.255.0.0 Step 5Follow these steps to specify characteristics of the dialer rotary group that were created earlier: a.Change to global configuration mode: LosAngeles(config-if)# exit LosAngeles(config)#
2-35 Cisco 800 Series Software Configuratio Guide 78-5372-06 Chapter 2 Configuring Basic Networks Connecting a Remote Office to a Corporate Office b.Specify parameters for the dialer rotary group: LosAngeles(config)# interface dialer 1 c.Set an IP address and subnet mask for this interface: LosAngeles(config-if)# ip address 10.3.1.2 255.255.0.0 d.To configure the WAN interface to call a site or to receive calls from a site, create a dialer map in global configuration mode. In this example, this command is entered twice, once for each B channel. The next hop address is 10.3.1.1, the host name is SanJose, and the dial strings are 408555111100 and 408555222200: LosAngeles(config-if)# exit LosAngeles(config)# dialer map ip 10.3.1.1 name SanJose speed 56 408555111100 LosAngeles(config)# dialer map ip 10.3.1.1 name SanJose speed 56 408555222200 Step 6Follow these steps to configure how the IP routing protocol learns routes: a.Change to global configuration mode: LosAngeles(config-if)# exit LosAngeles(config)# b.Set up all IP addresses to be treated as classless: LosAngeles(config)# ip classless c.Set up static routes. In the following example, the destination (San Jose) network is 10.1.0.0, the subnet mask is 255.255.0.0, and the San Jose router ISDN interface is 10.3.1.1. LosAngeles(config)# ip route 10.1.0.0 255.255.0.0 10.3.1.1 NoteYou must configure the route to the San Jose network as well as the route to the San Jose router ISDN interface. The route to the San Jose router is through the dialer 0 port of the LosAngeles router. Step 7Specify that dialer list 1 permits dialing by the IP routing protocol: LosAngeles(config)# dialer-list 1 protocol ip permit
Chapter 2 Configuring Basic Networks Connecting a Remote Office to a Corporate Office 2-36 Cisco 800 Series Software Configuratio Guide 78-5372-06
CHAPTER 3-1 Cisco 800 Series Software Configuration Guide 78-5372-06 3 Configuring Advanced Networks This chapter describes the following configurations: Private IP network to Internet and corporate network Remote network to two corporate networks The following features can be configured in your network: Dial-on-demand routing (DDR) using snapshot routing Leased Integrated Services Digital Network (ISDN) line Dynamic routing using Routing Information Protocol (RIP), including triggered extensions to RIP, and Enhanced Interior Gateway Routing Protocol (EIGRP) Microsoft Windows (configuring Cisco 800 series routers to function in a Windows operating system environment) Dynamic Host Configuration Protocol (DHCP) relay Dial-on-demand ISDN line activation control Network access restrictions Dial-in authentication and authorization X.25 on ISDN Basic Rate Interface (BRI) Always on/dynamic ISDN (AO/DI) Advanced telephone features, such as ISDN voice priority and distinctive ringing
Chapter 3 Configuring Advanced Networks Before Configuring Advanced Networks or Features 3-2 Cisco 800 Series Software Configuration Guide 78-5372-06 Cisco recommends that you familiarize yourself with the features in the configuration examples to help you decide which features you wish to include in your network. NoteCertain protocols (IP, User Datagram Protocol [UDP], and Network Time Protocol [NTP]) send updates that can cause an ISDN line to be activated excessively. For information on preventing this situation, refer to the “Controlling the DDR ISDN Line Activation” section on page 3-26. Before Configuring Advanced Networks or Features Before configuring the advanced networks or the advanced features, you must do the following: Step 1Order your ISDN line from your telephone service provider. For complete information on ordering your ISDN line, see Appendix D, “Provisioning an ISDN Line.” Step 2While ordering your ISDN line, gather the following information from your telephone service provider: ISDN switch type. Service profile identifiers (SPIDs). In North America only, telephone service providers assign SPIDs. SPIDs identify the ISDN B channels. The SPID format is generally an ISDN telephone number with additional numbers, such as 40855522220101. Depending on the switch type that supports your ISDN line, your ISDN line could be assigned zero, one, or two SPIDs. ISDN local directory numbers (LDNs), which are the local ISDN telephone numbers of your routers, such as 4085552222 and 5553333. NoteThe format of the LDN varies from region to region, depending on the telephone service provider. In some regions, you need to add the area code to the telephone number. Find out from your local telephone service provider whether or not you need to specify an area code for the LDN.
3-3 Cisco 800 Series Software Configuration Guide 78-5372-06 Chapter 3 Configuring Advanced Networks Connecting a Private IP Network to the Internet and a Corporate Network Step 3If you are setting up an Internet connection, gather the following information from your Internet service provider (ISP): PPP client name that the ISP assigns as your login name PPP authentication type, either Challenge Handshake Authentication Protocol (CHAP) or Password Authentication Protocol (PAP) PPP password to access your ISP account IP address information: the IP address and subnet mask of the ISP ISDN interface ISP telephone number Step 4If you are setting up a connection to a corporate network, you and the network administrator of the corporate network must decide on or generate the following information for the WAN interfaces of your routers and share this information: PPP authentication type, either CHAP or PAP PPP client name to access the router PPP password to access the router Telephone number assigned to the telephone interface of your router Step 5If you are setting up IP routing, collect information on the addressing scheme for your IP network. Connecting a Private IP Network to the Internet and a Corporate Network In the network example shown in Figure 3-1 and Ta b l e 3 - 1, the Cisco 800 series router connects a private IP network to an ISP and a corporate network. In this network, the ISP assigns a registered IP address for the WAN interface only.
Chapter 3 Configuring Advanced Networks Connecting a Private IP Network to the Internet and a Corporate Network 3-4 Cisco 800 Series Software Configuration Guide 78-5372-06 Figure 3-1 Connecting Private IP Network to Internet and Corporate Network Callout Number Description 1Private network 2Site 1 3ISDN 4Internet service provider 5Site 2 10.0.0.0 74932 3600 800 3 21 4 5
3-5 Cisco 800 Series Software Configuration Guide 78-5372-06 Chapter 3 Configuring Advanced Networks Connecting a Private IP Network to the Internet and a Corporate Network Features Used This network uses the following features on the LAN: IP routing DHCP server (optional) When your router is acting as a DHCP server, workstations configured as DHCP clients are automatically assigned an IP address and subnet mask. This network uses the following features on the WAN: IP routing PPP NAT overload Internet Protocol Control Protocol (IPCP) CHAP or PAP over PPP With NAT overload configured, your router can use one address for multiple hosts. With IPCP configured, your router can automatically negotiate its IP address from the router it is attempting to connect to. You can use CHAP or PAP as the PPP authentication protocol. Cisco recommends using CHAP, because it is more secure. For the ISDN connection, you can use one of the following options: DDR using snapshot routing (the ISDN line is activated only when needed) Permanent ISDN line lease For complete information on these options, including how to configure them, see the “Configuring the ISDN Line” section on page 3-19. The IP routing protocol can use either RIP or EIGRP to learn routes dynamically. You can also use triggered extensions to RIP to control when RIP sends routing updates. For information on how to configure these options, see the “Configuring Dynamic Routing” section on page 3-23.
Chapter 3 Configuring Advanced Networks Connecting a Private IP Network to the Internet and a Corporate Network 3-6 Cisco 800 Series Software Configuration Guide 78-5372-06 Configuring the Cisco 800 Series Router NoteBefore you begin to configure your router, review the “Before Configuring Advanced Networks or Features” section on page 3-2. Starting from global configuration mode, follow these steps to configure the Cisco 800 series router in the private IP network to connect to the Internet and the corporate network. For more information on the commands used, refer to the Cisco IOS documentation. Command Purpose Step 1router# configure terminalEnter global configuration mode. Step 2router(config)# hostname c804Enter the router name. Step 3c804(config)# enable secret 804passwordEnter the password. Step 4c804(config)# pots country usOptional. If you have a Cisco 803 router that is connected to telephones, fax machines, or modems, specify the country where your router is located. Specifying a country configures the country-specific default settings for each physical characteristic. Step 5c804(config)# interface bri0 c804(config-if)# isdn switch-type basic-ni c804(config-if) exitChange to interface configuration mode, set the ISDN switch type, and return to global configuration mode. Step 6c804(config)# ip subnet-zeroSet the router to recognize the zero subnet range as a valid range of addresses. Step 7c804(config)# ip dhcp pool DHCPpoolLAN_0Optional. Configure your router as a DHCP server. This step specifies the DHCP relay pool name. Step 8c804(dhcp-config)# network 10.0.0.0 255.255.255.0For configuring DHCP only. Set the DHCP pool of addresses. Step 9c804(dhcp-config)# dns-server 192.168.1.100For configuring DHCP only. Set the IP address of the DNS server.