Lab 2.3.4: Configuring Remote WAN Routers

Objective:

  • Make a successful asynchronous connection from a remote router to a central site router with modems.

Scenario:

The Atlanta Bread Company now has a remote office in Macon. You will configure the remote router to establish an asynchronous connection to your router.

Notes: 

Lab Tasks:

  1. Cable the equipment as shown in the diagram.
  2. Log into the Macon router and enter global configuration mode.
  3. Configure the following basic information into the router:
  • Configure the hostname Macon on the router.
  • Configure the router to prevent the lookup of misspelled words.

What is the command to prevent the lookup of misspelled words?

  • Configure the enable password to be cisco.
  • Configure the FastEthernet 0/0 interface with the IP address 192.168.0.1/24.

Did the interface go up?

  • Configure the line VTY 0 4 to request a login with the cisco password.
  1. Configure the serial interface for async operation. The commands to configure the serial interface for async operation are :

Macon(config)#interface serial 0/1
Macon(config-if)#physical-layer async
Macon(config-if)#ip address 10.1.1.2 255.255.255.0

  1. This async line will establish a point-to-point protocol connection to Atlanta. The commands to configure this interface are:

Macon(config-if)#encapsulation ppp
Macon(config-if)#keepalive 10
Macon(config-if)#async mode dedicated
Macon(config-if)#no cdp enable

Below is a brief description of each of the above commands.

Encapsulation ppp Allows PPP to be run on this interface
Keepalive  10 Forces the router to send keepalive packets to the other router
Async mode dedicated This locks the interface for PPP only. No EXEC service
No cdp enable Turns CDP off on this interface
  1. We must now configure a few dialer commands to tell this interface how to behave. These commands are:

Macon(config-if)#dialer in-band
Macon(config-if)#dialer idle-timeout 300
Macon(config-if)#dialer wait-for-carrier-time 60
Macon(config-if)#dialer hold-queue 50
Macon(config-if)#dialer-group 1
Macon(config-if)#no logging console

Below is a brief description of each of the above commands.

dialer in-band Allows us to dial multiple numbers if necessary
dialer idle-timeout 300 Drops connection if there is no traffic for 5 mins.
dialer wait-for-carrier-time 60 Allows up to 1 min. for the connection to occur
dialer hold-queue Holds up to 50 Packets while the call is being setup
dialer-group 1 Places this interface in group #1. This is the same as the access-group command for dialers.
No console logging Stop all the messages from cluttering your terminal
  1. We must now map an IP address to the telephone number of the Atlanta router and tell the router what modem-script to use. The command is:

Macon(config-if)#dialer map ip 10.1.1.1 name atlanta modem-script hayes56k broadcast 5556001

  1. To find out the line number of the async interface. Issue the command to view the running-config.
  2. The next step will be to place a password on the dialin line. Continue using cisco as the
    password. The commands to do this are:

Macon(config)#line 2
Macon(config-line)#password cisco
Macon(config-line)#login

  1. Specify the RTS/CTS for flow control and set the line speed with the following commands:

Macon(config-line)#flowcontrol hardware
Macon(config-line)#speed 115200

  1. Set the modem for both incoming and outgoing calls with the following command:

Macon(config-line)#modem inout

  1. Set the stopbits and allow all protocols to be passed to the router through this line with the following commands:

Macon(config-line)#stopbits 1
Macon(config-line)#transport input all

  1. Configure a host to ip mapping. The host to IP mapping must include the port number for the reverse telnet session to the local modem and to the central router. The commands to do this is are:

Macon(config-line)# ip host modem2 2002 192.168.0.1
Macon(config)#ip host atlanta 10.1.1.1

  1. Configure a script for the modem to call Atlanta. The command to do this is:

    Macon(config)#chat-script hayes56k ABORT ERROR "" "AT Z" OK "ATDT \T" TIMEOUT 30 CONNECT \c
  2. Tell the dialer what protocol will be permitted on the dialup connection.

    Macon(config)#dialer-list 1 protocol ip permit
  3. Create a static default router to the central site.

    Macon(conifg)#ip route 0.0.0.0 0.0.0.0 10.1.1.1
  4. Write the configuration to memory.
  5. Move to the Atlanta router to configure it to accept the dialin call from the remote Macon office.
  6. On the Atlanta router, issue the following commands:

    Atlanta(config)#ip host macon 10.1.1.2
    Atlanta(config)#interface serial 0/1
    Atlanta(config)#physical-layer async
    Atlanta(config-if)#ip address 10.1.1.1 255.255.255.0
    Atlanta(config-if)#encapsulation ppp
    Atlanta(config-if)#keepalive 10
    Atlanta(config-if)#async mode dedicated
    Atlanta(config-if)#no cdp enable

  7. Configure a static summary route to the Macon network.

    Atlanta(config)#ip route 192.168.0.0 255.255.0.0 10.1.1.2
  8. Write the running-configuration to memory.
  9. From the Macon router issue the following command:

Macon#ping 172.16.0.1

Record your findings below:

  1. Once the modems connect, issue the command 'Show Dialer" and record you results below:







  2. Leave the router alone for five minutes and see if the async connection drops

Congratulations! You now have a PPP dialin connection from the Macon office to the Atlanta office.