双出口路由配置实例

双出口路由配置实例

2023年7月4日发(作者:)

双出口路由配置实例

ZDNet 网络频道频道 更新时间:2008-05-08 作者:中国IT实验室 来源:中国IT实验室

本文关键词:如何设置路由器 路由器安装 路由器设置 路由器

双出口路由配置实例

拓扑:

R1

R1# show running-config

.

!

interface Ethernet0/0

ip address 100.100.100.1 255.255.255.0

ip policy route-map blah

!

interface Serial1/0

ip address 10.10.10.1 255.255.255.0

!

interface Serial2/0

ip address 20.20.20.1 255.255.255.0

!

router ospf 1

!--- OSPF is not configured on Serial1/0.

log-adjacency-changes

network 20.20.20.0 0.0.0.255 area 0

network 100.100.100.0 0.0.0.255 area 0 !

ip classless

no ip http server

!

access-list 100 permit ip host 100.100.100.3 host 200.200.200.4

!

route-map blah permit 10

match ip address 100

set ip default next-hop 10.10.10.2

.

.

!

end

R2

R2# show running-config

. !

!

interface Ethernet0/0

ip address 200.200.200.2 255.255.255.0

ip policy route-map blah

!

interface Serial1/0

ip address 10.10.10.2 255.255.255.0

fair-queue

!

interface Serial2/0

ip address 20.20.20.2 255.255.255.0

!

router ospf 1

!--- OSPF is not configured on Serial1/0.

log-adjacency-changes

network 20.20.20.0 0.0.0.255 area 0 network 200.200.200.0 0.0.0.255 area 0

!

ip classless

no ip http server

!

access-list 100 permit ip host 200.200.200.4 host 100.100.100.3

!

route-map blah permit 10

match ip address 100

set ip default next-hop 10.10.10.1

!

end

发布者:admin,转转请注明出处:http://www.yc00.com/web/1688419726a135670.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信