I am trying to set up a 805 to do DDR to multiple sites using NAT.
I configured a Dialer interface for each site (2 in this example) I want to access, and static routes
mapped to the interfaces to bring up the appropriate one.
The problem I am having is how do I configure NAT when I have 2 (or more) Dialer Interfaces?
This is what I used for a single Dialer interface.
"IP NAT inside source list 1 interface Dialer overload"
"access-list 1 permit 192.168.100.0 0.0.0.255"
It worked just fine with one, but how do I make it work with Dialer1, & Dialer2?
Thanks
Newall
CAPUTER of sh run
Building configuration...
Current configuration : 1702 bytes
!
version 12.1
no service single-slot-reload-enable
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname RAS-Router
!
logging rate-limit console 10 except errors
enable secret 5 $1$C7TL$KpraaOeF/p0QMo1YPLIs0/
!
ip subnet-zero
!
no ip domain-lookup
no ip finger
no ip dhcp-client network-discovery
chat-script dial "" AT OK "\patdt\T" TIMEOUT 60 \C
!
!
!
interface Ethernet0
ip address 192.168.100.2 255.255.255.0
ip nat inside
!
interface Serial0
physical-layer async
no ip address
encapsulation ppp
dialer in-band
dialer pool-member 1
async mode dedicated
ppp authentication chap pap callin
!
interface Dialer1
ip address negotiated
ip nat outside
encapsulation ppp
dialer pool 1
dialer idle-timeout 300 either
dialer string 0014143305673 modem-script dial
dialer-group 1
no cdp enable
ppp authentication chap callin
ppp chap hostname remote1
ppp chap password 7 00084317505F065701
!
interface Dialer2
ip address negotiated
ip nat outside
encapsulation ppp
dialer pool 1
dialer idle-timeout 300 either
dialer string 0014143327345 modem-script dial
dialer-group 1
no cdp enable
ppp authentication chap callin
ppp chap hostname remote2
ppp chap password 7 141B421A0E502920
!
ip nat inside source list 1 interface Dialer1 overload
ip http server
ip classless
ip route 192.168.2.0 255.255.255.0 Dialer1
ip route 192.168.3.0 255.255.255.0 Dialer2
!
access-list 1 permit 192.168.100.0 0.0.0.255
dialer-list 1 protocol ip permit
!
line con 0
exec-timeout 0 0
transport input none
stopbits 1
line 1
modem InOut
transport input all
stopbits 1
speed 115200
flowcontrol hardware
line vty 0 4
login
!
end
RAS-Router#
I configured a Dialer interface for each site (2 in this example) I want to access, and static routes
mapped to the interfaces to bring up the appropriate one.
The problem I am having is how do I configure NAT when I have 2 (or more) Dialer Interfaces?
This is what I used for a single Dialer interface.
"IP NAT inside source list 1 interface Dialer overload"
"access-list 1 permit 192.168.100.0 0.0.0.255"
It worked just fine with one, but how do I make it work with Dialer1, & Dialer2?
Thanks
Newall
CAPUTER of sh run
Building configuration...
Current configuration : 1702 bytes
!
version 12.1
no service single-slot-reload-enable
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname RAS-Router
!
logging rate-limit console 10 except errors
enable secret 5 $1$C7TL$KpraaOeF/p0QMo1YPLIs0/
!
ip subnet-zero
!
no ip domain-lookup
no ip finger
no ip dhcp-client network-discovery
chat-script dial "" AT OK "\patdt\T" TIMEOUT 60 \C
!
!
!
interface Ethernet0
ip address 192.168.100.2 255.255.255.0
ip nat inside
!
interface Serial0
physical-layer async
no ip address
encapsulation ppp
dialer in-band
dialer pool-member 1
async mode dedicated
ppp authentication chap pap callin
!
interface Dialer1
ip address negotiated
ip nat outside
encapsulation ppp
dialer pool 1
dialer idle-timeout 300 either
dialer string 0014143305673 modem-script dial
dialer-group 1
no cdp enable
ppp authentication chap callin
ppp chap hostname remote1
ppp chap password 7 00084317505F065701
!
interface Dialer2
ip address negotiated
ip nat outside
encapsulation ppp
dialer pool 1
dialer idle-timeout 300 either
dialer string 0014143327345 modem-script dial
dialer-group 1
no cdp enable
ppp authentication chap callin
ppp chap hostname remote2
ppp chap password 7 141B421A0E502920
!
ip nat inside source list 1 interface Dialer1 overload
ip http server
ip classless
ip route 192.168.2.0 255.255.255.0 Dialer1
ip route 192.168.3.0 255.255.255.0 Dialer2
!
access-list 1 permit 192.168.100.0 0.0.0.255
dialer-list 1 protocol ip permit
!
line con 0
exec-timeout 0 0
transport input none
stopbits 1
line 1
modem InOut
transport input all
stopbits 1
speed 115200
flowcontrol hardware
line vty 0 4
login
!
end
RAS-Router#