Huawei设备(RIP动态路由)

2018-12-30  本文已影响0人  UncleDavid


RIP动态路由配置

拓扑

R1配置

[R1] interface Ethernet 0/0/0

[R1-Ethernet0/0/0]  ip address 192.168.0.254 255.255.255.0

[R1-Ethernet0/0/0]  q 

[R1]  interface Ethernet 0/0/1

[R1-Ethernet0/0/1]  ip address 192.168.1.1 255.255.255.0

[R1-Ethernet0/0/1]  q

[R1] ip route-static 192.168.2.0 255.255.255.0 192.168.1.2

[R1] rip

[R1-rip-1] undo summary

[R1-rip-1]version 2

[R1-rip-1] network 192.168.0.0

[R1-rip-1]  network 192.168.1.0

R2配置

    [R2] interface Ethernet 0/0/0

    [R2-Ethernet0/0/0]  ip address 192.168.2.200 255.255.255.0

    [R2-Ethernet0/0/0]  q

    [R2]  interface Ethernet 0/0/1

    [R2-Ethernet0/0/1]  ip address 192.168.0.2 255.255.255.0

    [R2-Ethernet0/0/1]  q

    [R2]  rip

    [R1-rip-1]  undo summary

    [R2-rip-1]  version 2

    [R2-rip-1]  network 192.168.2.0

    [R2-rip-1]  network 192.168.1.0


测试

R1 R2 ping测试
上一篇下一篇

猜你喜欢

热点阅读