Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


NOTE:

  • Layer 3 packets cannot be forwarded normally if IP routing function is disabled.
  • Enable IP routing function before using VXLAN.
  • IP routing affects only Layer 3 data forwarding, but takes no effect on non-Layer 3 data forwarding of the interface. Therefore, inband management (such as login via SSH) has nothing to do with whether IP routing is enabled or not.

To allow users to communicate with users in different VLANs through Layer 3 routing, in addition to configuring Layer 3 interfaces for VLANs, you also need to enable IP routing function on Layer 3 switches.

...

The default setting is set ip routing enable false. The command takes effect immediately after committing.

Configuration Example

Network Requirement

As shown in Figure 1, User1 and User2 are in the same department of the company but belong to different VLANs and are located on different network segments. Follow the configuration steps below to achieve User1 and User2 can communicate with each other.
1. Create a VLAN and specify the VLAN to which the user belongs.
2. Add an interface to the VLAN.
3. Create a Layer 3 interface and configure the IP address.
4. Enable IP routing function to achieve inter-VLAN routing. 

NOTE:

On User1 and User2, add a route with the default gateway to be the IP address of the corresponding Layer 3 VLAN interface.

Figure 1. Network of Inter-VLAN Routing

 

Image Modified

Procedure

Step1         Create VLAN2 and VLAN3 on Switch.

...

Code Block
admin@XorPlus# set vlanl3-interface interface vlan-2interface vif vlan-2 address 192.168.2.2 prefix-length 24
admin@XorPlus# set vlanl3-interface interface vlan-3 vifinterface vlan-3 address 192.168.3.2 prefix-length 24

...