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

所属分类: 软件教程 / 网络通讯 阅读数: 691
收藏 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
更多精彩内容其他人还在看

局域网合理布线的六大规则

  网络拓扑结构凌乱、布线过程中偷工减料、设备摆放不合理,别小看这些网络布线时的疏忽大意、有章不循,它们就是一颗颗定时炸弹,随时都会发作,随时都会毁掉你的网络、你的工作。 亡羊补牢?为时已晚,这些问题需要我们提前避免。   如同大厦
收藏 0 赞 0 分享

技巧:对无线局域网进行高效故障诊断

  基于IEEE 802.11标准的WLAN逐渐进入主流网络,使得针对无线网络的故障诊断和安全保障变得与有线网络一样重要。     支持多种模式的分析仪可以扫描所有802.11频段,包括2   .4GHz和5GHz频段中的所有通道,并以图形化的形式显示,从这些图表中
收藏 0 赞 0 分享

巧用WinXP中的“网桥”功能

  当前局域网已经相当普及,经常会遇到以下的状况:    局域网中新增了一台客户机,但集线器端口已接满,为一台电脑增加集线器太不合算。怎么办?Windows XP的“网桥”功能就派上用场了,不过需要一个前提条件,就是局域网中必须有一台安装了双
收藏 0 赞 0 分享

设置防火墙实现禁用QQ,MSN,联众

  现在要求禁止内网用户使用QQ、联众等聊天和网游软件的需求逐渐增多,不久前售后工程师就处理了一项此类业务。工程师在处理过程中发现了一些解决方法,现在进行一下总结,希
收藏 0 赞 0 分享

XP中网络怪异事件解决方法

  未接网线却显示已启用连接   问:Windows XP系统正确识别了新安装的网卡,并安装了驱动程序,在没有连接网线的情况下,网络连接中的“本地连接”显示已启用,并且处于“连接状态”。在接上网线并设置了相应的参数后,进行网络访问,IE显示“无
收藏 0 赞 0 分享

为您支招 局域网内如何防止ARP欺骗

  对于ARP欺骗,提出几点加强安全防范的措施。环境是主机或者网关是基于Linux/BSD的。一、理论前提   本着“不冤枉好人,不放过一个坏人的原则”,先说说我的一些想法和理
收藏 0 赞 0 分享

网管,请别随意关闭默认共享!

  不知道在什么时候,关闭Windows系统中的C$、D$、IPC$等默认共享成为了最基本的安全防范措施,惊弓之鸟们纷纷响应号召,向默认共享宣战。然而存在是有理由的,默认共享的存在同样如此。你可知道盲目地关闭这些默认共享会带来某些非常严重的危害吗
收藏 0 赞 0 分享

网络应用技巧 用注册表强化网上邻居

  每次与内网用户进行信息共享传输时,“网上邻居”就会被派上用场;当然,在默认状态下系统的“网上邻居”功能十分有限,如果你想与内网朋友更高效、更安全地进行共享传输时,就必须想方设法挖掘“网上邻居”自身的潜能。这不,本文为了帮助各位网
收藏 0 赞 0 分享

教你在局域网中映射网络驱动器的使用

  一、为每个学生机建立“映射网络驱动器”   环境为Windows 98对等网。教师机名为“Teacher”,硬盘分成四个区为C、D、E、F;学生机有60台,计算机名为1~60,硬盘分成三个分区C、D、E。   首先在教师机的F盘上建立60个文件夹,文件夹的名字
收藏 0 赞 0 分享

节约成本 详解网络打印机安装方法

  现在很多单位为了节约成本,普遍采取共享使用网络打印机的方法,正巧笔者的单位也要求办公室和其他科室共用办公室的打印机,下面我们一起来看看如何添加网络打印机。   首先,在办公室的计算机上,安装好打印机的驱动,并且把打印机设为共享,
收藏 0 赞 0 分享
查看更多