科技行者

行者学院 转型私董会 科技行者专题报道 网红大战科技行者

知识库

知识库 安全导航

至顶网网络频道IGRP路由协议基本配置(2)

IGRP路由协议基本配置(2)

  • 扫一扫
    分享文章到微信

  • 扫一扫
    关注官方公众号
    至顶头条

IGRP (Interior Gateway Routing Protocol)是一种动态距离向量路由协议,它由Cisco公司八十年代中期设计。使用组合用户配置尺度,包括延迟、带宽、可靠性和负载。

2008年1月18日

关键字: igrp igrp协议 路由协议 网络协议

  • 评论
  • 分享微博
  • 分享邮件

2 . 设置路径间的metric相差多大时,可以在路径间启用负载平衡。

variance metric 差值

缺省值为1,表示只有两条路径metric相同时才能在两条路径上启用负载平衡。

实例:

2511-1的设置

Current configuration:

version 11.3

no service password-encryption

!

hostname 2511-1

!

enable password cisco

!

!

interface Ethernet0

ip address 192.4.1.1 255.255.255.0

!

interface Serial0

ip address 192.3.1.1 255.255.255.0

encapsulation frame-relay IETF

no ip mroute-cache

bandwidth 2000

frame-relay map ip 192.3.1.2 100 broadcast

frame-relay lmi-type cisco

!

interface Serial1

ip address 192.1.1.1 255.255.255.0

encapsulation ppp

bandwidth 64

!

router igrp 10

passive-interface Ethernet0

network 192.1.1.0 255.255.255.0

network 192.3.1.0 255.255.255.0

network 192.4.1.0 255.255.255.0

neighbor 192.1.1.2

neighbor 192.3.1.2

!

ip classless

!

line con 0

line 1 8

line aux 0

line vty 0 4

!

end

2505的设置

Current configuration:

!

version 11.2

no service udp-small-servers

no service tcp-small-servers

!

hostname 2505

!

enable secret 5 $1$GbYT$OR05giiLZxl4hEAO0F8kV1

!

!

hub ether 0 1

link-test

auto-polarity

!

hub ether 0 2

link-test

auto-polarity

!

hub ether 0 3

link-test

auto-polarity

!

hub ether 0 4

link-test

auto-polarity

!

hub ether 0 5

link-test

auto-polarity

!

hub ether 0 6

link-test

auto-polarity

!

hub ether 0 7

link-test

auto-polarity

!

hub ether 0 8

link-test

auto-polarity

!

interface Ethernet0

ip address 192.1.4.1 255.255.255.0

!

interface Serial0

ip address 192.1.2.1 255.255.255.0

bandwidth 2000

clockrate 2000000

!

interface Serial1

ip address 192.1.1.2 255.255.255.0

enpsuration ppp

bandwidth 64

clockrate 64000

!

router igrp 10

passive-interface Ethernet0

network 192.1.1.0 255.255.255.0

network 192.1.2.0 255.255.255.0

network 192.1.4.0 255.255.255.0

neighbor 192.1.1.1

neighbor 192.1.2.2

!

no ip classless

!

line con 0

line aux 0

line vty 0 4

login

!

end

internal-2的设置

Current configuration :

!

!

version 11.2

no service udp-small-servers

no service tcp-small-servers

!

hostname internal-2

!

enable secret 5 $1$KX00$rTI/2TvDokWxT4xC6wvmi/

!

!

interface Ethernet0

no ip address

shutdown

!

interface Serial0

ip address 192.1.2.2 255.255.255.0

!

interface Serial1

no ip address

shutdown

!

router igrp 10

network 192.1.2.0 255.255.255.0

neighbor 192.1.2.1

!

no ip classless

!

line con 0

line 1 16

line aux 0

line vty 0 4

login

!

end

2514的设置

Current configuration :

!

!

version 11.2

no service udp-small-servers

no service tcp-small-servers

!

hostname 2514

!

enable secret 5 $1$uoHU$Vks/lY CRi33z4TXs4qekI0

!

frame-relay switching

!

interface Ethernet0

ip address 192.5.1.1 255.255.255.0

!

interface Ethernet1

no ip address

shutdown

!

interface Serial0

ip address 192.3.1.2 255.255.255.0

encapsulation frame-relay IETF

bandwidth 2000

clockrate 2000000

frame-relay map ip 192.3.1.1 100 broadcast

frame-relay intf-type dce

!

interface Serial1

ip address 192.2.1.1 255.255.255.0

no ip mroute-cache

encapsulation X25 dce

bandwidth 64

x25 address 1234

x25 htc 16

x25 nvc 4

x25 map ip 192.2.1.2 5678 broadcast

clockrate 64000

!

router igrp 10

passive-interfce Ethernet0

network 192.3.1.0 255.255.255.0

network 192.2.1.0 255.255.255.0

network 192.5.1.0 255.255.255.0

neighbor 192.2.1.2

neighbor 192.3.1.1

!

no ip classless

!

line con 0

line aux 0

line vty 0 4

login

!

end

2511-2的设置

Building configuration…

Current configuration:

version 11.3

no service password-encryption

!

hostname 2511-2

!

enable secret 5 $1$7o5F$MSyFWzVf6JBgnjLJghHSB.

!

interface Ethernet0

ip address 192.2.4.1 255.255.255.0

!

interface Serial0

ip address 192.2.1.2 255.255.255.0

encapsulation x25

no ip mroute-cache

x25 address 5678

x25 htc 16

x25 nvc 4

x25 map ip 192.2.1.1 1234 broadcast

!

interface Serial1

ip address 192.2.2.1 255.255.255.0

no ip mroute-cache

bandwidth 2000

clockrate 2000000

!

router igrp 10

network 192.2.2.0 255.255.255.0

network 192.2.4.0 255.255.255.0

network 192.2.1.0 255.255.255.0

neighbor 192.2.1.1

neighbor 192.2.2.2

!

ip classless

!

line con 0

line 1 8

line aux 0

line vty 0 4

login

!

end

internal -1的设置

Building configuration…

Current configuration:

version 11.2

no service udp-small-servers

no service tcp-small-servers

!

hostname internal-1

!

enable secret 5 $1$cF2M$z2T8Ohij5q/yn2RsiVaGE/

!

!

interface Ethernet0

no ip address

shutdown

!

interface Serial0

ip address 192.2.2.2 255.255.255.0

!

interface Serial1

no ip address

shutdown

!

router igrp 10

network 192.2.2.0 255.255.255.0

neighbor 192.2.2.1

!

no ip classless

!

line con 0

line 1 16

line aux 0

line vty 0 4

login

!

end

    • 评论
    • 分享微博
    • 分享邮件
    邮件订阅

    如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。

    重磅专题
    往期文章
    最新文章