91av免费观看_日韩视频在线免费看_日本xxxx色视频在线观看免费_伊人222综合网图片_国产二区三区在线_91麻豆麻豆

IT之道-艾銻知道

您當前位置: 主頁 > 資訊動態 > 艾銻分享 >

Cisco網絡協議:EIGRP向本區域下放默認路由的設置方法-IT運維


2020-06-03 20:27 作者:admin 瀏覽量:

Cisco網絡協議:EIGRP向本區域下放默認路由的設置方法-IT運維

 
IT運維工作,以服務為中心,以穩定、安全、高效為三個基本點,確保公司的互聯網業務能夠 7×24 小時為您提供高質量的服務。
 
下面由網絡運維工程師為您講解專業的解決方案 
 
 EIGRP的定義
  EIGRP:Enhanced Interior Gateway Routing Protocol 即 增強內部網關路由線路協議。也翻譯為 加強型內部網關路由協議。 EIGRP是Cisco公司的私有協議。Cisco公司是該協議的發明者和唯一具備該協議解釋和修改權的廠商。 EIGRP結合了鏈路狀態和距離矢量型路由選擇協議的Cisco專用協議,采用彌散修正算法(DUAL)來實現快速收斂,可以不發送定期的路由更新信息以減少帶寬的占用,支持Appletalk、IP、Novell和NetWare等多種網絡層協議。
  默認路由
  默認路由是一種特殊的靜態路由,指的是當路由表中與包的目的地址之間沒有匹配的表項時路由器能夠做出的選擇·如果沒有默認路由,那么目的地址在路由表中沒有匹配表項的包將被丟棄· 默認路由在某些時候非常有效,當存在末梢網絡時,默認路由會大大簡化路由器的配置,減輕管理員的工作負擔,提高網絡性能。
 實驗拓撲如下,路由器R1、R2、R3為內部路由器,而R4為外部路由,實驗目的為AS內部路由器發放默認路由,那么如何實現呢,請看下面步驟。
 

  基礎配置如下:
  R1:
  interface Loopback0
  ip address 1.1.1.1 255.255.255.0
  !
  interface FastEthernet0/0
  ip address 12.1.1.1 255.255.255.0
  !
  router eigrp 90
  network 0.0.0.0
  no auto-summary
  !
  ========================================================
  R2:
  interface Loopback0
  ip address 2.2.2.2 255.255.255.0
  !
  interface FastEthernet0/0
  ip address 23.1.1.2 255.255.255.0
  !
  interface FastEthernet0/1
  ip address 12.1.1.2 255.255.255.0
  !
  router eigrp 90
  network 0.0.0.0
  no auto-summary
  ========================================================
  R3:
  interface Loopback0
  ip address 3.3.3.3 255.255.255.0
  !
  interface FastEthernet0/1
  ip address 23.1.1.3 255.255.255.0
  !
  interface Serial1/0
  ip address 34.1.1.3 255.255.255.0
  !
  router eigrp 90
  network 23.1.1.3 0.0.0.0
  no auto-summary
  =========================================================
  R4:
  interface Loopback0
  ip address 4.4.4.4 255.255.255.0
  !
  interface Serial1/1
  ip address 34.1.1.4 255.255.255.0
  !
  ip route 0.0.0.0 0.0.0.0 Serial1/1 34.1.1.3
  方法1:通過在AS邊界路由器R3上重分發靜態的方式引入默認路由
  在R3配置如下:
  R3:
  ip route 0.0.0.0 0.0.0.0 Serial1/0 34.1.1.4
  Router eigrp 90
  Redistribute static
  R1:
  R1#show ip rou
  Gateway of last resort is 12.1.1.2 to network 0.0.0.0
  1.0.0.0/24 is subnetted, 1 subnets
  C 1.1.1.0 is directly connected, Loopback0
  2.0.0.0/24 is subnetted, 1 subnets
  D 2.2.2.0 [90/409600] via 12.1.1.2, 00:15:47, FastEthernet0/0
  23.0.0.0/24 is subnetted, 1 subnets
  D 23.1.1.0 [90/307200] via 12.1.1.2, 00:14:57, FastEthernet0/0
  12.0.0.0/24 is subnetted, 1 subnets
  C 12.1.1.0 is directly connected, FastEthernet0/0
  D*EX 0.0.0.0/0 [170/2221056] via 12.1.1.2, 00:03:44, FastEthernet0/0
方法2:通過手工宣告默認靜態路由,只是該路由不能指定下一跳
艾銻無限專業:IT外包企業外包網站外包中小企業云服務平臺等北京IT外包服務
 
  R3:
  Ip route 0.0.0.0 0.0.0.0 serial 1/0
  Router eigrp 90
  Network 0.0.0.0
  R1:
  R1#show ip rou
  Gateway of last resort is 12.1.1.2 to network 0.0.0.0
  34.0.0.0/24 is subnetted, 1 subnets
  D 34.1.1.0 [90/2221056] via 12.1.1.2, 00:02:57, FastEthernet0/0
  1.0.0.0/24 is subnetted, 1 subnets
  C 1.1.1.0 is directly connected, Loopback0
  2.0.0.0/24 is subnetted, 1 subnets
  D 2.2.2.0 [90/409600] via 12.1.1.2, 00:23:44, FastEthernet0/0
  3.0.0.0/24 is subnetted, 1 subnets
  D 3.3.3.0 [90/435200] via 12.1.1.2, 00:02:57, FastEthernet0/0
  23.0.0.0/24 is subnetted, 1 subnets
  D 23.1.1.0 [90/307200] via 12.1.1.2, 00:22:55, FastEthernet0/0
  12.0.0.0/24 is subnetted, 1 subnets
  C 12.1.1.0 is directly connected, FastEthernet0/0
  D* 0.0.0.0/0 [90/2221056] via 12.1.1.2, 00:00:03, FastEthernet0/0
  方法3:使用ip default-network x.x.x.x,注意在使用該方法時邊界路由器上要滿足三個條件,條件一:路由表中必須要有該主類路由條目(該主類的子網路由不算),條件二:宣告時要同RIP一樣宣告該主類網絡,條件三:ip default-netwok 后的網絡也必須是主類網絡
  D* 0.0.0.0/0 [90/2221056] via 12.1.1.2, 00:00:03, FastEthernet0/0
  R3:
  Ip default-network 34.0.0.0
  Ip route 34.0.0.0 255.0.0.0 serial 1/0 34.1.1.4 //R3并沒有該主類網絡路由
  Router eigrp 90
  Network 34.0.0.0
  R1:
  R1#show ip route
  Gateway of last resort is 12.1.1.2 to network 34.0.0.0
  34.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
  D 34.1.1.0/24 [90/2221056] via 12.1.1.2, 00:02:11, FastEthernet0/0
  D* 34.0.0.0/8 [90/2221056] via 12.1.1.2, 00:00:14, FastEthernet0/0
  1.0.0.0/24 is subnetted, 1 subnets
  C 1.1.1.0 is directly connected, Loopback0
  2.0.0.0/24 is subnetted, 1 subnets
  D 2.2.2.0 [90/409600] via 12.1.1.2, 00:02:11, FastEthernet0/0
  23.0.0.0/24 is subnetted, 1 subnets
  D 23.1.1.0 [90/307200] via 12.1.1.2, 00:02:11, FastEthernet0/0
  12.0.0.0/24 is subnetted, 1 subnets
  C 12.1.1.0 is directly connected, FastEthernet0/0
其實我們不一定非要指定外網出接口作為默認網絡,可以使用環回接口作默認網絡可可控性也很強,只寫出簡單配置:
專業:IT機房建設 辦公大樓網絡布線 IT硬件設備維護外包  運維服務方案
  C 12.1.1.0 is directly connected, FastEthernet0/0
R3:
  Ip default-network 192.168.10.0
  Interface loopback 1
  Ip address 192.168.10.1 255.255.255.0
  Router eigrp 90
  Network 192.168.10.0
  R1:
  R1#show ip rou
  Gateway of last resort is 12.1.1.2 to network 192.168.10.0
  1.0.0.0/24 is subnetted, 1 subnets
  C 1.1.1.0 is directly connected, Loopback0
  2.0.0.0/24 is subnetted, 1 subnets
  D 2.2.2.0 [90/409600] via 12.1.1.2, 00:08:12, FastEthernet0/0
  D* 192.168.10.0/24 [90/435200] via 12.1.1.2, 00:00:08, FastEthernet0/0
  23.0.0.0/24 is subnetted, 1 subnets
  D 23.1.1.0 [90/307200] via 12.1.1.2, 00:08:12, FastEthernet0/0
  12.0.0.0/24 is subnetted, 1 subnets
  C 12.1.1.0 is directly connected, FastEthernet0/0
  和上面做出比較,環回接口更加穩定,此外可以減小一個路由條目,內網不需要公網的參與,編址也有所優化,在網絡中只有使用ip defaul-netwok下放的不是全0的默認路由
  方法4:由于EIGRP支持CIDR,而CIDR的極限就是0.0.0.0/0
  C 12.1.1.0 is directly connected, FastEthernet0/0
  R3:
  Interface fastethernet 0/1
  Ip summary-address eigrp 90 0.0.0.0 0.0.0.0
  R1:
  R1#show ip rou
  Gateway of last resort is 12.1.1.2 to network 0.0.0.0
  1.0.0.0/24 is subnetted, 1 subnets
  C 1.1.1.0 is directly connected, Loopback0
  2.0.0.0/24 is subnetted, 1 subnets
  D 2.2.2.0 [90/409600] via 12.1.1.2, 00:16:44, FastEthernet0/0
  23.0.0.0/24 is subnetted, 1 subnets
  D 23.1.1.0 [90/307200] via 12.1.1.2, 00:16:44, FastEthernet0/0
  12.0.0.0/24 is subnetted, 1 subnets
  C 12.1.1.0 is directly connected, FastEthernet0/0
D* 0.0.0.0/0 [90/332800] via 12.1.1.2, 00:00:02, FastEthernet0/0
 
以上文章由北京艾銻無限科技發展有限公司整理

相關文章

IT外包服務
二維碼 關閉
主站蜘蛛池模板: 亚洲欧美日韩v中文在线 | 久久青青草原亚洲AV无码 | 无码少妇a片一区二区三区 国内精品久久久久影院蜜芽 | 国内极度色诱视频网站 | 久久性爱视频 | 高清偷自拍第1页 | 国产成人无码AV在线播放DVD | 在线蜜桃视频 | 国产做a爰片久久毛片a片美国 | 亚洲人片在线观看天堂无码 | 久久婷婷五月综合97色 | 精品国产精品一区二区夜夜嗨 | 久久久麻豆精品一区二区 | 日本女人b | 性欲天堂| 日本免费精品一区二区三区 | 久久久久国色AⅤ免费看 | 夜夜穞天天穞狠狠穞AV美女按摩 | 国产原创三级 | 中文字幕人成乱码熟女 | 夜夜躁狠狠躁日日躁视频 | 用舌头去添高潮无码AV在线观看 | 337P日本大胆欧洲亚洲色噜噜 | 小荡货奶真大水真多紧视频 | JIZZ成熟丰满韩国女人少妇 | 亚洲综合憿情五月丁香五月网 | 91影音| 三年片在线观看大全有哪些爱奇艺 | 亚洲自偷自偷在线成人网站传媒 | 精品国自产在线观看 | 亚洲伊人色欲综合网无码 | 亚洲VA在线VA天堂XXXX中文 | 国产精品免费精品自在线观看 | 色一情一乱一伦一区二区三区日本 | 国产精品欧美激情在线播放 | 无码人妻丰满熟妇啪啪7774 | 啦啦啦手机视频高清观看免费 | 黑色丝袜国产精品 | 久久综合色天天久久综合图片 | 久久久亚洲精品动漫无码 | 在线不卡日本 |