12-03-2011 05:27 AM - edited 03-04-2019 02:30 PM
When setting up PPP on a serial int . Does it matter in what order your type the config for it. For example
interface Serial0/0/0
description Link to Home office
ip address 192.168.1.1 255.255.255.0
encapsulation ppp
ppp authentication chap
clock rate 9600
username R2 password Bob
Also is PPP only for serial interfaces ?
12-03-2011 06:06 AM
Well I don't believe you can just go to an ethernet interface and type 'encapsulation ppp'. That would be just for serial interfaces, but you can run ppp over ethernet, which is called PPPoE. PPPoE can be configured as a point to point
connection between two different ethernet ports. It basically encapsulates ppp inside of an ethernet frame.
12-03-2011 06:23 AM
Ok so when typing it in the CLI do I have to type it in a certain order for it work correctly ?
F.e username bob password cisco
encap ppp
ppp authen chap etc.....
12-03-2011 06:29 AM
http://www.youtube.com/watch?v=HBP8_LqBj44
That should help you out some.
12-03-2011 06:29 AM
Hello James,
John is right. You can directly configure PPP encapsulation only on serial and ISDN interfaces. While PPP can also be used on Ethernet, Frame Relay, ATM or Packet-over-SONET interfaces, these deployments are more complex and for simplicity, I suggest not taking them into consideration now.
Regarding the order of configuration commands, the only rule is to issue the encapsulation ppp before entering PPP-specific commands like ppp authentication, ppp pap, ppp chap, etc. Otherwise, the order does not matter.
Your configuration has a small inaccuracy - the username command would not be placed into the interface configuration but rather in the global configuration level, even if you issue that command in interface configuration mode.
Best regards,
Peter
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide