Point to Point Link Configuration using Cisco Router

Posted on Tuesday, January 5, 2010
This article was posted in Configuration

Below configuration will describes how to configure lease line using Cisco Router.  Here we will be using Cisco 1721 Routers at both the sides ( Central & Branch Side) First of all we will be Configuring ethernet interface with an IP address and a subnet mask.lease_line

Location-A-Router#conf t      
Location-A-Router(config)#interface eth0
Location-A-Router(config-if)#ip address 192.168.10.1 255.255.255.0
Location-A-Router(config-if)#no shut
Location-A-Router(config-if)#end

 
Location-B-Router#conf t      
Location-B-Router(config)#interface eth0
Location-B-Router(config-if)#ip address 172.168.5.1 255.255.255.0
Location-B-Router(config-if)#no shut
Location-B-Router(config-if)#end

 Now we need to configure serial interface. This interface must have an IP address assigned in order for the serial interface to be configured. We will be using 4.2.4.4/30 for this link. In this subnet we will be having two valid IP address 4.2.4.5  and 4.2.4.6 which we will be using in respective locations.

Description is an optional command which we basically use to put remark on the interface so that we can regonise the interface / link easily. By default encapsulation is hdlc in all cisco routers. Only we have to take care that either both the sides should be configured as ppp or hdlc.

Location-A-Router#conf t      
Location-A-Router(config)#interface serial0
Location-A-Router(config)#description = =Link to Location B = =
Location-A-Router(config-if)#ip address 4.2.4.5 255.255.255.252
Location-A-Router(config-if)#encapsulation ppp
Location-A-Router(config-if)#no shut
Location-A-Router(config-if)#end

Location-B-Router#conf t      
Location-B-Router(config)#interface serial0
Location-B-Router(config)#description = =Link to Location A = =
Location-B-Router(config-if)#ip address 4.2.4.6 255.255.255.252
Location-B-Router(config-if)#encapsulation ppp
Location-B-Router(config-if)#no shut
Location-B-Router(config-if)#end

Random Articles

    Random Articles