EIGRP1üàí?àà?òy?e?·óé?eμ′μ??-òò?°?a??

所属分类: 软件教程 / 网络通讯 阅读数: 729
收藏 0 赞 0 分享

  EIGRPoíOSPF×???μ????ò??·?·¢
μúò????é??£o
1£?R1,R2,R3,R43?ê?????  R1
conf t
int l 0
ip add 1.1.1.1 255.255.255.255
int f0/0
ip add 1.1.123.1 255.255.255.0
no shut
router eigrp 1
no auto
net 1.1.1.1 0.0.0.0
net 1.1.123.0 0.0.0.255
end
 R2
conf t
int l 0
ip add 1.1.2.2 255.255.255.255
int f0/0
ip add 1.1.123.2 255.255.255.0
no shut
int s1/0
ip add 1.1.234.2 255.255.255.0
encap f
no arp f
no frame inv
frame map ip 1.1.234.4 204 b
frame map ip 1.1.234.3 204 b
no shut
ip ospf p 0
router ospf 1
router-id 1.1.2.2
net 1.1.234.2 0.0.0.0 a 0
net 1.1.2.2 0.0.0.0 a 0
router eigrp 1
no auto
net 1.1.2.2 0.0.0.0
net 1.1.123.0 0.0.0.255
end
 R3
conf t
int l 0
ip add 1.1.3.3 255.255.255.255
int f 0/0
ip add 1.1.123.3 255.255.255.0
no shut
int s1/0
ip add 1.1.234.3 255.255.255.0
encap f
no arp f
no frame inv
frame map ip 1.1.234.4 304 b
frame map ip 1.1.234.2 304 b
no shut
ip ospf p 0
router ospf 1
router-id 1.1.3.3
net 1.1.234.3 0.0.0.0 a 0
net 1.1.3.3 0.0.0.0 a 0
router eigrp 1
no auto
net 1.1.3.3 0.0.0.0
net 1.1.123.0 0.0.0.255
end
 R4
conf t
int l 0
ip add 1.1.4.4 255.255.255.255
int s1/0
ip add 1.1.234.4 255.255.255.0
encap f
no arp f
no frame inv
frame map ip 1.1.234.2 402 b
frame map ip 1.1.234.3 403 b
no shut
router ospf 1
router-id 1.1.4.4
nei 1.1.234.2
nei 1.1.234.3
net 1.1.234.4 0.0.0.0 a 0
net 1.1.4.4 0.0.0.0 a 0
end
μ??aà?£??ùóDμ?EIGRPoíOSPFáú?ó1??μ???¨á¢o?á??£   2£??úR2oíR3é?×???μ????ò??·?·¢  R2
router eigrp 1
redistribute ospf 1 metric 10000 100 255 1 1500
router ospf 1
redistribute eigrp 1 metric 100 metric-type 1 subnets
end
 R3
router eigrp 1
redistribute ospf 1 metric 10000 100 255 1 1500
router ospf 1
redistribute eigrp 1 metric 100 metric-type 1 subnets
end ??·?·¢íê3é£?   ?é?¤
R1?·óé±í R1#sh ip route Gateway of last resort is not set      1.0.0.0/8 is variably subnetted, 6 subnets, 2 masks
D EX    1.1.4.4/32 [170/284160] via 1.1.123.3, 00:01:03, FastEthernet0/0
                   [170/284160] via 1.1.123.2, 00:01:03, FastEthernet0/0
D       1.1.3.3/32 [90/156160] via 1.1.123.3, 00:08:44, FastEthernet0/0
D       1.1.2.2/32 [90/156160] via 1.1.123.2, 00:08:44, FastEthernet0/0
C       1.1.1.1/32 is directly connected, Loopback0
C       1.1.123.0/24 is directly connected, FastEthernet0/0
D EX    1.1.234.0/24 [170/284160] via 1.1.123.3, 00:02:51, FastEthernet0/0
                     [170/284160] via 1.1.123.2, 00:02:51, FastEthernet0/0     R4?·óé±í
R4#sh ip route Gateway of last resort is not set      1.0.0.0/8 is variably subnetted, 6 subnets, 2 masks
C       1.1.4.4/32 is directly connected, Loopback0
O       1.1.3.3/32 [110/65] via 1.1.234.3, 00:00:14, Serial1/0
O       1.1.2.2/32 [110/65] via 1.1.234.2, 00:00:14, Serial1/0
O E1    1.1.1.1/32 [110/164] via 1.1.234.3, 00:00:14, Serial1/0
                   [110/164] via 1.1.234.2, 00:00:14, Serial1/0
O E1    1.1.123.0/24 [110/164] via 1.1.234.3, 00:00:14, Serial1/0
                     [110/164] via 1.1.234.2, 00:00:14, Serial1/0
C       1.1.234.0/24 is directly connected, Serial1/0  
μú?t???é??
?úR1μ?S1/2?ó?ú?óè?R5£?2¢??ó?RIPV2
 R5
conf t
int s1/2
ip add 192.168.45.5 255.255.255.0
no shut
router rip
ver 2
no auto
net 192.168.45.0
end  R1
conf t
int s1/2
no shut
ip add 192.168.45.4 255.255.255.0
router rip
ver 2
no au
net 192.168.45.0
end    
°?RIP?ù·?·¢μ?EIGRP1?D
router eigrp 1
redistribute rip metric 10000 100 255 1 1500
end     ?aê±?′R2oíR3é?μ??·óé±í   R2(config)#do sh ip route     
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route Gateway of last resort is not set      1.0.0.0/8 is variably subnetted, 6 subnets, 2 masks
O       1.1.4.4/32 [110/65] via 1.1.234.4, 00:31:58, Serial1/0
D       1.1.3.3/32 [90/156160] via 1.1.123.3, 00:05:56, FastEthernet0/0
C       1.1.2.2/32 is directly connected, Loopback0
D       1.1.1.1/32 [90/156160] via 1.1.123.1, 00:05:56, FastEthernet0/0
C       1.1.123.0/24 is directly connected, FastEthernet0/0
C       1.1.234.0/24 is directly connected, Serial1/0
O E1 192.168.45.0/24 [110/164] via 1.1.234.3, 00:05:59, Serial1/0
R2(config)#do ping 192.168.45.5 Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.45.5, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)      ×D??2é?′?·óé±í?éò?·¢??£?R2μ?192.168.45.0í?????ò?ì?ê?1.1.234.2£?ò2?íê?R3μ?S1/0?ó?ú£?μ?ê?í???é?±í?÷??ò?ì??aR1μ?F0/0?ó?ú?a×????·???£?aê2?′?á3????a?ùμ??é????£?
   ?ò???aμà£?EIGRPμ?AD(1üàí?àà?£?óDá????é??£o
     1£?μ±ê?μ??ú2??·óéê±£?AD?a90£??·óé±íà?μ?±êê??a?°D?±
     2£?μ±ê?μ?ía2?×a·¢μ??·óéê?£?AD?a170£??·óé±íà?μ?±êê??a?° D EX?±
   μ±R1°?RIP?ù·?·¢μ?EIGRP1?Dμ?ê±oò£?R2oíR3μ?ê?μ?192.168.45.0í????a?°D EX"±êê?£¨?éò?í¨1yshou ip bgp top?üá?D£?é)£??aê±EIGRPμ?AD?a170£?μ±R2°?EIGRP1?ù·?·¢μ?OSPF?Doó£?òò?aμ?OSPFμ?AD?a110£?R3?á′óR1oíR2?a??á????·óé?÷é?ê?μ?192.168.45.0?a???·óéì???£??ù?Y?·óé???·?-?ò£?R3?áó??è????OSPFD-òéê?μ?μ??·óé£??ùò??ú?·óé±íé???ê??°O E1?±£??a?ùμ??á1??á?ì3éêy?Y°ü?úR4oíR2?????eμ′£?
 
ó?trace?üá??é?¤
R2(config)#do trace 192.168.45.5 Type escape sequence to abort.
Tracing the route to 192.168.45.5   1 1.1.234.4 252 msec 232 msec 232 msec
  2 1.1.234.3 432 msec 308 msec 304 msec
  3  *  *  *
  4 1.1.234.4 576 msec 612 msec 480 msec
  5 1.1.234.3 720 msec 464 msec 648 msec
  6  *  *  *
  7 1.1.234.4 528 msec 684 msec 552 msec
  8 1.1.234.3 888 msec 932 msec 672 msec
  9  *  *  *
   ?-?-
R3é?ò2?á3????àí?μ??é??     ?a??·?·¨
??R2oíR3é?OSPFμ?ADDT???a′óóú170  R2
conf t
access 10 permit 192.168.45.0 0.0.0.255
router ospf 1
distance 180 1.1.3.3 0.0.0.0 10
end    R3
conf t
access 10 permit 192.168.45.0 0.0.0.255
router ospf 1
distance 180 1.1.2.2 0.0.0.0 10
end     ?é?¤R2£?R3£?R4?·óé±í
R2(config)#do sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route Gateway of last resort is not set      1.0.0.0/8 is variably subnetted, 6 subnets, 2 masks
O       1.1.4.4/32 [110/65] via 1.1.234.4, 00:11:38, Serial1/0
D       1.1.3.3/32 [90/156160] via 1.1.123.3, 00:11:38, FastEthernet0/0
C       1.1.2.2/32 is directly connected, Loopback0
D       1.1.1.1/32 [90/156160] via 1.1.123.1, 00:11:38, FastEthernet0/0
C       1.1.123.0/24 is directly connected, FastEthernet0/0
C       1.1.234.0/24 is directly connected, Serial1/0
D EX 192.168.45.0/24 [170/284160] via 1.1.123.1, 00:11:38, FastEthernet0/0
R3(config)#do sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route Gateway of last resort is not set      1.0.0.0/8 is variably subnetted, 6 subnets, 2 masks
O       1.1.4.4/32 [110/65] via 1.1.234.4, 00:01:27, Serial1/0
C       1.1.3.3/32 is directly connected, Loopback0
D       1.1.2.2/32 [90/156160] via 1.1.123.2, 00:01:27, FastEthernet0/0
D       1.1.1.1/32 [90/156160] via 1.1.123.1, 00:01:27, FastEthernet0/0
C       1.1.123.0/24 is directly connected, FastEthernet0/0
C       1.1.234.0/24 is directly connected, Serial1/0
D EX 192.168.45.0/24 [170/284160] via 1.1.123.1, 00:01:27, FastEthernet0/0
R4#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route Gateway of last resort is not set      1.0.0.0/8 is variably subnetted, 6 subnets, 2 masks
C       1.1.4.4/32 is directly connected, Loopback0
O       1.1.3.3/32 [110/65] via 1.1.234.3, 00:19:57, Serial1/0
O       1.1.2.2/32 [110/65] via 1.1.234.2, 00:19:57, Serial1/0
O E1    1.1.1.1/32 [110/164] via 1.1.234.3, 00:19:57, Serial1/0
                   [110/164] via 1.1.234.2, 00:19:57, Serial1/0
O E1    1.1.123.0/24 [110/164] via 1.1.234.3, 00:19:57, Serial1/0
                     [110/164] via 1.1.234.2, 00:19:57, Serial1/0
C       1.1.234.0/24 is directly connected, Serial1/0
O E1 192.168.45.0/24 [110/164] via 1.1.234.3, 00:12:25, Serial1/0
                     [110/164] via 1.1.234.2, 00:12:25, Serial1/0
更多精彩内容其他人还在看

两台电脑共享LAN快车上网的解决方案

问:单位的电脑使用中国电信的LAN方式上网,操作系统是Windows XP SP2,上网时需要进行虚拟拨号,是没有Modem的那种连接。我的一个同事最近又加了一台电脑,请问,用什么简单的方法连接这两台电脑共同用这个LAN上网?   
收藏 0 赞 0 分享

必学:电脑与网络维护常用技巧

如果你做电脑和网络维护方面的工作,来看看,你会发现这里面的小技巧很多是值得收藏并好好加以利用和学习的    第一条:Windows 2000 连接共享    interner connect share ICS
收藏 0 赞 0 分享

ADSL路由方式的NAT(端口映射)

NAT是网络地址翻译就是把公网IP翻译成私有地址, 又叫端口映射或端口转发. 采用路由方式是指ADSL拥有一个动态或固定的公网IP,ADSL直接接在HUB或交换机上,所有的电脑共享上网。这时ADSL的外部地址只有一个,比如61.177.*.*
收藏 0 赞 0 分享

防火墙配置不当导致网络无法共享

最近某小型局域网内的工作站无法通过服务器连接Internet,服务器可以访问Internet,管理员在进行自查无果后向笔者求救,笔者赶到后,首先了解了一下情况,此局域网所有机器操作系统均为Windows XP,通过服务器的Internet连接共
收藏 0 赞 0 分享

net命令使局域网文件同步更新

现在大家都希望有个同步软件可以达到网络目录或者文件的更新来减少自己的工作量,现在网络上也有很多软件可以达到这个目的,象同步专家之类的,但是这些软件需要安装服务端和客户端,客户端要常驻才能使用,并且占用了一定的资源。 
收藏 0 赞 0 分享

在网吧中如何使用双ADSL线路

现在网吧中使用ADSL作为上网线路的越来越多,一是因为ADSL比较便宜,另外是因为ADSL安装方便。但是ADSL的带宽有限,而网吧能否提供给用户高速稳定的上网线路,是能够留住顾客的关键。按照经验,如果是一条512K的ADSL线路,有10人同时
收藏 0 赞 0 分享

关于网络拥挤问题及对应处理办法

网络拥挤现象的基本症状是网络的某一部分或整个网络性能低劣。在高峰期,可能这只是暂现象。在其他情况下,这种现象可能逐渐漫延持续几周或几个月的时间,直到最后使网络性能降低到无法容忍的水平。   引起网络拥挤现象的原因有多
收藏 0 赞 0 分享

Internet连接共享组网实例技巧

ICS(Internet连接共享)是Windows 2000内置的一种网络连接共享服务,它可以使家庭网络或小型办公室网络用户非常容易的连接到Internet。    要使用ICS,有几点需要注意:    (1)启用ICS的计算机必须具有两个网络
收藏 0 赞 0 分享

加快Windows 2000访问网上邻居的速度

在部分机器的Windows 2000中打开“邻近的计算机”,常常会等上几十秒的时间,让人无法忍受。仔细分析会发现,在找到的计算机当中,包括“打印机”和“任务计划”两项。通过“网上邻居”浏览计算机时,Windows 2000会先搜索
收藏 0 赞 0 分享

浅谈Win 98中一块网卡实现两个网段的通信

目前,鉴于我国中小学信息技术教材内容的设置,绝大部分中小学校计算机安装的依然是Windows 98。笔者所在学校也一样,且教师办公用机和学生机的IP地址分属两个网段(办公用机在10.10.8.?网段,学生机在192.168.0.?网段)。办公
收藏 0 赞 0 分享
查看更多