4、网络地址交迭配置
任务:实现网络地址交迭,避免地址冲突。
步骤:
access-list 1 permit 10.1.1.0 0.0.0.255
ip nat pool net-2 192.2.2.1 192.2.2.254 prefix-length 24
ip nat pool net-10 10.0.1.1 10.0.1.254 prefix-length 24
ip nat inside source list 1 pool net-2
ip nat outside source list 1 pool net-10
interface Serial10/0
ip address 172.69.232.182 255.255.255.240
ip nat outside
interface Ethernet0
ip address 10.1.1.254 255.255.255.0
ip nat inside