republican-creole
site Search:


 
    All Forums Hot Topics Gallery






how-to block ads


 
Search Topic:
Uniqs:
6065
Share Topic
Posting?
Post a:
Post a:
Links: ·Submit a new forum topic ·Forum FAQ ·Submit a FAQ ·Docs Guidelines and Advisories ·EOS/EOL thread
AuthorAll Replies

Asimov

join:2010-06-29

[Config] Configuring an 877W for use on BT Broadband help please

Hi,
I have been playing around with this router for some time now, and i think i have the basic idea of it.

What i need is the basic configuration for connecting it to a BT ADSL Broadband line.

I have used the CLI, and also tried CCP.

Can anyone help please.

Thanks


TomS_
Git-r-done
Premium,MVM
join:2002-07-19
London, UK
kudos:4

Re: [Config] Configuring an 877W for use on BT Broadband help pl

Take a look in the Forum FAQ, specifically:

»Cisco Forum FAQ »Generic PPPoA configuration w/ dynamic address

If you get stuck, you may then ask further questions.

cramer

join:2007-04-10
Raleigh, NC
kudos:7

One thing about that FAQ... "ip route 0 0 dialer1" is not recommended. Let PPP from the interface set the default route.

Here's my dialer setup for bellsouth (the important parts):

interface Dialer1
 description Bellsouth.net DSL
 ip address negotiated
 ip nat outside
 encapsulation ppp
 dialer pool 1
 dialer vpdn
 ppp chap hostname ...
 ppp chap password ...
 ppp ipcp header-compression ack
 !! (optional) dns servers for dhcp server
 ppp ipcp dns request
 !! make this the default route
 ppp ipcp route default
 

ATM interface for reference:
interface ATM0
 no ip address
 atm bandwidth dynamic
 no atm auto-configuration
 no atm ilmi-keepalive
 no atm address-registration
 no atm ilmi-enable
 atm pppatm link reset
 !! you can set this to auto
 dsl operating-mode ansi-dmt
!
interface ATM0.1 point-to-point
 pvc dsl 8/35 
  pppoe max-sessions 1
  dialer pool-member 1
  protocol ppp dialer
 


TomS_
Git-r-done
Premium,MVM
join:2002-07-19
London, UK
kudos:4

1 edit

said by cramer:

One thing about that FAQ... "ip route 0 0 dialer1" is not recommended. Let PPP from the interface set the default route.
Interesting. Do you have a reference to that recommendation? Ive always used a static route, never had a problem...

edit: I do realise there is an advantage to not having a static route in the config, that being when the PPP session goes down, the default route disappears, and other forms of routing/static routes can take precedence...

cramer

join:2007-04-10
Raleigh, NC
kudos:7

1 edit

With the default route, packets will be forced to that interface, always -- dialer interfaces are always up (spoofed). If the dialer interface is down -- because the dsl interface is down (read: unbound), packets will be accepted and "lost" because there's nothing on the other side of the dialer. On the other hand, with no default route, an ICMP error is generated (dest unreachable, no route) because there's no route when the PPP session is down -- unless the router is configured to not generate them [no ip unreachables].

Plus, it's completely unnecessary. The dialer will bind the instant the PVC is available. And PPP (IPCP) will set the default route once negotiated. This is not an "ondemand" dialer interface where traffic initiates the connection; the PVC's state will maintain the process.



TomS_
Git-r-done
Premium,MVM
join:2002-07-19
London, UK
kudos:4

Yes, I am aware of the whole up/down thing with Dialer interfaces. What I am interested in is the recommendation you speak of to not use a static route.

Or is this your recommendation, which I agree with in theory, but in practice unless theres a specific reason to not use a static route (i.e. because of how your failover/backup mechanism works), I dont think its all that worth worrying about and a static will be fine. IMO anyway.


cramer

join:2007-04-10
Raleigh, NC
kudos:7

I'm not sure where I learned that. All of Cisco's documentation is cut-n-paste from dial-on-demand configs (i.e. analog modem days) -- and they're 5+ years old. The only thing I found in support of an explicit default route was 12.4(15)T specific -- and even then it's only necessary for dial-on-demand or when there are multiple clients per PVC. All the other docs include it with no explanation or reason (other than a holdover from dial-on-demand.)

I tested with my DSL router, and stand firmly behind no default. With an interface default, packets are routed blistfully into oblivion when DSL is down. Sans default, when DSL is down (thus PPP) there is no route and ICMP messages are generated as a result. That's the difference between an application waiting for a connection timeout vs. immediately failing.



Covenant
Premium,MVM
join:2003-07-01
England

reply to Asimov
I think we should qualify both the recommendations as "personal preference".

cramer See Profile is right as regards the ICMP unreachable messages being sent but that is assuming a number of things:

1.) That there is no other default route with a higher AD elsewhere on the router.
2.) That the application that is timing out will take note of ICMP unreachable messages and close the socket. Not all applications respect ICMP and hence they will wait for the timeout anyway as they continuously try and re-transmit the packet regardless. So in theory, it should work, in practice, nope. IE is an example... it will sit there trying despite the unreachable messages.

Another thing to consider is the code classification of ICMP type 3 messages, sent by the router? Are they code 0 or 1? 1 is the most common one I have seen on the Cisco platform in the situation described above.

Depending on the network model of the application, these responses may be ignored or acted upon, thus is the Cisco router's response to no default route actually helpful to the application if it wanted this information?

PPP IPCP route default is common in virtual-template implementations or as TomS_ See Profile suggested, fail over. Default route via dialer is common in single site implementations without any mechanism of fail over.

Personal preference is the only selection criterion as both methods have the same timeouts despite IPCP default route being the better method on paper, it is not so in practice as most applications do not care and will try re-transmitting regardless.

So you are both right in practice.
--
A word to the wise ain't necessary, it's the stupid ones who need the advice!


cramer

join:2007-04-10
Raleigh, NC
kudos:7

And don't forget... the router can be set not to generate unreachables -- which is very common as a rather lame "security feature" (cisco's own security scanner will recommend/demand setting no unreachables on every interface when the only one that needs it is the internet facing one.)


cramer

join:2007-04-10
Raleigh, NC
kudos:7

reply to TomS_

said by TomS_:

Do you have a reference to that recommendation?
FWIW, Here's someone else suggesting the same. (4 years ago)


Covenant
Premium,MVM
join:2003-07-01
England

I think TomS_ See Profile was specifically looking for Cisco documentation, but I may be wrong.

Also, proxy-arp is mistakenly mentioned in the other post and its relationship is incorrect with respect to static routes and dialer interfaces in PPPoE which may be due to protocol confusion. Proxy arp is not relevant in the decision making process of choosing either a static route via a dialer interface or the use of the command IPCP default route.
--
A word to the wise ain't necessary, it's the stupid ones who need the advice!


lordanderson

join:2010-08-18

reply to TomS_

Re: [Config] Configuring an 877W for use on BT Broadband help pl

I have a similer prblem:

I am new to cisco devices. I change DLink router with Cisco 877w and it can't connect to the internet

after configuring it with SDM/Cisco Configuration Assistant. please, i need help urgently. bellow are my internet seeting and my router settings.
help Plsssssssssssssssssssssssssss

SETTINGS FROM ISP:
* ISP name: O2 Broadband

* Multiplexing method: LLC-Based

* VPI: 0

* VCI: 101

* Username: n/a

* Password: n/a

* Static IP: 188.220.69.20

* Subnet Mask: 255.255.248.0

* Default Gateway: 188.220.40.1

* DNS servers: 87.194.255.154
87.194.255.155

* NAT: enable

SETTINGS FROM MY CISCO 877w:

LORD#sh run
Building configuration...

Current configuration : 4717 bytes
!
version 12.4
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname LORD
!
boot-start-marker
boot-end-marker
!
logging message-counter syslog
logging buffered 51200 warnings
enable secret 5 $1$o8D7$9IfytChh0t3yJUbkq5iDp1
!
no aaa new-model
!
crypto pki trustpoint TP-self-signed-45584425
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-45584425
revocation-check none
rsakeypair TP-self-signed-45584425
!
!
crypto pki certificate chain TP-self-signed-45584425
certificate self-signed 01
3082024B 308201B4 A0030201 02020101 300D0609 2A864886 F70D0101 04050030
2F312D30 2B060355 04031324 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 34353538 34343235 301E170D 31303038 31373038 34363435
5A170D32 30303130 31303030 3030305A 302F312D 302B0603 55040313 24494F53
2D53656C 662D5369 676E6564 2D436572 74696669 63617465 2D343535 38343432
3530819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281 8100D3B8
B2F9D42F FE2D1865 EE760324 38B03DEA CAB8D9EE B6D4DDED 63589DCE DDFC7055
C17F6381 1CAD9C70 0BB8C51A F7649294 448887AB 9A9E90ED A7345AD1 602449D4
CB456F2A 4E4D3135 00931FDE 39EA5C50 B6BB7C75 CFE896C4 68BBB08E 41AC0A14
73DCCCC9 BDC95534 FDC4FADF 4C659F8D 70CDA905 03314380 CD1F9238 9CC90203
010001A3 77307530 0F060355 1D130101 FF040530 030101FF 30220603 551D1104
1B301982 17796F75 726E616D 652E796F 7572646F 6D61696E 2E636F6D 301F0603
551D2304 18301680 142BA3D9 33302863 A253D15A C9351E50 DA414CE6 9A301D06
03551D0E 04160414 2BA3D933 302863A2 53D15AC9 351E50DA 414CE69A 300D0609
2A864886 F70D0101 04050003 8181006E D3A7A65B C8962F67 8BC61B8C 87147ECE
63AA977C 91C85BF5 DFF1DA8F ACB45C69 7B1F604A DA05C913 91CDECC9 2A9C21FC
468F84A2 6A339062 C6F25FFE 843D074B FBFD79D3 C72074D1 51288168 E4E0342B
93E2A857 36D4D2A1 75E97992 72CC9968 1E70812E 0175C445 9A825A90 4F50D2EC
5B033F9B 61CA442B 89D31E2F BADEBF
quit
dot11 syslog
ip source-route
!
!
ip dhcp excluded-address 10.10.10.1
!
ip dhcp pool sdm-pool
import all
network 10.10.10.0 255.255.255.248
default-router 10.10.10.1
lease 0 2
!
!
ip cef
no ip domain lookup
ip domain name lordanderson.com
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
username lord privilege 15 secret 5 $1$Ha6F$NxC/xCQCKDGQZH58k8UhY.
!
!
!
archive
log config
hidekeys
!
!
!
bridge irb
!
!
interface ATM0
no ip address
no atm ilmi-keepalive
!
interface ATM0.1 point-to-point
ip address 188.220.69.20 255.255.248.0
pvc 0/101
encapsulation aal5mux ip
!
!
interface FastEthernet0
!
interface FastEthernet1
!
interface FastEthernet2
!
interface FastEthernet3
!
interface Dot11Radio0
no ip address
shutdown
speed basic-1.0 basic-2.0 basic-5.5 6.0 9.0 basic-11.0 12.0 18.0 24.0 36.0 48.0
54.0
station-role root
!
interface Vlan1
description $ETH-SW-LAUNCH$$INTF-INFO-HWIC 4ESW$
no ip address
ip tcp adjust-mss 1452
bridge-group 1
!
interface Vlan2
no ip address
bridge-group 2
!
interface Vlan83
no ip address
bridge-group 83
!
interface Vlan99
no ip address
bridge-group 99
!
interface BVI1
description $ETH-SW-LAUNCH$$INTF-INFO-HWIC 4ESW$
ip address 10.10.10.1 255.255.255.248
ip tcp adjust-mss 1452
!
interface BVI2
no ip address
!
interface BVI83
no ip address
!
interface BVI99
no ip address
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 188.220.40.1
ip http server
ip http authentication local
ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
!
!
!
!
!
!
!
!
control-plane
!
bridge 1 protocol ieee
bridge 1 route ip
bridge 2 protocol ieee
bridge 2 route ip
bridge 83 protocol ieee
bridge 83 route ip
bridge 99 protocol ieee
bridge 99 route ip
banner login ^C
-----------------------------------------------------------------------

-----------------------------------------------------------------------
^C
!
line con 0
login local
no modem enable
speed 19200
line aux 0
line vty 0 4
privilege level 15
login local
transport input telnet ssh
!
scheduler max-task-time 5000
end

LORD#

cramer

join:2007-04-10
Raleigh, NC
kudos:7

reply to Asimov

interface ATM0.1
 ip nat outside
interface BVI1
 ip nat inside
 
ip access-list standard local-net
 permit 10.10.10.0 0.0.0.7
ip nat inside source list local-net interface atm0.1 overload
 

Tuesday, 21-May 06:28:06 Terms of Use & Privacy | feedback | contact | Hosting by nac.net - DSL,Hosting & Co-lo
over 13.5 years online © 1999-2013 dslreports.com.
Most commented news this week
Hot Topics