当前位置:网站首页>Vxlan static centralized gateway

Vxlan static centralized gateway

2022-07-07 12:27:00 __ Dong

 Insert picture description here
To configure Vxlan Centralized gateway

 stay GW CE Shanghe Vxlan  Build a tunnel   Enable  Vbdif  Interface   adopt BD domain VNI  Distinguish between different data streams 
### CE1

bridge-domain 10
 vxlan vni 10

bridge-domain 30
 vxlan vni 30

interface Nve1
 source 1.1.1.1
 vni 10 head-end peer-list 2.2.2.2
 vni 30 head-end peer-list 2.2.2.2

interface Vbdif10
 ip binding vpn-instance A
 ip address 10.0.0.254 255.255.255.0
 
ip vpn-instance A
 ipv4-family
  route-distinguisher 1:1


### CE2

bridge-domain 10
 vxlan vni 10

bridge-domain 30
 vxlan vni 30

interface GE1/0/1
 undo shutdown

interface GE1/0/1.1 mode l2
 encapsulation dot1q vid 10
 bridge-domain 10

interface GE1/0/1.2 mode l2
 encapsulation dot1q vid 30
 bridge-domain 30

interface Nve1
 source 2.2.2.2
 vni 10 head-end peer-list 1.1.1.1
 vni 30 head-end peer-list 1.1.1.1

Configure the default route

### CE1

ip route-static 0.0.0.0 0.0.0.0 14.0.0.4
ip route-static vpn-instance A 0.0.0.0 0.0.0.0 14.0.0.4 public  #  stay VPN The global routing table is introduced into the instance 

ip route-static 10.0.0.1 255.255.255.255 Vbdif10 
 ip route-static 10.0.0.0 255.255.255.0 vpn-instance A  10.0.0.254   # Introduce in the global routing table VPN Instance routing 


原网站

版权声明
本文为[__ Dong]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/188/202207071027111560.html