Two-line access technology for Cisco Routers
In some cases, we need to implement dual-line access to ensure stable operation of the network and ensure reliable service quality. The following steps can be taken:
1. Configure the IP address of the Internet access interface, which is generally from China Telecom or China Netcom.
2. Configure the access control list
3. Configure the NAT address pool
4. Configure the route-map table
5. Configure NAT
6. Set the default route
Step 1:
Configure the cnc interface:
Interface GigabitEthernet1/1
Ip address 60.10.135.11 255.255.255.242
Ip nat outside
Configure tel interface:
Interface GigabitEthernet1/2
Ip address 219.148.157.22 255.255.255.252
Ip nat outside
Configure the Intranet interface:
Interface GigabitEthernet1/3
Ip address 192.168.0.1 255.255.255.0
Ip nat inside
Step 2: Configure accelist-list
Access-list 100 permit ip 192.168.0.0 0.0.255 any
Step 3: configure the address pools of the cnc and tel respectively.
Ip nat pool pool2 60.10.135.11 60.10.135.11 netmask has been released
Ip nat pool pool1 219.148.157.22 219.148.157.22 netmask 255.255.252
Step 4: Configure two route-map
Route-map isp2 permit 10
Matches ip address 100
Match interface GigabitEthernet1/1
!
Route-map isp1 permit 10
Matches ip address 100
Match interface GigabitEthernet1/2
Step 5: Configure two nat
Ip nat inside source route-map isp1 pool pool1 overload
Ip nat inside source route-map isp2 pool pool2 overload
Step 6: Configure routes
The default route from China Telecom: ip route 0.0.0.0 0.0.0.0 219.148.157.21
The destination address is China Netcom, for example, ip route 202.99.168.0 255.255.255.248.0 60.10.135.1.
Add all China Netcom CIDR blocks.
This article is from the blog "personality determines fate ".