!This is the running config of the router: 192.168.1.1
!----------------------------------------------------------------------------
!version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
logging buffered 4096 debugging
!
no aaa new-model
!
resource policy
!
clock timezone PCTime 7
ip subnet-zero
!
!
ip cef
no ip dhcp use vrf connected
ip dhcp excluded-address 192.168.30.1 192.168.30.9
ip dhcp excluded-address 192.168.30.101 192.168.30.254
ip dhcp excluded-address 192.168.40.1 192.168.40.9
ip dhcp excluded-address 192.168.40.101 192.168.40.254
ip dhcp excluded-address 192.168.50.1 192.168.50.9
ip dhcp excluded-address 192.168.50.101 192.168.50.254
!
ip dhcp pool vlan2
import all
network 192.168.30.0 255.255.255.0
dns-server 203.113.7.130 203.113.5.130
default-router 192.168.30.254
lease infinite
!
ip dhcp pool vlan3
import all
network 192.168.40.0 255.255.255.0
dns-server 203.113.7.130 203.113.5.130
default-router 192.168.40.254
lease infinite
!
ip dhcp pool vlan4
import all
network 192.168.50.0 255.255.255.0
dns-server 203.113.7.130 203.113.5.130
default-router 192.168.50.254
lease infinite
!
!
ip name-server 203.113.7.130
ip name-server 203.113.5.130
!
!
!
!
!
interface FastEthernet0/0
ip address 192.168.1.1 255.255.255.0
ip nat inside
ip virtual-reassembly
duplex auto
speed auto
!
interface FastEthernet0/1
description $ETH-WAN$
no ip address
duplex auto
speed auto
pppoe enable group global
pppoe-client dial-pool-number 1
!
interface Serial0/0/0
no ip address
shutdown
clock rate 2000000
!
interface Serial0/0/1
no ip address
shutdown
clock rate 2000000
!
interface Dialer1
ip ddns update hostname xxxxx.xxx
ip ddns update sdm_ddns1
ip address negotiated
ip nat outside
ip virtual-reassembly
encapsulation ppp
ip tcp adjust-mss 1438
no ip mroute-cache
load-interval 30
dialer pool 1
dialer-group 1
ppp authentication pap callin
ppp pap sent-username xxxxx@xxxxx password 0 xxxxx
!
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
ip route 192.168.30.0 255.255.255.0 192.168.1.254
ip route 192.168.40.0 255.255.255.0 192.168.1.254
ip route 192.168.50.0 255.255.255.0 192.168.1.254
!
!
ip http server
ip http authentication local
ip http secure-server
ip http timeout-policy idle 600 life 86400 requests 10000
ip nat inside source list 1 interface Dialer1 overload
ip nat inside source static tcp 192.168.40.25 8000 interface Dialer1 8000
ip nat inside source static tcp 192.168.40.25 80 interface Dialer1 80
ip nat inside source static tcp 192.168.40.25 3389 interface Dialer1 3389
!
access-list 1 permit any
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
privilege level 15
login local
transport input telnet ssh
!
scheduler allocate 20000 1000
!
end
Comment