Cisco Router Basic Configuration - PPPoE, PPPoE w/ VLAN, NAT, DHCP, SSH & Telnet

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hi guys this is d igor tech today we are going to do an actual configuration on this 1921 cisco router we will configure pppoe ppoe with vlan id dhcp ssh and telnet remote access i will show you the step-by-step configuration if you are new to my channel please don't forget to like share subscribe and click on the notification bell for more amazing tutorials thank you let's proceed first i will connect my console cable to the console port and connect the other end which is usb to my laptop this would be our network diagram there's no isp router so the pppoe will be configured on the cisco router port gigabit ethernet 0-0 the gigabit ethernet 0-1 would be for my lan with network 192.168.1.0.24 subnet mask now let's open the putty to check the communication port number go to search type device and select device manager scroll down and look for ports in my case it's com4 go back to the putty and enter the serial communication port number leave the speed to 9600 and connection type to serial click open i just reset this cisco router so i'm being asked if i want to enter initial configuration i assume that you already have some basic knowledge of cli and how to navigate between different configuration modes we are currently on user exec mode so type enable to enter privileged exec mode configure terminal to enter global configuration mode let's check the ios version you can see the running version is 15.1 let us set the host name enter the command no ip domain lookup to disable the dns lookup feature if in case of incorrect commands or typo now let's proceed with the pppoe configuration we have two options so you have to choose which configuration suits your requirements first option is pppoe without vlan id second option is pppoe with vlan id some isps requires vlan ids like in my case it requires vlan 500 so i have to configure sub interface for vlan tagging let's configure the first option pppoe without vlan id going back to our network diagram gigabit ethernet 0 0 is for r1 so we have to configure pppoe on that interface interface gigabit ethernet 0 0 enter no shutdown since by default the interfaces are shut down no ip address pppoe enable group global pppoe client dial pool number you can choose any from 1 to 255. we will use pool number one next is we will configure dialer for the pppoe interface dialer you can choose any from 1 to 11.99 we will use dialer interface 0. again no shutdown next is the ip address configuration address we are not going to set statically or dhcp we will set it negotiated over ppp encapsulation we will choose ppp or point to point protocol iptcp adjust mss we will use recommended which is 14.52 next is we will specify the dialer pool we will set the same with the dial pool which is one for the ppp authentication we can configure either chap or pap or even both we will set pap for now and later on i will show you how to configure both ppp pap sent username input the username provided by your isp which in my case jack bayani at unify followed by password and enter the password provided which in my case is all as well you can do show history to view the command's history or all the previous commands entered we can also do show run to check the running configuration here is the interface configuration go further and you will see the dialer and pppoe configuration that's how to configure pppoe without vlan now i will show you how to configure pppoe with vlan id but first i will delete the configuration we entered assuming it's a new device or newly factory reset i will do it quick then we can proceed let's check the running configuration again you can see the gigabit ethernet 0 0 has no configuration and also the dialer 0 has been removed we will now configure the pppoe with vlan id since i explained to you the configuration we will do it quick for now interface gigabit ethernet 0-0 no shutdown no i p address iptcp adjust mss1452 now we have to configure the sub interface and trunk interface gigabit ethernet 0 0.500 i used 500 for reference since the vlan id is 500 encapsulation.1q and the vlan id which is 500 pppoe enable group global pppoe client dial pool number one next is we will configure the dialer interface dialer 0 again you can use number between 0 to 1199 ip address negotiated over ppp encapsulation ppp or point to point protocol dialer pool and the same dial pool number which is one dialer group one ppp authentication earlier we only configured pap however we can also configure chap or pap or even both we will use both ppp authentication method for now we will first configure chap method ppp chap host name followed by the username provided by your isp ppp chat password and also input the password provided by your isp next is we will configure pap method ppp pap sent username followed by your username and password provided by your isp now i will connect the cable to gigabit ethernet 0 0 for the one which we configured the pppoe let's now check the status notice the message that says gigabit ethernet 0 0 changed state to up show ip interface brief to display the status and all interfaces of the router also the ip address assigned to each interface here you can see the dialer zero status which is up and also you can see the public ip that has been assigned that's how to configure pppoe next is we will configure the default static route iproot and eight zeros eight zeros means all this static route instructs the router to send all packets to the dialer 0 which we configured the pppoe next step is we will configure the lan interface and dhcp going back to our network diagram the gigabit ethernet 0-1 is for our lan interface with network 192.168.1.0 with slash 24 subnet mask interface gigabit ethernet 0-1 no shutdown ip address 192.168.1.1 and the subnet mask 24. next is the dhcp service dhcp ipdhcp pool and enter your preferred name we will use lan enter the network address 192.16 and the subnet mask 24. default router is the default gateway 192.168.1.1 dns server we will use google dns and cloudflare dns you can input one or multiple dns lease would be in days we will use two days this means the dhcp leased will expire and renew every after two days next is we will exclude ip addresses from dhcp pool ipdhcp exclude address and the range of ip addresses so starting from 192.168.1.1 to 192.168.1.20 will be excluded the first dhcp ip address would be 192.168.1 to save the configuration you can simply enter wr which is shortcut for write memory or you can enter the command copy running config startup config you can view the dhcp configuration by entering this command show run pipe begin dhcp here you can see the dhcp configuration the gigabit ethernet 0 the sub interface lastly the dialer 0 with the pppoe configuration next is we will configure the nat interface dialer 0 we will net the traffic to dialer 0 not on gigabit ethernet 0 0 it is because the pppoe is configured on this interface ipnat since this is our one interface then we will use outside next is the lan interface gigabit ethernet 0-1 ip-nat we will use inside since this is our lan interface now we need to create an access list which will identify which specific traffic will be translated using nat access list we will use standard access list so we can use one permit and the lan ip192.168.1.0 and followed by the wildcard of 24. next is we will nat this access list created ipnat inside source list and the access list which is 1 net to interface dialer 0 overload this command will create a nat overload or pat rule which tells the router to translate any address identified in access list 1 to the address assigned to dialer 0. the overload keyword allows one public address to be shared among several private internal addresses i will now connect my lan cable to interface gigabit ethernet 0-1 let's check the status interface gigabit ethernet 0-1 changed state to up let's view the interfaces show ip interface brief notice gigabit ethernet 0-1 has now the ip address and the status is up and again you can see the public ip address of the pppoe let's try to ping the google dns success means we can access internet notice the lan icon it shows that we are connected to a network let's open the command prompt type ipconfig to display all current tcp ip network configuration notice the ip address received from dhcp is dot 21 since we excluded excluded.12.20 also the default gateway which we set let's try to ping google dns ping 8.8.8.8 success we can open and test the browser here you can check my other video tutorials now we will check what is my public ip address enter whatismyip.com take note of my public ip address now let's go back to the cisco router you can see the public ip address are identical since the pppoe has been configured on the router lastly we will configure ssh and telnet for remote access first we have to create a password enable secret we will set cisco as our password from now on when you log in from user exec mode you will be asked for a password we will enter the password cisco also you need to configure your domain name now we will generate the rsa key pair crypto key generate rsa at this moment a key size of 2048 bits is acceptable key sizes of 1024 or smaller should be avoided larger key sizes also take longer to calculate notice the message that it says ssh version 1 has been enabled since ssh is enabled we also have to configure the vty lines line vty04 log in local to check the local database for usernames transport input for this demo we will enable ssh and telnet for remote access lastly the username and password this are the details you will use when you try to ssh or telnet to the cisco device now let's close this putty and try to ssh and telnet to the router open the putty again set connection type to ssh enter the gateway or the public ip address ssh port is 22 click open accept this security alert log in using your username and password which in my case is admin and admin now we need to enter the password to enter privileged exec mode in my case it's cisco great ssh access is successful now let's test using telnet remote access connection type is telnet enter the gateway or public ip address of the remote site telnet port is 23 click open again enter your username and password enter your password to go to privileged exec mode great telnet access is also successful well that's all for today's demonstration and i really hope you liked this video kindly check my channel for more amazing tutorials please don't forget to like share subscribe and click on the notification bell for more upcoming videos thank you and see you in the next video
Info
Channel: D' IgoroTech
Views: 3,530
Rating: undefined out of 5
Keywords: cisco router basic configuration - google.com, cisco router basic configuration - youtube.com, how to configure cisco router - google.com, how to configure cisco router - youtube.com, cisco router pppoe configuration, pppoe with vlan, cisco router step by step configuration - youtube.com, cisco router step by step tutorials, cisco router pppoe configuration - google.com, cisco router pppoe configuration - youtube.com, cisco, cisco router configuration guide - google.com, cisco router
Id: HyRnAQHqTIs
Channel Id: undefined
Length: 17min 7sec (1027 seconds)
Published: Thu Sep 16 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.