RIP自动产生默认路由

优质老薛主机推荐:15%终身付款折扣:xwseo15 25%首次付款折扣 : xwseo115 点击下图进入购买

RIP自动产生默认路由

AR1配置如下:

<Huawei>dis cu
#
interface GigabitEthernet0/0/0
ip address 12.1.1.1 255.255.255.0
#
interface LoopBack0
ip address 1.1.1.1 255.255.255.255
#
rip 1
default-route originate
version 2
network 12.0.0.0
network 1.0.0.0

AR2配置如下:

<Huawei>dis cu
#
interface GigabitEthernet0/0/0
ip address 12.1.1.2 255.255.255.0
#
rip 1
version 2
network 12.0.0.0

通过以上一条命令default-route originate  即可自动添加生成默认路由

查看路由表

rip产生默认路由

赞 (0)
分享到:更多 ()