路由器DVTI与相同PAT设备后的不同路由器建立L2L【图文】

原标题:\”路由器DVTI与相同PAT设备后的不同路由器建立L2L【图文】\”关于路由器的知识分享。 –

路由器DVTI与相同PAT设备后的不同路由器建立L2L【图文】

原标题:\”路由器DVTI与相同PAT设备后的不同路由器建立L2L【图文】\”关于路由器的知识分享。 – 素材来源网络 编辑:kaka。一.测试拓扑:二.基本配置:A.R1interface Loopback0ip address 192.168.1.1 255.255.255.0interface FastEthernet0/0ip address 10.1.1.1 255.255.255.0no shutB.R2interface Ethernet0/0ip address 10.1.1.2 255.255.255.0no shut interface Ethernet0/1ip address 202.100.1.2 255.255.255.0no shutC.R3interface FastEthernet0/0ip address 202.100.1.3 255.255.255.0no shutinterface FastEthernet0/1ip address 202.100.2.3 255.255.255.0no shutD.R4interface Ethernet0/0ip address 20.1.1.4 255.255.255.0no shut interface Ethernet0/2ip address 30.1.1.4 255.255.255.0no shut interface Ethernet0/1ip address 202.100.2.4 255.255.255.0no shutE.R5interface Loopback0ip address 192.168.2.5 255.255.255.0interface FastEthernet0/0ip address 20.1.1.5 255.255.255.0no shutF.R6interface Loopback0ip address 192.168.3.6 255.255.255.0interface FastEthernet0/0ip address 30.1.1.6 255.255.255.0no shut三.静态路由和PAT配置:A.静态路由配置:①R1ip route 0.0.0.0 0.0.0.0 10.1.1.2②R2ip route 0.0.0.0 0.0.0.0 202.100.1.3ip route 192.168.1.0 255.255.255.0 10.1.1.1③R4ip route 0.0.0.0 0.0.0.0 202.100.2.3ip route 192.168.2.0 255.255.255.0 20.1.1.5ip route 192.168.3.0 255.255.255.0 30.1.1.6④R5ip route 0.0.0.0 0.0.0.0 20.1.1.4⑤R6ip route 0.0.0.0 0.0.0.0 30.1.1.4B.动态PAT配置:①R2ip access-list extended 100permit ip 192.168.1.0 0.0.0.255 anypermit ip 10.1.1.0 0.0.0.255 anyint e0/0ip nat insideint e0/1ip nat outsideip nat inside source list 100 interface e0/1②R4ip access-list extended 100permit ip 192.168.2.0 0.0.0.255 anypermit ip 192.168.3.0 0.0.0.255 anypermit ip 20.1.1.0 0.0.0.255 anypermit ip 30.1.1.0 0.0.0.255 anyint e0/0ip nat insideint e0/1ip nat outsideip nat inside source list 100 interface e0/1C.静态PAT配置:R2ip nat inside source static udp 10.1.1.1 500 interface e0/1 500ip nat inside source static udp 10.1.1.1 4500 interface e0/1 4500四.VPN配置:

作者: 阿忆

为您推荐

返回顶部