Documente Academic
Documente Profesional
Documente Cultură
We must have to
choose the correct connection type. Most carriers offer three connection types:
1. Circuit-switched connections
2. Packet-switched or cell-switched connections
3. Dedicated connection
Circuit-switched connections:
Asynchronous dial-in (PSTN) and ISDN services, the telephone companies use circuit switching.
HDLC
HDLC would be the protocol with the least amount of configuration required to connect these
two locations. HDLC would be running over the WAN, between the two locations.
PPP
PPP or Point-to-Point Protocol is a type of Layer 2 protocol (Data-link layer) used mainly for
WAN. PPP features two methods of authentication:
PAP (Password Authentication Protocol) and
CHAP (Challenge Handshake Authentication Protocol)
PAP sends the password in clear text and CHAP sends the encrypted password
PPP encapsulation is possible only over a serial link.
PPP encapsulates Layer 3 data over point-to-point links.
PPP uses a Network Control Protocol (NCP) component to encapsulate multiple protocols and
uses Link Control Protocol (LCP) to set up and negotiate control options on the data link.
PPP supports multivendor devices.
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface serial 0/1/0
Router(config-if)#ip address 103.13.148.1 255.255.255.248
Router(config-if)#no shutdown
Router(config-if)#exit
Ashish(config)#interface fastEthernet 0/0
Ashish(config-if)#ip add
Ashish(config-if)#ip address 192.168.10.1 255.255.255.0
Ashish(config-if)#no shut
Ashish(config-if)#no shutdown
Router(config)#hostname Ashish
Ashish(config)#username buet privilege 15 password cisco
Ashish(config)#interface serial 0/1/0
Ashish(config-if)#encapsulation ppp
Ashish(config-if)#ppp authentication chap
Ashish(config-if)#exit
For PPP configuration we must configure hostname and username. In this router username will
be the hostname of peer router , i.e. buet
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname buet
In this router username will be the hostname of peer router , i.e. Ashish
Verification :
C:\>ping 192.168.20.2
The clock rate will set the speed. It doesn’t matter much what clock speed we use. We can
use a command to verify that the DTE router has received the clock rate:
In the example above Ashish is the DTE side and it has received a clock rate. Show controllers
is a useful command when you don’t have physical access to your hardware so you don’t know
which side of the cable is DTE or DCE.