cc/td/doc/product/access/acs_fix/800
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Configuring Basic Networks

Configuring Basic Networks

This chapter describes three networks that network administrators in small independent offices or that telecommuters can set up. You can familiarize yourself with the three networks, determining which one is best-suited for your situation.

The following are the three basic networks:

The following sections contain information about preparing for the configurations and the steps to configure each of the three basic networks.

Before Configuring Basic Networks

Before configuring the three basic networks, you must do the following:


Step 1 Order an ISDN line from your telephone service provider. For complete information on ordering your ISDN line, see
Appendix B, "Provisioning the ISDN Line."

Step 2 While ordering your ISDN line, gather the following information from your telephone service provider:

Step 3 If setting up an Internet connection, gather the following information from your Internet service provider (ISP):

Step 4 If 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 the routers so you can both use this information:

Step 5 If setting up either IP or IPX routing, obtain the following information:

Step 6 Decide which router configuration method to use:


Note Cisco strongly recommends that inexperienced network administrators use the Cisco 800 Fast Step application to configure their routers.


Connecting a Private IP Network to the Internet

In the network example shown in Figure 3-1, the Cisco 800 series router connects a private IP network to an ISP.


Figure 3-1: Connecting Private IP Network to Internet


Features Used

This network uses the following features on the LAN:

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:

With NAT overload configured, the router uses one address for multiple hosts. With IPCP configured, your router automatically negotiates its IP address from the router it is attempting to connect to.

You can use either CHAP or PAP as the PPP authentication protocol. Cisco recommends using CHAP, because it is the more secure of the two protocols. For more information, see the "Selecting PPP Authentication Protocol" section in Appendix A, "Concepts."

In addition, the ISDN line is activated only when needed (DDR), using one route that has been manually configured (static route). DDR using static routes suits small networking environments that do not have complex routing topologies.

Configuration


Note Before you begin to configure your router, review "Before Configuring Basic Networks" earlier in this chapter.

To configure the features for this network example, perform the following steps on the PC from global configuration mode. For complete information on how to access global configuration mode, see "Entering Global Configuration Mode" in Chapter 2, "Basic Cisco IOS Skills." For more information on the commands used in this procedure, refer to the Cisco IOS documentation set.


Step 1 Specify a name for the router. For example, specify SanJose as the router name:

router(config)# hostname SanJose
 

Step 2 Specify an encrypted password with one to 25 uppercase or lowercase alphanumeric characters. Spaces are also valid password characters. Leading spaces are ignored; trailing spaces are recognized. For example, specify abra cadabra as the password:

SanJose(config)# enable secret abra cadabra
 

Step 3 Configure the router to recognize the zero subnet range as a valid range of addresses:

SanJose(config)# ip subnet-zero
 

Step 4 Disable the router from translating unfamiliar words entered during a console session into IP addresses:

SanJose(config)# no ip domain-lookup
 

Step 5 Optional. Configure your router as a DHCP server. Define the DHCP relay pool name. For example:

router(config)# ip dhcp pool DHCPpoolLAN_0
 
    router(dhcp-config)# network 10.0.0.0 255.255.255.0
    


    router(dhcp-config)# dns-server 192.168.1.100
    


    router(dhcp-config)# netbios-name-server
    10.1.1.2 10.1.1.3
    


    router(dhcp-config)# default-router 10.0.0.1
    


    router(dhcp-config)# exit
    

Step 6 Configure the LAN interface by performing the following steps:

    SanJose(config)# interface ethernet0
     
    
    SanJose(config-if)# ip address 10.0.0.1 255.0.0.0
     
    
    SanJose(config-if)# no shutdown
     
    

Step 7 Enable NAT on your LAN. The inside network address is not directly routed to the Internet, but is subject to translation to a routable address outside the LAN. For example:

SanJose(config-if)# ip nat inside

Step 8 Configure the WAN interface by performing the following steps:

    SanJose(config-if)# exit
    SanJose(config)#
     
    
    SanJose(config)# interface bri0
     
    
    SanJose(config-if)# encapsulation ppp
     
    
    SanJose(config-if)# ppp multilink
     
    
    SanJose(config-if)# ip nat outside
    


    SanJose(config-if)# dialer rotary-group 0
     
    
In the following example, the SPID number is represented by a 0, so that it will be automatically detected. The primary LDN is followed by the secondary LDN for each SPID.
    SanJose(config-if)# isdn spid1 0 4085551111 4085552222
    SanJose(config-if)# isdn spid2 0 4085553333 4085554444
     
    

Note Find out from your telephone service provider whether or not you need to specify an area code for the LDN.

    SanJose(config-if)# no shutdown
     
    
    SanJose(config-if)# isdn autodetect
     
    
The following example specifies the NET3 switch type:
    router(config-if)# isdn switch-type basic-net3
     
    
    SanJose(config-if)# no cdp enable
     
    

Step 9 Follow these steps to specify characteristics of the dialer rotary group that were created in the previous step:

    SanJose(config-if)# exit
    SanJose(config)#
     
    
    SanJose(config)# interface dialer 0
    SanJose(config-if)#
     
    
    SanJose(config-if)# ip address negotiated
     
    
    SanJose(config-if)# encapsulation ppp
     
    
    SanJose(config-if)# dialer in-band
     
    
    SanJose(config-if)# dialer idle-timeout 300
     
    
    SanJose(config-if)# dialer string 14085553333
     
    
    SanJose(config-if)# dialer hold-queue 10
     
    
    SanJose(config-if)# dialer load-threshold 10 outbound
     
    

Note Enter 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.

    SanJose(config-if)# dialer-group 1
     
    
This command enables CHAP and specifies authentication on incoming calls only. Unidirectional authentication is used because non-Cisco routers that do not support bidirectional authentication are potentially in use at the ISP. In these cases, when the SanJose router calls the ISP, SanJose does not authenticate. However, the ISP authenticates SanJose before allowing the connection.
    SanJose(config-if)# ppp authentication chap callin
    router(config-if)# ppp chap hostname SanJose
    router(config-if)# ppp chap password gocisco1
     
    
The following command enables PAP and specifies authentication on incoming calls only. Unidirectional authentication is used because routers that do not support bidirectional authentication are potentially in use at the ISP. In these cases, when the SanJose router calls the ISP, SanJose does not authenticate. However, the ISP authenticates SanJose before allowing the connection.
    SanJose(config-if)# ppp authentication pap callin
     
    
    SanJose(config-if)# ppp pap sent-username SanJose
    password gocisco
     
    
    SanJose(config-if)# ppp multilink
     
    

Step 10 Follow these steps to configure how the IP routing protocol learns routes:

    SanJose(config-if)# exit
    SanJose(config)#
     
    
    SanJose(config)# ip classless
     
    
The following example specifies that you need to use dialer 0 on your router to reach the ISP router. Dialer 0 had been previously configured using the interface dialer command.
    SanJose(config)# ip routing
    SanJose(config)# ip route 0.0.0.0 0.0.0.0 192.168.1.1
    SanJOse(config)# ip route 192.168.1.1 255.255.255.255 dialer0
     
    

Step 11 Specify that dialer-list 1 permits dialing by the IP routing protocol:

SanJose(config)# dialer-list 1 protocol ip permit
 

Step 12 Perform this step only if ISDN calls at 64 kbps are not supported. Specify characteristics of the outgoing calls from an ISDN interface by using the following steps:

    SanJose(config)# map-class dialer 56k
     
    
The unique identifier that identifies the class is 56K.
    SanJose(config-map-class)# dialer isdn speed 56
     
    

Step 13 If you have a Cisco 803 or Cisco 804 router that is connected to a telephone, fax machine, or modem, configure the telephone interfaces by performing the following steps:

    SanJose(config-map-class)# exit
    SanJose(config)#
     
    
    SanJose(config)# pots country us
     
    
Enter the pots country ? command to get a list of supported countries and codes.
This command determines the physical characteristics of the telephone interfaces. By specifying a country, you are configuring your telephone to use country-specific default settings for each of the physical characteristics. For information on the physical characteristics, how to check the settings, and how to change the settings, refer to Chapter 7, "Configuring Telephone Interfaces."
    SanJose(config)# dial-peer voice 1 pots
    SanJose(config-dial-peer)# destination-pattern 5551111
    SanJose(config-dial-peer)# port 1
    SanJose(config-dial-peer)# no call-waiting
    SanJose(config-dial-peer)# exit
    SanJose(config)#
     
    
    SanJose(config)# interface bri0
     
    
    SanJose(config-if)# isdn incoming-voice modem
     
    

For more information, see Chapter 7, "Configuring Telephone Interfaces.

Step 14 Exit the interface configuration mode.

SanJose(config-if)# exit
SanJose#(config)#
 

Step 15 In global configuration mode, set global NAT commands. In the following example, all inside network addresses assigned to interface BRI0 are configured for translation, and the access list that contains the inside network addresses is defined.

SanJose(config)# ip nat inside source list 1 interface bri0
overload
SanJose(config)# access-list 1 permit 10.0.0.0 255.0.0.0
 

Step 16 Change to user mode and save your configuration:

SanJose(config)# exit
SanJose# copy running-config startup-config

Connecting a Public IP Network to the Internet

In the network example shown in Figure 3-2, the Cisco 800 series router connects a public IP network to an ISP. The ISP has assigned a range of registered (public) IP addresses for the LAN devices that require Internet access.


Figure 3-2: Connecting a Public IP Network to the Internet


Features Used

This network uses the following features on the LAN:

When your router is acting as a DHCP server, workstations configured as DHCP clients are automatically assigned IP addresses and subnet masks.

This network uses the following features on the WAN:

If the ISP does not assign an IP address and subnet mask for your WAN interface, you can use IPCP to automatically negotiate its IP address from the router to which it is attempting to connect.

You can use either CHAP or PAP as the PPP authentication protocol. Cisco recommends using CHAP because it is the more secure of the two protocols. For more information, refer to the "Selecting PPP Authentication Protocol" section in Appendix A, "Concepts."

In addition, the ISDN line is activated only when needed (DDR), using one route that has been manually configured (static route). DDR using static routes suits small networking environments that do not have complex routing topologies.

Configuration


Note Before you begin to configure your router, review "Before Configuring Basic Networks" earlier in this chapter.

To configure the features for this network example, perform the following steps on the PC from the global configuration mode. For complete information on how to access global configuration mode, refer to "Entering Global Configuration Mode" in Chapter 2, "Basic Cisco IOS Skills." For more information on the commands used in this procedure, see the Cisco IOS documentation set.


Step 1 Specify a name for the router. For example, specify SanJose as the router name:

router(config)# hostname SanJose
 

Step 2 Specify an encrypted password from one to 25 uppercase or lowercase alphanumeric characters. Spaces are valid password characters. Leading spaces are ignored but trailing spaces are recognized. For example:

SanJose(config)# enable secret abra cadabra
 

Step 3 Configure the router to recognize the zero subnet range as a valid range of addresses:

SanJose(config)# ip subnet-zero
 

Step 4 Disable the router from translating unfamiliar words entered during a console session into IP addresses:

SanJose(config)# no ip domain-lookup
 

Step 5 Optional. Configure your router as a DHCP server.

    router(config)# ip dhcp pool DHCPpoolLAN_0
    


    router(dhcp-config)# network 10.0.0.0 255.255.255.0
     
    
    router(dhcp-config)# dns-server 192.168.1.100
     
    
    router(dhcp-config)# netbios-name-server
    10.1.1.2 10.1.1.3
     
    
    router(dhcp-config)# default-router 10.1.1.1
     
    
    router(dhcp-config)# exit
     
    

Step 6 Configure the LAN interface by performing the following steps:

    SanJose(config)# interface ethernet0
     
    
    SanJose(config-if)# ip address 10.1.1.1 255.0.0.0
     
    

Step 7 Configure the WAN interface by performing the following steps:

    SanJose(config-if)# exit
    SanJose(config)#
     
    
    SanJose(config)# interface bri0
    SanJose(config-if)#
     
    
    SanJose(config-if)# encapsulation ppp
     
    
    SanJose(config-if)# ppp multilink
     
    
    SanJose(config-if)# dialer rotary-group 0
     
    
In the following example, the SPID number is represented by a 0 so that it will be automatically detected. The primary LDN is followed by the secondary LDN for each SPID.
    SanJose(config-if)# isdn spid1 0 4085551111 4085552222
    SanJose(config-if)# isdn spid2 0 4085553333 4085554444
     
    

Note Find out from your telephone service provider whether or not you need to specify an area code for the LDN.

    SanJose(config-if)# no shutdown
     
    
    SanJose(config-if)# isdn autodetect
     
    
The following example specifies the NET3 switch:
    SanJose(config-if)# isdn switch-type basic-net3
     
    
    SanJose(config-if)# no cdp enable
     
    

Step 8 Follow these steps to specify characteristics of the dialer rotary group that you created earlier:

    SanJose(config-if)# exit
    SanJose(config)#
     
    
    SanJose(config)# interface dialer 0
     
    
    SanJose(config-if)# ip address 192.168.1.2 255.255.255.0
     
    
    SanJose(config-if)# ip address negotiated
     
    
    SanJose(config-if)# encapsulation ppp
     
    
    SanJose(config-if)# dialer in-band
     
    
    SanJose(config-if)# dialer idle-timeout 300
     
    
    SanJose(config-if)# dialer string 14085553333
     
    
    SanJose(config-if)# dialer hold-queue 10
     
    
    SanJose(config-if)# dialer load-threshold 10 outbound
     
    
    SanJose(config-if)# dialer-group 1
     
    
This command enables CHAP and specifies authentication on incoming calls only. Unidirectional authentication is used because non-Cisco routers that do not support bidirectional authentication are potentially in use at the ISP. In these cases, when SanJose calls the ISP, SanJose does not authenticate. However, the ISP authenticates SanJose before allowing the connection. For example:
    SanJose(config-if)# ppp authentication chap callin
    SanJose(config-if)# ppp chap hostname SanJose
    SanJose(config-if)# ppp chap password gocisco1
     
    
    SanJose(config-if)# ppp authentication pap callin
     
    
This command enables PAP and specifies authentication on incoming calls only. Unidirectional authentication is used because non-Cisco routers that do not support bidirectional authentication are potentially in use at the ISP. In these cases, when the SanJose router calls the ISP, the SanJose router does not authenticate the ISP router. However, the ISP authenticates the SanJose router before allowing the connection.
    SanJose(config-if)# ppp pap sent-username SanJose 
    password gocisco1
     
    
    SanJose(config-if)# ppp multilink
     
    

Step 9 Follow these steps to configure how the IP routing protocol learns the routes:

    SanJose(config-if)# exit
    SanJose(config)#
     
    
    SanJose(config)# ip classless
     
    
The following example specifies 0.0.0.0 and 0.0.0.0 as the IP address and subnet mask of the ISP network, because you would not know these addresses.
    SanJose(config)# ip route 0.0.0.0 0.0.0.0 dialer0
     
    

Step 10 Specify that dialer-list 1 permits dialing by the IP routing protocol:

SanJose(config)# dialer-list 1 protocol ip permit
 

Step 11 Perform this step only if ISDN calls at 64 kbps are not supported. Follow these steps to specify the characteristics of outgoing calls from an ISDN interface. The unique identifier for the class is 56k.

    SanJose(config)# interface dialer 0
    SanJose(config-if)# dialer string 5551212 class 56k
    SanJose(config-if)# exit
    SanJose(config)# map-class dialer 56k
     
    
    SanJose(config-map-class)# dialer isdn speed 56
     
    
    SanJose(config-map-class)# exit
    SanJose(config)#
     
    

Step 12 If you have a Cisco 803 or Cisco 804 router that is connected to a telephone, fax machine, or modem, configure the telephone interfaces by performing the following steps:

    SanJose(config)# pots country us
     
    
This command determines the physical characteristics of the telephone interfaces. By specifying a country, you are configuring your telephone to use country-specific default settings for each of the physical characteristics. To get a list of supported countries and the code, enter the pots country ? command. For information on the physical characteristics and how to change the settings, see Chapter 7, "Configuring Telephone Interfaces."
    SanJose(config)# dial-peer voice 1 pots
    SanJose(config-dial-peer)# destination-pattern 5551111
    SanJose(config-dial-peer)# port 1
    SanJose(config-dial-peer)# no call-waiting
    SanJose(config-dial-peer)# exit
     
    
    SanJose(config)# interface bri0
     
    
    SanJose(config-if)# isdn incoming-voice modem
     
    
    SanJose(config-if)# end
    SanJOse# copy running-config startup-config
     
    

For more information, see Chapter 7, "Configuring Telephone Interfaces."


Connecting a Remote Office to a Corporate Office

In the network example shown in Figure 3-3, the Cisco 800 series router and another router, such as a Cisco 3600 router, connect the networks of a remote office and a corporate office by using a dial-on-demand ISDN line. The routes between the two routers are static IP and IPX routes that you configure.


Figure 3-3: Remote Office to Corporate Office


Features Used

This network uses the following features on the LAN:

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:

With IPCP configured, your router automatically negotiates its IP address from the router it is attempting to connect to.

You can use either CHAP or PAP as the PPP authentication protocol. Cisco recommends using CHAP because it is the more secure of the two protocols. For more information, refer to the "Selecting PPP Authentication Protocol" section in Appendix A, "Concepts."

Because DDR is configured, the ISDN line is activated only when needed using one route that has been manually configured (static route). Because a static route is configured, the routers do not need to exchange routing updates. As a result, the ISDN line is activated only when traffic demands.

Cisco 800 Series Router Configuration


Note Before you begin to configure your router, review "Before Configuring Basic Networks" earlier in this chapter.

To configure the features for this network example, perform the following steps on the PC from the global configuration prompt. For complete information on how to access global configuration mode, refer to the "Entering Global Configuration Mode" section in Chapter 2, "Basic Cisco IOS Skills." For more information on the commands used in this procedure, see the Cisco IOS documentation set.


Step 1 Specify a name for the router. For example:

router(config)# hostname SanJose
 

Step 2 Specify an encrypted password. For example:

SanJose(config)# enable secret password
 

Step 3 Specify the username of any client that will potentially dial into your router and the password that your router and the client will share. Specify the username and password of the central office router (the central office network administrator should provide this information). For example:

SanJose(config)# username LosAngeles password gocisco1
 

Step 4 Optional. Configure your router as a DHCP server:

    router(config)# ip dhcp pool DHCPpoolLAN_0
    


    router(dhcp-config)# network 10.1.0.0 255.255.0.0
     
    
    router(dhcp-config)# dns-server 192.168.1.0 255.255.255.0
     
    
    router(dhcp-config)# netbios-name-server
    10.1.0.2 10.1.0.3
     
    
    router(dhcp-config)# default-router 10.1.0.1
     
    

Step 5 Configure the WAN interface by performing the following steps:

    SanJose(dhcp-config)# exit
    SanJose(config)#
     
    
    SanJose(config)# interface bri0
    SanJose(config-if)# 
     
    
    SanJose(config-if)# encapsulation ppp
     
    
    SanJose(config-if)# ppp multilink
     
    
    SanJose(config-if)# dialer rotary-group 0
     
    
In the following example, the SPID number is represented by a 0 so that it would be automatically detected. The primary LDN is followed by the secondary LDN for each SPID.
    SanJose(config-if)# isdn spid1 0 4085551111 4085552222
    SanJose(config-if)# isdn spid2 0 4085553333 4085554444
     
    

Note Find out from your telephone service provider whether or not you need to specify an area code for the LDN.

    SanJose(config-if)# no shutdown
     
    
    SanJose(config-if)# isdn autodetect
     
    
The following example specifies the NET3 switch:
    SanJose(config-if)# isdn switch-type basic-net3
     
    
    SanJose(config-if)# no cdp enable
     
    

Step 6 Specify characteristics of the dialer rotary group created earlier by performing the following steps:

    SanJose(config-if)# exit
    SanJose(config)#
     
    
    SanJose(config)# interface dialer 0
     
    
    SanJose(config-if)# encapsulation ppp
     
    
    SanJose(config-if)# dialer in-band
     
    
    SanJose(config-if)# dialer idle-timeout 300
     
    
    SanJose(config-if)# dialer hold-queue 10
     
    
    SanJose(config-if)# dialer load-threshold 150 outbound
     
    
    SanJose(config-if)# dialer-group 1
     
    
    SanJose(config-if)# ppp authentication chap
     
    
    SanJose(config-if)# ppp authentication pap
     
    
    SanJose(config-if)# ppp multilink
    SanJose(config-if)# exit
     
    

Step 7 Perform this step only if ISDN calls at 64 kbps are not supported on your line. Specify the characteristics of outgoing calls from an ISDN interface by performing the following steps:

    SanJose(config)# interface dialer 0
    SanJose(config-if)# dialer string 5551212 class 56k
    SanJose(config-if)# exit
    SanJose(config)# map-class dialer 56k
     
    
    SanJose(config-map-class)# dialer isdn speed 56
     
    
    SanJose(config-map-class)# exit
    SanJose(config)#
     
    

Step 8 If you have a Cisco 803 or Cisco 804 router that is connected to a telephone, fax machine, or modem, configure the telephone interface by performing the following steps:

    SanJose(config)# pots country us
     
    
This command determines the physical characteristics of the telephone interfaces. By specifying a country, you are configuring your telephone to use country-specific default settings for each of the physical characteristics. To get a list of supported countries and the code, enter the pots country ? command. For information on the physical characteristics and how to change the settings, refer to Chapter 7, "Configuring Telephone Interfaces."
    SanJose(config)# dial-peer voice 1 pots
    SanJose(config-dial-peer)# destination-pattern 5551111
    SanJose(config-dial-peer)# port 1
    SanJose(config-dial-peer)# no call-waiting
    SanJose(config-dial-peer)# exit
    SanJose(config)#
     
    
    SanJose(config)# interface bri0
     
    
    SanJose(config-if)# isdn incoming-voice modem
    

For more information, see Chapter 7, "Configuring Telephone Interfaces."


IP Routing Configuration

To configure IP routing, perform the following steps on your PC:


Step 1 Change to global configuration mode:

SanJose(config-if)# exit
SanJose(config)#
 

Step 2 Configure the router to recognize the zero subnet range as a valid range of addresses:

SanJose(config)# ip subnet-zero
 

Step 3 Disable the router from translating unfamiliar words entered during a console session into IP addresses:

SanJose(config)# no ip domain-lookup
 

Step 4 Configure the LAN interface by performing the following steps:

    SanJose(config)# interface ethernet0
     
    
    SanJose(config)# ip address 10.1.0.1 255.255.0.0
    

Step 5 Follow these steps to specify characteristics of the dialer rotary group that were created earlier:

    SanJose(config)# interface bri0
     
    
    SanJose(config-if)# dialer-group 1
    SanJose(config-if)# ip address 10.3.1.1 255.255.0.0
     
    
    SanJose(config-if)# no ip address
    SanJose(config-if)# 
     
    
    SanJose(config-if)# dialer map ip 10.3.1.2 
    name LosAngeles speed 56 14085553333
     
    SanJose(config-if)# dialer map ip 10.3.1.2 
    name LosAngeles speed 56 14085554444
     
    

Step 6 Follow these steps to configure how the IP routing protocol learns the routes:

    SanJose(config-if)# exit
    SanJose(config)#
    
    SanJose(config)# ip classless
     
    
    SanJose(config)# ip route 10.2.0.0 255.255.0.0 10.2.1.2
     
    

Step 7 Specify that dialer-list 1 permits dialing by the IP routing protocol:

SanJose(config)# dialer-list 1 protocol ip permit
 

IPX Routing Configuration

To configure IPX routing, perform the following steps on your PC.


Step 1 Enable IPX routing:

SanJose(config)# ipx routing
 

Note The router uses the Media Access Control (MAC) address of the Ethernet port as the node address. Cisco 803 and Cisco 804 routers use the MAC address of Ethernet port 0.

Step 2 Configure the LAN interface by performing the following steps:

    SanJose(config)# interface ethernet0
     
    
    SanJose(config)#ipx network 100 encapsulation sap
    SanJose(config)#ipx network 101 
    encapsulation novell-ether secondary
     
    

Step 3 Use the following steps to specify characteristics of the dialer rotary group created in the "Cisco 800 Series Router Configuration" section:

    SanJose(config)# interface bri0
    SanJose(config-if)# ipx network AAAA
     
    
    SanJose(config-if)# no ipx route-cache
     
    
    SanJose(config-if)# interface dialer 0
     
    
    SanJose(config-if)# ipx watchdog-spoof
     
    
    SanJose(config-if)# dialer map ipx AAAA.0000.0cbb.2222
    name LosAngeles speed 56 15553333
     
    SanJose(config-if)# dialer map ip 10.3.1.2 
    name LosAngeles speed 56 15554444
     
    

Step 4 Follow these steps to configure how the IPX routing protocol learns routes:

    SanJose(config-if)# exit
    SanJose(config)#
     
    
    SanJose(config)# ipx route 200 AAAA.0000.0cbb.2222
     
    
    SanJose(config)# ipx sap 4 LosAngelesFS 2000.0000.0000.0001
    451 2
     
    

Step 5 Specify that dialer-list 1 permits dialing by the IPX routing protocol:

SanJose(config)# dialer-list 1 protocol ipx permit
 

Step 6 End your router session:

SanJose(config)# end
 

Corporate Router Configuration

To configure the features for this sample network, perform the following steps on your PC from global configuration mode. This section assumes that the router connected to the Cisco 800 series router is a Cisco router that supports Cisco IOS software, for example, a Cisco 3600 router. For more information, refer to the documentation that accompanied your other Cisco router.


Step 1 Specify a name for the router, for example, LosAngeles:

router# hostname LosAngeles
 

Step 2 Specify an encrypted password, for example, abra cadabra:

LosAngeles# enable secret abra cadabra
 

Step 3 Specify the username of any client that will potentially dial in to your router and the password that your router and the client will share. The following example specifies SanJose and gocisco1 as the username and password:

LosAngeles# username SanJose password gocisco1
 

Step 4 Change to global configuration, then to interface configuration mode. Specify the ISDN switch type. To get a listing of supported switches, enter the isdn switch-type ? command.

LosAngeles# configure terminal
LosAngeles(config)# interface bri0
LosAngeles(config-if)# isdn switch-type basic-net3
 

To specify a National ISDN-1 (NI1) switch, enter the following:

LosAngeles(config)# isdn switch-type basic-ni1
 

Step 5 Optional. Configure your router as a DHCP server:

    LosAngeles(config)# ip dhcp pool DHCPpoolLAN_0
    


    LosAngeles(dhcp-config)# network 10.2.0.0 255.255.0.0
     
    
    LosAngeles(dhcp-config)# dns-server 172.29.20.41 172.29.20.51
     
    
    LosAngeles(dhcp-config)# netbios-name-server
    10.2.0.2 10.2.0.3
     
    
    LosAngeles(dhcp-config)# default-router 10.2.0.1
     
    
    LosAngeles(dhcp-config)# exit
     
    

Step 6 Configure the WAN interface by performing the following steps:

    LosAngeles(config)# interface bri0
     
    
    LosAngeles(config-if)# encapsulation ppp
     
    
    LosAngeles(config-if)# ppp multilink
     
    
    LosAngeles(config-if)# dialer rotary-group 0
     
    
    LosAngeles(config-if)# isdn spid1 0155533330101
    LosAngeles(config-if)# isdn spid2 0155544440101
     
    
    LosAngeles(config-if)# no cdp enable
     
    

Step 7 Specify characteristics of the dialer rotary group created earlier by following these steps:

    LosAngeles(config-if)# exit
    LosAngeles(config)#
     
    
    LosAngeles(config)#interface dialer 0
    
.
    LosAngeles(config-if)# encapsulation ppp
     
    
    LosAngeles(config-if)# dialer in-band
     
    
    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
     
    
    LosAngeles(config-if)# dialer load-threshold 10 outbound 
     
    
    LosAngeles(config-if)# dialer-group 1
     
    
    LosAngeles(config-if)# ppp authentication chap
     
    
Configure PAP. To configure CHAP, skip this step, and go to the previous step. This command enables PAP and specifies authentication on incoming and outgoing calls.
    LosAngeles(config-if)# ppp authentication pap
     
    
    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 1 Change to global configuration mode:

LosAngeles(config-if)# exit
LosAngeles(config)#
 

Step 2 Specify the subnet 0.0.0.0 for your IP network:

LosAngeles(config)# ip subnet-zero
 

Step 3 Disable the IP DNS-based host name-to-address translation:

LosAngeles(config)# no ip domain-lookup
 

Step 4 Configure the LAN interface by performing the following steps:

    LosAngeles(config)# interface ethernet0
     
    
    LosAngeles(config)# ip address 10.2.0.1 255.255.0.0
     
    

Step 5 Follow these steps to specify characteristics of the dialer rotary group that were created earlier:

    LosAngeles(config-if)# exit
    LosAngeles(config)#
     
    
    LosAngeles(config)# interface dialer 1
     
    
    LosAngeles(config-if)# ip address 10.3.1.2 255.255.0.0
     
    
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 6 Follow these steps to configure how the IP routing protocol learns routes:

    LosAngeles(config-if)# exit
    LosAngeles(config)#
     
    
    LosAngeles(config)# ip classless
     
    
    LosAngeles(config)# ip route 10.1.0.0 255.255.0.0 10.3.1.1
     
    

Step 7 Specify that dialer list 1 permits dialing by the IP routing protocol:

LosAngeles(config)# dialer-list 1 protocol ip permit

IPX Routing Configuration

To configure IPX routing, perform the following steps on the PC connected to the other router.


Step 1 Enable IPX routing:

LosAngeles(config)# ipx routing
 

The router uses the Media Access Control (MAC) address of the first Ethernet port as the node address.

Step 2 Configure the LAN interface by performing the following steps:

    LosAngeles(config)# interface ethernet0
     
    
    LosAngeles(config-if)# ipx network 200
     
    
    LosAngeles(config-if)# exit
    LosAngeles(config)#
     
    

Step 3 Follow these steps to specify characteristics of the dialer rotary group that were created earlier:

    LosAngeles(config)# interface bri0
    LosAngeles(config-if)# ipx network AAAA
     
    
    LosAngeles(config-if)# no ipx route-cache
     
    
    LosAngeles(config-if)# interface dialer 0
     
    
    LosAngeles(config-if)# ipx watchdog-spoof
     
    
    LosAngeles(config-if)# dialer map ipx AAAA.0000.0caa.1111
    name SanJose speed 56 408555111100
     
    LosAngeles(config-if)# dialer map ipx AAAA.0000.0caa.1111
    name SanJose speed 56 408555222200
     
    

Step 4 Follow these steps to configure how the IPX routing protocol learns routes:

    LosAngeles(config-if)# exit
    LosAngeles(config)#
     
    
    LosAngeles(config)# ipx route 100 AAAA.0000.0caa.1111
     
    
    LosAngeles(config)# ipx sap 4 SanJoseFS 1000.0000.0000.0001 
    451 2
     
    

Step 5 Specify that dialer-list 1, which was defined earlier, permits dialing by the IPX routing protocol:

LosAngeles(config)# dialer-list 1 protocol ipx permit
 

Step 6 End your router session:

SanJose(config)# end
SanJose# disable
SanJose> logout


hometocprevnextglossaryfeedbacksearchhelp
Posted: Wed May 24 16:43:19 PDT 2000
Copyright 1989 - 2000©Cisco Systems Inc.