EIGRP的重分布实验
本帖最后由 fulltimes 于 2011-7-7 10:36 编辑R1:interface Serial1/0 ip address 192.168.12.1 255.255.255.0
!
interface Serial1/1
ip address 192.168.13.1 255.255.255.0
clock rate 64000
!
router eigrp 1
redistribute static
network 192.168.13.0
no auto-summary
!
ip classless
ip route 0.0.0.0 0.0.0.0 Serial1/0
!R2:interface Loopback2
ip address 2.2.2.2 255.255.255.0!interface Serial1/0
ip address 192.168.12.2 255.255.255.0
clock rate 64000!R3:interface Serial1/0
ip address 192.168.13.3 255.255.255.0
!
interface Serial1/1
ip address 192.168.35.3 255.255.255.0
clock rate 64000
!
router eigrp 1
network 192.168.35.0
network 192.168.13.0
no auto-summaryR5:!
interface Serial1/0
ip address 192.168.35.5 255.255.255.0!router eigrp 1
network 192.168.35.0
no auto-summary R5能ping通R1的s1/0ping不通R2的s1/0我是根据李sir的CCNP视频┃鸿鹄┃1.2.EIGRP-2的eigrp的静态重分布做的,请问哪里出错了。 呵呵,R5通过EIGRP重分发的默认路由可以到R2,但是R2没有回来的路由。在R2上加一条默认路由即可。
ip route 0.0.0.0 0.0.0.0 s1/0 那假如R1的s1/0l连的是internet呢 {:6_280:} R1如果连接的是internet
方法:1、R1上做NAT,内网的所有地址全部转换为R1与R2相连接的接口地址,R2也就不需要知道内网的网络了;
2、R1和R2之间用路由协议将内网的IP通告给R2
3、R2上写到内网的静态路由
总之,R2上要保证有回来的路由 {:6_267:}谢谢
页:
[1]