[Lab] OmniSwitch Routing by RIP

這個Lab的環境是
router : OS6400
RIP v2…(Omniswitch send預設v2, receive預設both)
Local route…

基本上在官方User Guide裡面有基本的設定,
但是需要注意的是route-map與redist的部份,
如果沒有設定這兩個,route是不會出現任何rip routing

如果你的環境是static route
那就要把ip redist改成static into rip
route-map名稱也記得改一下,以免混淆…

以下為router設定

R1

vlan 1 enable name "VLAN 1"
vlan 2 enable name "VLAN 2"
vlan 2 port default 1/5

ip interface "VLAN 1" address 192.168.1.254 mask 255.255.255.0 vlan 1 ifindex 1
ip interface "VLAN 2" address 192.168.3.254 mask 255.255.255.0 vlan 2 ifindex 2

ip load rip
ip rip interface "VLAN 1"
ip rip interface "VLAN 1" status enable
ip rip status enable

ip route-map "local-to-rip" sequence-number 10 action permit
ip redist local into rip route-map "local-to-rip" status enable

R2

vlan 1 enable name "VLAN 1"
vlan 2 enable name "VLAN 2"
vlan 2 port default 1/5

ip interface "VLAN 1" address 192.168.1.253 mask 255.255.255.0 vlan 1 ifindex 1
ip interface "VLAN 2" address 192.168.2.254 mask 255.255.255.0 vlan 2 ifindex 2

ip load rip
ip rip interface "VLAN 1"
ip rip interface "VLAN 1" status enable
ip rip status enable

ip route-map "local-to-rip" sequence-number 10 action permit
ip redist local into rip route-map "local-to-rip" status enable

設定完後,
RIP就會自動生效,
下圖為生效後的狀況

 

[相關文章]

  1. 尚無回應.

  1. 尚無引用.