· 7 years ago · Jul 02, 2018, 08:10 AM
1hostname CPE
2!
3
4aqm-register-fnf
5!
6!
7!
8ip dhcp pool 192.168.2.0
9 network 192.168.2.0 255.255.255.0
10 default-router 192.168.2.254
11!
12ip dhcp pool 192.168.3.0
13 network 192.168.3.0 255.255.255.0
14 default-router 192.168.3.254
15!
16ip dhcp pool 192.168.4.0
17 network 192.168.4.0 255.255.255.0
18 default-router 192.168.4.254
19!
20ip dhcp pool 192.168.5.0
21 network 192.168.5.0 255.255.255.0
22 default-router 192.168.5.254
23!
24!
25!
26ip cef
27no ipv6 cef
28!
29multilink bundle-name authenticated
30
31redundancy
32!
33!
34track 1 ip sla 1 reachability
35!
36interface Loopback1
37 ip address 2.2.2.2 255.255.255.0
38!
39interface Tunnel1
40 ip address 192.168.10.2 255.255.255.0
41 tunnel source 2.2.2.2
42 tunnel destination 3.3.3.3
43!
44interface Ethernet0/0
45 ip address 192.168.1.13 255.255.255.252
46 ip nat outside
47 ip virtual-reassembly in
48!
49interface Ethernet0/1
50 ip address 192.168.1.9 255.255.255.252
51 ip nat outside
52 ip virtual-reassembly in
53!
54interface Ethernet0/2
55 ip address 192.168.3.254 255.255.255.0
56 ip nat inside
57 ip virtual-reassembly in
58!
59interface Ethernet0/3
60 ip address 192.168.2.254 255.255.255.0
61 ip nat inside
62 ip virtual-reassembly in
63!
64router ospf 100
65 network 2.2.2.0 0.0.0.255 area 0
66 network 192.168.1.8 0.0.0.3 area 0
67 network 192.168.1.12 0.0.0.3 area 0
68!
69ip forward-protocol nd
70!
71!
72no ip http server
73no ip http secure-server
74ip nat inside source list 100 interface Ethernet0/1 overload
75ip nat inside source list 101 ISP2 interface Ethernet0/0 overload
76ip route 192.168.1.0 255.255.255.0 192.168.1.10 track 1
77ip route 0.0.0.0 0.0.0.0 192.168.1.10
78ip route 0.0.0.0 0.0.0.0 192.168.1.14 10
79ip route 192.168.1.0 255.255.255.0 192.168.1.14 5
80
81!
82ip sla 1
83 icmp-echo 192.168.1.10 source-interface Ethernet0/1
84 timeout 6000
85 frequency 10
86ip sla schedule 1 life forever start-time now
87!
88
89!
90!
91access-list 100 permit ip 192.168.2.0 0.0.0.255 any
92access-list 100 permit ip 192.168.3.0 0.0.0.255 any
93access-list 101 permit ip 192.168.3.0 0.0.0.255 any
94access-list 101 permit ip 192.168.3.0 0.0.0.255 any
95!
96control-plane
97
98end