Recent Posts

Wednesday 23 August 2017

PAP (Password Authentication Protocol) Configuration

PAP (Password Authentication Protocol) Configuration

Hi !!! Everyone on this tutorial we are going to learn today about how to configure PAP (Password Authentication Protocol).

What do you know about PAP ?
password authentication protocol (PAP) is an authentication protocol that uses a password. PAP is used by Point to Point Protocol to validate users before allowing them access to server resources. Almost all network operating system remote servers support PAP. 
PAP transmits encrypted ASCII passwords over the network and is therefore considered insecure. It is used as a last resort when the remote server does not support a stronger authentication protocol, like CHAP or EAP (the latter is actually a framework). 

Password-based authentication is the protocol that two entities share a password in advance and use the password as the basis of authentication. Existing password authentication schemes can be categorized into two types: weak-password authentication schemes and strong-password authentication schemes. In general, strong-password authentication protocols have the advantages over the weak-password authentication schemes in that their computational overhead are lighter, designs are simpler, and implementation are easier, and therefore are especially suitable for some constrained environments. 

PAP works basically the same way as the normal login procedure. The client authenticates itself by sending a user name and an (optionally encrypted) password to the server, which the server compares to its secrets database. This technique is vulnerable to eavesdroppers who may try to obtain the password by listening in on the serial line, and to repeated trial and error attacks.

Now let us apply in packet tracer with the following topology given below in screen shots.



For the first step in the router, Let us apply IP addresses on the interfaces and change the state of the interface from down to UP. So that they can communicate.

Configure on Router R1


Similarly, we have to make sure about serial interface are given properly.


The next step we should do is that by assigning the ip address according to the respective PCs. 





IP configuration on Router R2



We have to mention the serial interface in the router R2 to change state from down to up.



In this stage we can see that the routers and the PCs are connected by the change of red to green color.

Now, we know that PCs that are attached cannot communicate until we apply a routing mechanism. 

In this case we are applying the RIPv2 protocol. Apply the following set of commands on both routers. We have also set the hostname of the router which will be useful to us later.



We should now set the commands as well as on Router R2.



Finally, we could communicate between both PC0 and PC1.



Now we can set authentication, in this Router that we are going to apply PAP.


As we set the authentication on one router the communication is disabled.

Let us set the other Router as well.



Thus, it is successfully done in both routers which are authenticating each other Now, if we run show run command in enable mode. We can see the authentication enabled in router.

Therefore, if we run show run command in enable mode. We can see the authentication enabled in router.




Therefore, we have successfully completed our PAP configuration lab in packet tracer version 7.0.











No comments:

Post a Comment

Popular Posts