08-27-2005 12:49 AM - edited 03-03-2019 10:22 AM
i have 2 805 routers & 2 us robotics modem.
i want dial from my branch office to H.O,one pair i will use in H.O & one in branch
can anybody give me the configuration.
Regds
Binoy.
08-27-2005 02:31 AM
Hello Binoy,
here is a sample configuration (for one side, change the IP addressing and username/passwords for the other side):
Current configuration:
!
version 12.0
no service pad (default)
service timestamps debug uptime (default)
service timestamps log uptime (default)
no service password-encryption (default)
hostname Cisco805
enable secret xxxx
ip subnet-zero
no ip domain-lookup
chat-script dial "" AT OK "\patdt\T" TIMEOUT 60 CONNECT \C
!This generic chat script is known to work. For information on !customizing your chat script, refer to the Dial Solutions Configuration !Guide.
interface Ethernet0
ip address 10.1.1.1 255.255.255.0
no ip directed-broadcast (default)
ip nat inside
!
interface Serial0
physical-layer async
no ip address
no ip directed-broadcast (default)
encapsulation ppp
dialer in-band
dialer pool-member 1
async mode dedicated
ppp authentication chap pap callin
ppp chap hostname chapisp
ppp chap password abra
ppp pap sent-username xxxx password xxxx
!
interface Dialer1
ip address negotiated
no ip directed-broadcast (default)
encapsulation ppp
dialer remote-name isp
dialer idle-timeout 500
dialer string 5551111 modem-script dial
dialer pool 1
dialer-group 1
no cdp enable
ppp authentication chap pap callin
ppp chap hostname chapisp
ppp chap password abra
ppp pap sent-username papisp password cadabra
ip nat outside
!
no ip http server (default)
ip classless (default)
!
ip route 0.0.0.0 0.0.0.0 dialer 1
dialer-list 1 protocol ip permit
ip nat inside source list 1 interface dialer 0 overload
access-list 1 permit 10.0.0.0 0.255.255.255
!
line con 0
exec-timeout 10 0 (default)
password 4youreyesonly
login
transport input none (default)
stopbits 1 (default)
line 1
modem InOut
transport input all
speed 115200
flowcontrol hardware
line vty 0 4
password secret
login
!
end
The sample configuration comes from this document:
Cisco 805 Router Software Configuration Guide
HTH,
GP
08-27-2005 02:45 AM
Hi GP
thanks a lot.
i would like to know one more thing.
my IOs version is 12.2 - 28a, hope all the commands will work.when you configure PAP or CHAP authentication
do we need to consider the username and password.i mean
the name of central router should be the password of other router something like that.
currently which version of IOS r u using.
Thanks & Regds
Binoy.
08-27-2005 03:26 AM
Hello Binoy,
the configuration is for IOS 12.0, so all the commands should be the same for your IOS version.
Regarding the authentication: the username should be the name of the router, make sure that the passwords match on both sides.
So, for CHAP, the configuration should be:
HQRouter#
!
username BranchRouter password cisco
!
interface Serial0
ppp authentication chap
!
interface Dialer1
ppp authentication chap
BranchRouter#
!
username HQRouter password cisco
!
interface Serial0
ppp authentication chap
!
interface Dialer1
ppp authentication chap
And for PAP authentication:
HQRouter#
!
username BranchRouter password cisco
!
interface Serial0
ppp authentication pap
ppp pap sent-username HQRouter password Cisco
!
interface Dialer1
ppp authentication pap
ppp pap sent-username HQRouter password Cisco
BranchRouter#
!
username HQRouter password cisco
!
interface Serial0
ppp authentication pap
ppp pap sent-username BranchRouter password Cisco
!
interface Dialer1
ppp authentication pap
ppp pap sent-username BranchRouter password Cisco
Can you try and see if that works for you ?
Regards,
GP
08-27-2005 04:10 AM
ok let me check the routers and i will get back to you.
thanks for your support.
Regds
Binoy
08-29-2005 04:27 AM
08-29-2005 05:50 AM
Hello Binoy,
I found the following in both your configs:
ip nat inside source list 1 interface Dialer0 overload
Can you change that to:
ip nat inside source list 1 interface Dialer1 overload
and see if that makes a difference ?
Regards,
GP
08-29-2005 08:14 PM
Thanks GP i will get back to you.
Regds
Binoy.
08-29-2005 09:06 PM
Hi GP i changed that particular line now its
ip nat inside source list 1 interface dialer 1 overload
now its dialing but inteface se0 is doing down.bcoz of some unBIND issue.
please check the attached file, debug info.
thanks
Binoy.
08-29-2005 09:41 PM
08-29-2005 10:05 PM
Hello Binoy,
it looks like for some reason your PPP is not working right. Try and configure your CHAP authentication just as:
interface Serial0
ppp authentication chap
on both routers (that is, take out the rest of the CHAP configuration, such as 'callin).
Which brand of modem are you using ? Can you post the output of 'debug modem' ?
Regards,
GP
08-29-2005 10:34 PM
hi GP
please find the DEBUG MODEM output
my modem is US Robotics 56k FaxModem
model is 5630B
i will remove the callin and check.will update you.
i'm in big pressure i need to resolve this issue.
thank you very much for your support.
Binoy
08-29-2005 10:40 PM
08-30-2005 09:14 PM
Hi GP
can you please give some inputs regarding this.
Binoy.
08-31-2005 12:41 AM
Hello Binoy,
for some reason your modem is not connecting properly.
Under your line configuration, try and configure:
modem autoconfigure discovery
or type:
modem autoconfigure type ?
and check if your modem type is listed as a modemcap there.
Also, on your serial interface, add the command:
async default-routing
Regards,
GP
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