Powered by Blogger.

Point-to-Point Protocol (PPP) – PAP

You are the Network Administrator at Ranet, and have to config both router Ranet-BR1 and
Ranet-BR2 to allow the connection between Host1 and Host2 via PPP link as below:

(Use Console for config each router)
1. Enable and set IP address on Lan interface for each router to be the last assignable IP address in its own subnet.
2. Enable and set IP address on interface s0/0/0 on Ranet-BR1 to be the first assignable IP in network 192.168.0.224/30
3. Enable and set IP address on interface s0/0/0 on Ranet-BR2 to be the last assignable IP in the same network.
Don’t forget to set clock rate at 64 kbps due to this is the DCE.
4. Set encapsulation on this link to be PPP and use username and password as:
user: ranetpapuser
pass: ranetpappass
by using PAP as authentication protocol
If everything is done, Host1 has to be able to
connect with Host2.
————————- The End ——————————
Solution

Ranet BR1 : 
Ranet-BR1>en
Ranet-BR1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Ranet-BR1(config)#int fa0/0
Ranet-BR1(config-if)#no sh
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Ranet-BR1(config-if)#ip add 192.168.0.62 255.255.255.224
Ranet-BR1(config-if)#int s0/0/0
Ranet-BR1(config-if)#no sh
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to down
Ranet-BR1(config-if)#ip add 192.168.0.225 255.255.255.252
Ranet-BR1(config-if)#encapsulation ppp
Ranet-BR1(config-if)#ppp authentication pap
Ranet-BR1(config-if)#ppp pap sent-username ranetpapuser password ranetpappass
Ranet-BR1(config-if)#exit
Ranet-BR1(config)#username ranetpapuser password ranetpappass
Ranet-BR1(config)#
Ranet-BR1#
%SYS-5-CONFIG_I: Configured from console by console
Ranet-BR1#copy run start
Destination filename [startup-config]?
Building configuration…
[OK]
Ranet-BR1#
Ranet BR2 :
Ranet-BR2>en
Ranet-BR2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Ranet-BR2(config)#int fa0/0
Ranet-BR2(config-if)#no sh
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Ranet-BR2(config-if)#ip add 192.168.0.78 255.255.255.240
Ranet-BR2(config-if)#int s0/0/0
Ranet-BR2(config-if)#no sh
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
Ranet-BR2(config-if)#clock rate 64000
Ranet-BR2(config-if)#ip add 192.168.0.226 255.255.255.252
Ranet-BR2(config-if)#encapsulation ppp
Ranet-BR2(config-if)#ppp authentication pap
Ranet-BR2(config-if)#ppp pap sent-username ranetpapuser password ranetpappass
Ranet-BR2(config-if)#exit
Ranet-BR2(config)#username ranetpapuser password ranetpappass
Ranet-BR2(config)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
Ranet-BR2(config)#
Ranet-BR2#
%SYS-5-CONFIG_I: Configured from console by console
Ranet-BR2#copy run start
Destination filename [startup-config]?
Building configuration…
[OK]
Ranet-BR2#
Host1 : 
(Desktop >Command Prompt)
Packet Tracer PC Command Line 1.0
PC>ping 192.168.0.70
Pinging 192.168.0.70 with 32 bytes of data:
Reply from 192.168.0.70: bytes=32 time=13ms TTL=126
Reply from 192.168.0.70: bytes=32 time=13ms TTL=126
Reply from 192.168.0.70: bytes=32 time=11ms TTL=126
Reply from 192.168.0.70: bytes=32 time=11ms TTL=126
Ping statistics for 192.168.0.70:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 11ms, Maximum = 13ms, Average = 12ms
PC>
—————————— End —————————-
    Blogger Comment
    Facebook Comment