We have tow L3 switches connectot to each other by L3 link. Each L3 switch switch has different VLANs configured on them. We need to configure GRE tunnle between one VLAN from switch 1 to another VLAN from second switch. To do this I need to use loopback address as source and destination of the TUNNEL. How can it be configured so that the traffic only from those VLAN's will undergo the encapsulation. VLAN's IP from both the switches are reachable with routing protocol.
L3 switch 1 L3 switch 2
VLAN 10 L3 WAN-LINK VLAN 200
ip address 10.1.1.1 /24 ip address 10.1.200.1 /24
VLAN 11 VLAN 211
ip address 10.1.11.1 /24 ip address 10.1.211.1 /24
We are running routing protocol and are able to reach all the networks.
We need to configure the GRE tunnel between for VLAN 10 and VLAN 200 using loopback address.
Can we just take VLAN ip address as input IP address and destination IP address of the tunnel.
Please share the experince.