Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cisco ADSL router config

Status
Not open for further replies.

Geyybecca

IS-IT--Management
Joined
Aug 13, 2002
Messages
37
Location
GB
HI I am in the UK and am wanting to set-up a cisco router with a ADSL WIC and replace the BT supplied router. The problem is I am having problems with the config, not helped by the fact BT are very unwilling to give out details of their configs. Things I do know are were using PPPoA VPI = 0 and VCI = 38 authentication is CHAP. There is also mention of VC-MUX and ADSL mode set to auto.

I am unfamiler with configering dialup devices such as ADSL so any help you can give would be greatfully received.

 
Is it for dynamic IP on the ADSL WIC or a static routeable range on the ethernet port?

Chris.
**********************
Chris Andrew, CCNA, CCSA
chris@iproute.co.uk
**********************
 
its a static routable range I have an ADSL WIC which connects to the ADSL line via RJ11 and ethernet for the network
 
Well, it depends on how BT have set their ADSL service up. we use intergrated routing and bridging but BT might not. This is my config ....

!
version 12.2
no parser cache
service nagle
service timestamps debug datetime localtime
service timestamps log datetime localtime
service password-encryption
!
hostname <hostname>
!
logging buffered 10000 debugging
aaa new-model
!
!
aaa authentication login word local
aaa authentication login CONSOLE local
aaa session-id common
enable secret <secret>
!
username <user> password <password>
memory-size iomem 25
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
ip subnet-zero
!
!
ip name-server <dns server 1>
ip name-server <dns server 2>
!
!
bridge irb
!
!
interface ATM0
description ******* ADSL circuit info *******
no ip address
no atm ilmi-keepalive
pvc 0/38
encapsulation aal5snap <check encap type with BT>
!
dsl operating-mode auto
no fair-queue
bridge-group 1
hold-queue 224 in
!
interface FastEthernet0
description ****** Customers real address range for routing ******
ip address <fast ethernet address and netmask>
ip access-group 101 in
no ip redirects
no ip proxy-arp
speed 10
half-duplex
!
interface BVI1
ip address <link address to ADSL access server and netmask>
arp timeout <timeout value>
!
ip classless
ip route 0.0.0.0 0.0.0.0 <next hop address>
no ip http server
ip pim bidir-enable
!
!
access-list 101 remark **** anti-spoofing acl ****
access-list 101 permit ip <IP range and inverse mask> any
access-list 101 deny ip any any log
dialer-list 1 protocol ip permit
!
bridge 1 protocol ieee
bridge 1 route ip
bridge 1 aging-time 3600
banner motd ^CCC
**********************************************************************
**** No Unauthorised Access ****
**********************************************************************

^C
!
line con 0
logging synchronous
login authentication CONSOLE
line aux 0
line vty 0 4
exec-timeout 15 0
!
no scheduler allocate
end

However, as I've said BT might use sub-interfaces on the ATM interface. You're going to have to talk to BT to see what configuration you should use.

Chris.
**********************
Chris Andrew, CCNA, CCSA
chris@iproute.co.uk
**********************
 
ok thanks, here is the config I have put together

hostname OGRouter01
!
enable secret <Secret password>
enable password <Enable password>
!
memory-size iomem 25
ip subnet-zero
no ip domain-lookup
!
isdn switch-type basic-net3
!
!
!
interface ATM0
no ip address
atm vc-per-vp 256
no atm ilmi-keepalive
pvc 0/38
vbr-rt 150 150 30
encapsulation aal5mux ppp dialer
dialer pool-member 1
!
dsl operating-mode auto
no fair-queue
!
interface BRI0
description connected to Internet
no ip address
encapsulation ppp
shutdown
dialer string 08457576333
dialer hold-queue 10
isdn switch-type basic-net3
!
interface FastEthernet0
description connected to EthernetLAN
ip address 217.34.1.174 255.255.255.240
speed auto
half-duplex
!
interface Dialer1
description connected to Internet
ip address negotiated
encapsulation ppp
no ip split-horizon
dialer pool 1
no cdp enable
ppp chap hostname <our BT username>
ppp chap password <our BT password
!
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
ip route 217.34.1.160 255.255.255.240 FastEthernet0
no ip http server
!
dialer-list 1 protocol ip permit
!
line con 0
exec-timeout 0 0
password <password>
login
transport input none
line aux 0
line vty 0 4
password <password>
login
!
no scheduler allocate
end

As I am sure you know trying to get something out of BT is like pulling teeth, can you look at this config and let me know if anything stands out as being wrong ?
 
Well, you can try it. Are you sure that you're using a dial interface when you're routing an IP range? I think that you're going to have to talk to BT's technical dept and ask what is required. There are so many different configurations possibe it all depends on how they've set up their end as to how you set up yours.

Chris.
**********************
Chris Andrew, CCNA, CCSA
chris@iproute.co.uk
**********************
 
do you mean where there is
ip route 0.0.0.0 0.0.0.0 Dialer1

maybe route that through ATM ? if that is what you are saying I think it makes sense. I can't try at the mo as its our works Internet connection, I'll give it a go tonight. I also have a call in to BT and am waiting for a call back.

thanks very much for your help on this much appreceated, I'll let you know how I get on
 
Well, it seems to be working .....


17 213.120.62.30 (213.120.62.30) 34.550 ms 36.835 ms 32.912 ms
18 bthg225.imsnet2.btopenworld.com (62.7.251.26) 18.163 ms 23.512 ms 47.037 ms
19 host217-34-1-174.in-addr.btopenworld.com (217.34.1.174) 133.683 ms 71.033 ms 85.581 ms
[root@caesium chris]# ping 217.34.1.174
PING 217.34.1.174 (217.34.1.174) from 192.168.3.111 : 56(84) bytes of data.
64 bytes from 217.34.1.174: icmp_seq=0 ttl=240 time=3.094 sec
64 bytes from 217.34.1.174: icmp_seq=1 ttl=240 time=2.099 sec
64 bytes from 217.34.1.174: icmp_seq=2 ttl=240 time=1.153 sec
64 bytes from 217.34.1.174: icmp_seq=3 ttl=240 time=154.904 msec
64 bytes from 217.34.1.174: icmp_seq=4 ttl=240 time=735.682 msec
64 bytes from 217.34.1.174: icmp_seq=5 ttl=240 time=100.942 msec
64 bytes from 217.34.1.174: icmp_seq=6 ttl=240 time=54.755 msec
64 bytes from 217.34.1.174: icmp_seq=7 ttl=240 time=104.019 msec
64 bytes from 217.34.1.174: icmp_seq=8 ttl=240 time=53.254 msec
64 bytes from 217.34.1.174: icmp_seq=9 ttl=240 time=85.486 msec

--- 217.34.1.174 ping statistics ---
10 packets transmitted, 10 packets received, 0% packet loss
round-trip min/avg/max/mdev = 53.254/763.600/3094.186/1004.034 ms **********************
Chris Andrew, CCNA, CCSA
chris@iproute.co.uk
**********************
 
Ah, that's on your existing connection! Oh well. Good luck with the ADSL config then.

If you are using a dialer and logging on with a CHAP username/password then your default route will have to point towards dialer1. Check with BT.

Chris.
**********************
Chris Andrew, CCNA, CCSA
chris@iproute.co.uk
**********************
 
yeah thats the BT supplied peace of kit, ok re routing would I need to have the route statment in there or can I leave it off and the route would get added when the dialup interface receives an IP address on connection ?

things I do know are PVC 0/38 I know were using chap so can be sure that part of the connection is ok I have placed a call with BT to find our the encapsulation on the ATM side they have promised a call back within the hour.

for info I am trying this firstly on a Cisco 1720 as and when I get this up and running then I hope to move the WIC to a 2621. I don't suppose you know where I can get hold of the correct IOS
 
You would need to get the IOS from However, you will require a CCO logon. If you don't have any kind of support contract or supplier agreement then you will have to talk to your supplier and get the IOS image off them.

Oh, and you'll need a route statement in there. If you're using a dialer interface then point your default route at dialer1. Just out of interest, what piece of kit do BT have in there at the moment? Is it on an ADSL line at the mo?

Off for a lemsip now <sniff sniff ..>

Chris.
**********************
Chris Andrew, CCNA, CCSA
chris@iproute.co.uk
**********************
 
well tested and its working :-) so for anyone out there who needs to connect to BT fixed IP ADSL here is the config that worked for me

hostname OGRouter01
!
enable secret <password>
enable password <password>
!
memory-size iomem 25
ip subnet-zero
no ip domain-lookup
!
isdn switch-type basic-net3
!
!
!
interface ATM0
no ip address
atm vc-per-vp 256
no atm ilmi-keepalive
pvc 0/38
vbr-rt 150 150 30
encapsulation aal5mux ppp dialer
dialer pool-member 1
!
dsl operating-mode auto
no fair-queue
!
interface BRI0
description connected to Internet
no ip address
encapsulation ppp
shutdown
dialer string 08457576333
dialer hold-queue 10
isdn switch-type basic-net3
!
interface FastEthernet0
description connected to EthernetLAN
ip address 217.34.1.174 255.255.255.240
speed auto
half-duplex
!
interface Dialer1
description connected to Internet
ip address negotiated
encapsulation ppp
no ip split-horizon
dialer pool 1
no cdp enable
ppp chap hostname <username>
ppp chap password <password>
!
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
ip route 217.34.1.160 255.255.255.240 FastEthernet0
no ip http server
!
dialer-list 1 protocol ip permit
!
line con 0
exec-timeout 0 0
password <Password>
login
transport input none
line aux 0
line vty 0 4
password <password>
login
!
no scheduler allocate
end

thanks for all the help
 
Good work!

Just a small note. You don't need the statement &quot;ip route 217.34.1.160 255.255.255.240 FastEthernet0
&quot; as it's a network range that's directly connected to the router. Other than that, cool!

Chris.
**********************
Chris Andrew, CCNA, CCSA
chris@iproute.co.uk
**********************
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top