日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

lab 2 EIGRP Default Route

發(fā)布時間:2025/3/15 编程问答 24 豆豆
生活随笔 收集整理的這篇文章主要介紹了 lab 2 EIGRP Default Route 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
EIGRP發(fā)布默認路由的四種方式
  • Redistributed default route

    #R1# router eigrp 100 redistribute static network 10.1.1.1 0.0.0.0no auto-summary ip route 0.0.0.0 0.0.0.0 202.100.1.10

    ?

    ?

  • By using ip summary-address command

    #interface FastEthernet1/0ip address 10.1.1.1 255.255.255.0 ip summary-address eigrp 100 0.0.0.0 0.0.0.0 5

    ?

  • Default route by using ip default-network command

    R1(config)#ip default-network 202.100.1.0( 寫成主類 ) 這樣就可以把這條路由下發(fā)給其它的路由器當做默認路由了使用本命令要滿足以下條件: 1、接口IP地址必須是主類 2、接口必須宣告進EIGRP 3、使用命令下發(fā)時也必須寫主類網(wǎng)絡號

    ?

  • Default route with network 0.0.0.0 command

    R1#router eigrp 100network 1.1.1.1 0.0.0.0network 10.1.1.1 0.0.0.0network 0.0.0.0no auto-summaryip route 0.0.0.0 0.0.0.0 FastEthernet0/0( 寫下一跳不行,必須寫接口

    ?

基本網(wǎng)絡配置

?

R2# interface FastEthernet0/0ip address 10.1.1.10 255.255.255.0 R1# interface FastEthernet0/0ip address 202.100.1.1 255.255.255.0 interface FastEthernet1/0ip address 10.1.1.1 255.255.255.0 ip route 0.0.0.0 0.0.0.0 202.100.1.10 Interne# interface FastEthernet0/0ip address 202.100.1.10 255.255.255.0 ip route 0.0.0.0 0.0.0.0 202.100.1.1

?

?

Redistributed default route配置

?

?

R1# router eigrp 100 redistribute static network 10.1.1.1 0.0.0.0no auto-summary

?

?

驗證

#R2#show ip route Codes: C - connected, S - static, R - RIP, M - mobile, B - BGPD - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 - OSPF external type 2i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2ia - IS-IS inter area, * - candidate default, U - per-user static routeo - ODR, P - periodic downloaded static routeGateway of last resort is 10.1.1.1 to network 0.0.0.010.0.0.0/24 is subnetted, 1 subnets C 10.1.1.0 is directly connected, FastEthernet0/0 D*EX 0.0.0.0/0 [170/307200] via 10.1.1.1, 00:17:42, FastEthernet0/0 #

?

?

Default route By using ip summary-address command配置

R1# router eigrp 100network 10.1.1.1 0.0.0.0no auto-summary interface FastEthernet1/0ip address 10.1.1.1 255.255.255.0 ip summary-address eigrp 100 0.0.0.0 0.0.0.0 5

?

?

驗證

R2#show ip route Codes: C - connected, S - static, R - RIP, M - mobile, B - BGPD - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 - OSPF external type 2i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2ia - IS-IS inter area, * - candidate default, U - per-user static routeo - ODR, P - periodic downloaded static routeGateway of last resort is 10.1.1.1 to network 0.0.0.010.0.0.0/24 is subnetted, 1 subnets C 10.1.1.0 is directly connected, FastEthernet0/0 D* 0.0.0.0/0 [90/284160] via 10.1.1.1, 00:00:05, FastEthernet0/0

?

?

Default route by using ip default-network command配置

  • The EIGRP default route can be created with the ip default-network network-number command. The classful destination network.

  • the network must either be an EIGRP-derived network in the routing table or be generated using a static route, which has been redistributed into EIGRP

  • the ip default-network command does not benefit router R1 directly.

R1#router eigrp 100network 10.1.1.1 0.0.0.0network 202.100.1.0no auto-summary ip default-network 202.100.1.0 ip route 0.0.0.0 0.0.0.0 202.100.1.10

?

?

驗證

R2#show ip route Codes: C - connected, S - static, R - RIP, M - mobile, B - BGPD - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 - OSPF external type 2i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2ia - IS-IS inter area, * - candidate default, U - per-user static routeo - ODR, P - periodic downloaded static route Gateway of last resort is 10.1.1.1 to network 202.100.1.0 1.0.0.0/24 is subnetted, 1 subnets D 1.1.1.0 [90/409600] via 10.1.1.1, 00:04:01, FastEthernet0/0 D* 202.100.1.0/24 [90/307200] via 10.1.1.1, 00:00:14, FastEthernet0/0 10.0.0.0/24 is subnetted, 1 subnets C 10.1.1.0 is directly connected, FastEthernet0/0

?

?

Default route with network 0.0.0.0 command配置

if the network 0.0.0.0 command is added to the EIGRP configuration, it redistributes a default route as a result of the ip route 0.0.0.0 0.0.0.0 interface command. R1#router eigrp 100 network 1.1.1.1 0.0.0.0network 10.1.1.1 0.0.0.0 network 0.0.0.0 no auto-summary ip route 0.0.0.0 0.0.0.0 FastEthernet0/0

?

?

驗證

R2#show ip route Codes: C - connected, S - static, R - RIP, M - mobile, B - BGPD - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 - OSPF external type 2i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2ia - IS-IS inter area, * - candidate default, U - per-user static routeo - ODR, P - periodic downloaded static route Gateway of last resort is 10.1.1.1 to network 0.0.0.0 1.0.0.0/24 is subnetted, 1 subnets D 1.1.1.0 [90/409600] via 10.1.1.1, 00:10:37, FastEthernet0/0 D 202.100.1.0/24 [90/307200] via 10.1.1.1, 00:00:30, FastEthernet0/010.0.0.0/24 is subnetted, 1 subnets C 10.1.1.0 is directly connected, FastEthernet0/0 D* 0.0.0.0/0 [90/307200] via 10.1.1.1, 00:00:02, FastEthernet0/0

?

?

?

?

?

?

?



來自為知筆記(Wiz)



轉(zhuǎn)載于:https://www.cnblogs.com/faerl/p/8253740.html

總結

以上是生活随笔為你收集整理的lab 2 EIGRP Default Route的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。