07-17-2012 02:47 AM - edited 03-04-2019 04:59 PM
Hi,
we have cisco 1801 router and want to configure for PPPoE.As our ISP has provided adsl connection having following settings:
Encapsulation: PPPoE
Multiplexing: LLC based
VPI = 0
VCI = 103
Login =xxxxx
Password =xxxxx
IP: dynamically from ISP
I am new to configure cisco router.Please tell us complete steps for configuring cisco router 1801 for above configuration.
Solved! Go to Solution.
07-17-2012 03:46 AM
Hi Rabnawaz,
Thank you! Please add the following commands to your configuration after replacing the YOUR_LOGIN and YOUR_PASSWORD with your true ISP credentials (enter the configuration mode first using the enable and configure terminal commands):
ip routing
ip cef
interface atm0
no shutdown
pvc 0/103
pppoe-client dial-pool-number 1
interface dialer0
dialer pool 1
encapsulation ppp
ppp pap sent-username YOUR_LOGIN password YOUR_PASSWORD
ppp chap hostname YOUR_LOGIN
ppp chap password YOUR_PASSWORD
ppp ipcp dns request accept
ip address negotiated
ip nat outside
ip mtu 1492
ip tcp adjust-mss 1452
interface vlan1
ip address 192.168.1.1 255.255.255.0
ip nat inside
no shutdown
ip access-list standard NAT
permit 192.168.1.0 0.0.0.255
ip nat inside source list NAT interface dialer0 overload
ip route 0.0.0.0 0.0.0.0 dialer0ip dhcp excluded-address 192.168.1.1 192.168.1.10
ip dhcp pool LAN
network 192.168.1.0 /24
default-router 192.168.1.1
import all
This configuration should
Please try it out and let me know if it worked. Thank you!
Best regards,
Peter
07-17-2012 02:58 AM
Hello Rabnawaz,
Configuring the 1801 router for PPPoE access to DSL should be fairly easy. However, to know how the interfaces on your 1801 router are currently named and numbered, can you capture the entire output of the show running-config command and post it here?
Thank you!
Best regards,
Peter
07-17-2012 03:26 AM
Here is the configuration:
Current configuration : 1460 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname JSRouter
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$9fud$zjln8FSnh0hNR8TVxcIqp.
enable password xxxxxx
!
no aaa new-model
!
!
dot11 syslog
no ip routing
!
!
no ip cef
!
!
!
multilink bundle-name authenticated
!
!
!
!
archive
log config
hidekeys
!
!
!
!
!
interface ATM0
no ip address
no ip route-cache
shutdown
no atm ilmi-keepalive
dsl operating-mode auto
!
interface BRI0
no ip address
encapsulation hdlc
no ip route-cache
shutdown
no cdp enable
!
interface FastEthernet0
no ip address
no ip route-cache
speed auto
full-duplex
no cdp enable
!
interface FastEthernet1
shutdown
no cdp enable
!
interface FastEthernet2
shutdown
no cdp enable
!
interface FastEthernet3
shutdown
no cdp enable
!
interface FastEthernet4
shutdown
no cdp enable
!
interface FastEthernet5
shutdown
no cdp enable
!
interface FastEthernet6
shutdown
no cdp enable
!
interface FastEthernet7
shutdown
no cdp enable
!
interface FastEthernet8
shutdown
no cdp enable
!
interface Vlan1
no ip address
no ip route-cache
shutdown
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
!
!
!
!
!
!
control-plane
!
!
line con 0
exec-timeout 0 0
line aux 0
line vty 0 4
password xxxxxx
login
!
no process cpu extended
no process cpu autoprofile hog
end
07-17-2012 03:46 AM
Hi Rabnawaz,
Thank you! Please add the following commands to your configuration after replacing the YOUR_LOGIN and YOUR_PASSWORD with your true ISP credentials (enter the configuration mode first using the enable and configure terminal commands):
ip routing
ip cef
interface atm0
no shutdown
pvc 0/103
pppoe-client dial-pool-number 1
interface dialer0
dialer pool 1
encapsulation ppp
ppp pap sent-username YOUR_LOGIN password YOUR_PASSWORD
ppp chap hostname YOUR_LOGIN
ppp chap password YOUR_PASSWORD
ppp ipcp dns request accept
ip address negotiated
ip nat outside
ip mtu 1492
ip tcp adjust-mss 1452
interface vlan1
ip address 192.168.1.1 255.255.255.0
ip nat inside
no shutdown
ip access-list standard NAT
permit 192.168.1.0 0.0.0.255
ip nat inside source list NAT interface dialer0 overload
ip route 0.0.0.0 0.0.0.0 dialer0ip dhcp excluded-address 192.168.1.1 192.168.1.10
ip dhcp pool LAN
network 192.168.1.0 /24
default-router 192.168.1.1
import all
This configuration should
Please try it out and let me know if it worked. Thank you!
Best regards,
Peter
07-17-2012 05:19 AM
Yes it works!!!!!!!!!!!!!!!!!!! Thanks.
But how to check bandwidth from cisco router and also its logs to confirm that is everything is ok?
I have checked internet speed from website speedtest.net and it gives about download 0.8 Mbits/sec and upload 0.4Mbits/sec.However my internet connection is 2Mbits/sec.Also how to verify it from checking directly from router.
Also in case of any failure in internet connection.How to check router logs to find out reason of failure.
07-17-2012 07:32 AM
Hello,
You are welcome.
Regarding the connection speed - try issuing the show dsl interface atm 0 and post the results here. This command displays information about the physical parameters of the DSL connection. Some vital information may be present there. Also, in general, the pages that measure the alleged speed are often notorious for being imprecise. Try downloading a large file from a server that has no performance bottlenecks itself, for example:
http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.4.5.tar.bz2
In general, it is not possible to verify the download speed from the router itself. The router can tell you about the operation mode of the DSL line and about selected parameters that affect its speed limits, however, performance tests have to be done from a standalone PC.
Regarding the logging, again, the router is not going to store detailed infomation about why the connection failed. In many cases, it does not even know. It is up to you to use various show and debug commands to narrow down the possible cause of the outage.
Would you mind posting your current configuration again? Remove the passwords, though.
Best regards,
Peter
10-10-2017 02:39 PM
Hi guys,
i'm too i have my speed low, after configure my 1801, normaly the speed average is around 10 to 9 mbps, but with cisco router the max speed that we get is 6 to 7 mbps, do you have any idea?
Best regards
Cahrlie.
01-20-2017 06:12 AM
Hi thank you
it's working even with ROUTER cisco 800.
Thank you for the configuration.
have a good day.
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