...
Figure 1 VXLAN Networking Topology with Centralized Gateway Deployment
As shown in Figure 1, in the centralized gateway scenario, an enterprise has its own servers in different data centers, Server 1 belongs to VLAN 200, Server 1 belongs to VLAN 100 and Server 3 belongs to VLAN 300. Server 1, Server 2 and Server 3 are located in different network segments. Cross-subnet packet forwarding needs to be implemented through a centralized Layer 3 gateway.
...
Code Block |
---|
admin@Switch3# set vlans vlan-id 100 l3-interface vlan100 admin@Switch3# set vlans vlan-id 200 l3-interface vlan200 admin@Switch3# set vlans vlan-id 300 l3-interface vlan300 admin@Switch3# set vlans vlan-id 3073 l3-interface vlan3073 admin@Switch3# set vlans vlan-id 4094 l3-interface vlan4094 admin@Switch3# set l3-interface vlan-interface vlan100 address 192.168.10.254 prefix-length 24 admin@Switch3# set l3-interface vlan-interface vlan200 address 192.168.20.254 prefix-length 24 admin@Switch3# set l3-interface vlan-interface vlan300 address 192.168.30.254 prefix-length 24 admin@Switch3# set l3-interface vlan-interface vlan3073 address 100.30.3.4 prefix-length 24 admin@Switch3# set l3-interface vlan-interface vlan4094 address 100.10.2.1 prefix-length 24 admin@Switch3# set interface gigabit-ethernet te-1/1/2 family ethernet-switching native-vlan-id 100300 admin@Switch3# set interface gigabit-ethernet gete-1/1/2 family ethernet-switching port-mode trunk admin@Switch3# set interface gigabit-ethernet ge-1/1/2 family ethernet-switching vlan members 200 admin@Switch3# set interface gigabit-ethernet te-1/1/23 family ethernet-switching native-vlan-id 3073 admin@Switch3# set interface gigabit-ethernet gete-1/1/27 family ethernet-switching native-vlan-id 4094 |
...