|
Home | Reviews | Speed Test | Tools | News | Forums | Info | About | Join |
Suggested prerequisite reading: »Cisco Forum FAQ »Things to expect when setup network for home or small business Here is a working configuration for a Cisco 1720 router for a UK ADSL ISP as PPPoA client. The 1720 is fitted with 48MB DRAM/16MB FLASH and running IOS 12.3(1). It also has, obviously, a WIC-1ADSL module and a WIC-2T (not currently used). In the configuration is also included an example of how to build 3 GRE tunnels to remote sites and how to synchronize the router clock with a NTP time source. I hope someone will find this of use. ! version 12.3 service timestamps debug datetime msec service timestamps log datetime msec service password-encryption ! hostname Cisco1720 ! enable password 7 xxxxxxxx ! username xxxxxxx@dslgateb.xxxxxxxx.co.uk password 7 xxxxxxxx username xxxxxxx password 7 xxxxxxx memory-size iomem 25 ip subnet-zero ! ! ip name-server 193.xxx.xxx.xxx ip name-server 194.xxx.xxx.xxx ip name-server 194.xxx.xxx.xxx ! ip cef ip audit notify log ip audit po max-events 100 no ftp-server write-enable ! xsm xsm vdm xsm edm xsm history vdm xsm history edm ! interface Loopback0 description +++ Always Up Interface +++ ip address 10.10.10.10 255.255.255.255 ! interface Tunnel0 description +++ IP GRE VPN TO Office1 +++ ip address 192.168.xxx.2 255.255.255.252 tunnel source 213.xxx.xxx.76 tunnel destination 213.xxx.xxx.114 tunnel key 123abc ! interface Tunnel1 description ++++ IP GRE VPN To Office2 ++++ ip address 192.168.xxx.9 255.255.255.252 tunnel source 213.xxx.xxx.76 tunnel destination 213.xxx.xxx.113 tunnel key 123abc ! interface Tunnel2 description ++++ IP GRE VPN To Office3 ++++ ip address 192.xxx.xxx.13 255.255.255.252 tunnel source 213.xxx.xxx.76 tunnel destination 80.xxx.xxx.xxx tunnel key 123abc ! interface ATM0 no ip address no ip mroute-cache no atm ilmi-keepalive pvc 0/38 encapsulation aal5mux ppp dialer dialer pool-member 1 ! dsl operating-mode auto hold-queue 224 in ! interface FastEthernet0 description +++ Connection To LAN +++ ip address 192.168.30.1 255.255.255.0 ip nat inside speed auto full-duplex ! interface Serial0 no ip address shutdown no fair-queue ! interface Serial1 no ip address shutdown ! interface Dialer0 description +++ Connection To ISP ADSL +++ ip address 213.xxx.xxx.76 255.255.255.0 ip nat outside encapsulation ppp dialer pool 1 dialer-group 1 no cdp enable ppp authentication chap callin ppp chap hostname xxxxxxx@dslgateb.xxxxxxx.co.uk ppp chap password 7 xxxxxxxx ppp pap sent-username xxxxxxx@dslgateb.xxxxxxx.co.uk password 7 xxxxxxx ! router eigrp 1 redistribute connected network 10.0.0.0 network 192.168.xxx.0 network 192.168.xxx.0 network 213.xxx.xxx.0 no auto-summary ! ip nat inside source list 1 interface Dialer0 overload ip nat inside source static tcp 10.10.10.10 443 interface Dialer0 443 ip nat inside source static tcp 10.10.10.10 23 interface Dialer0 23 ip classless ip route 0.0.0.0 0.0.0.0 Dialer0 ip http server ip http secure-server ! ! access-list 1 permit any ! banner motd ^C **************************** * WARNING BANNER * **************************** WARNING - authorized users only The owner and any subsidiary companies, has proprietary rights over this system and data. Unauthorized access is unlawful and may result in disciplinary action and/or legal proceedings. Access to this system is monitored. ^C ! line con 0 line aux 0 line vty 0 4 exec-timeout 60 0 password 7 xxxxxxx login local transport input telnet ! ntp clock-period 17179651 ntp server 128.2.129.21 ! end Cisco1720# got feedback? by Domwilko edited by aryoba |