When Should I Use an IRB Interface or RVI?配置架構: [L3 IRB.X] -- [VLAN.X] -- [PHY port] 其中 X 為邏輯介面,不同 VLAN 對應之。
To forward packets between VLANs, you normally need a router that connects the VLANs. However, you can accomplish this forwarding on a switch without using a router by configuring an integrated routing and bridging (IRB) interface.
- Allow traffic to be routed between VLANs.
- Provide Layer 3 IP connectivity to the switch.
root# show interfaces irb | display set
set interfaces irb unit 70 family inet address 192.168.70.254/24 set interfaces irb unit 80 family inet address 192.168.80.254/24root# show vlans | display set
set vlans vlan70 vlan-id 70 set vlans vlan70 l3-interface irb.70 /* 把 vlan70 與 irb.70 綁定 */ set vlans vlan80 vlan-id 80 set vlans vlan80 l3-interface irb.80root# show interfaces | display set
set interfaces ge-0/0/0 unit 0 family ethernet-switching vlan members vlan70 set interfaces ge-0/0/1 unit 0 family ethernet-switching vlan members vlan70 set interfaces ge-0/0/12 unit 0 family ethernet-switching vlan members vlan80 set interfaces ge-0/0/13 unit 0 family ethernet-switching vlan members vlan80
Junos: 18.1R3.3
沒有留言:
張貼留言