cancel
Showing results for 
Search instead for 
Did you mean: 

Route VLAN traffic between two locations with GRE tunneling (With EXOS)

Route VLAN traffic between two locations with GRE tunneling (With EXOS)

Ashwini_Balacha
New Contributor
We have x460 extreme switches in two different locations connected with L3 networking. I would like some suggestions on extending the vlan from one location to the other over l3. When I read about this, I realized that one of my option is L2-GRE and EXOS does not support it. Can I do this configuration using L3-GRE tunneling?
Please provide me some guidance on this.
21 REPLIES 21

Narayanan__Kart
Extreme Employee
I suppose you are trying to create tunnelling beween two x460 extreme switches. Then above sample config would be fine.

Please let us know if you need any further help on this?

Regards,
Karthikeyan

Narayanan__Kart
Extreme Employee
Are we trying to create a GRE tunnel between two extreme switches? or if any other hardware involved.

Narayanan__Kart
Extreme Employee
Yes. We can. Please find the below sample config:

Switch 1:

create vlan "v1"
create vlan "v2"
configure vlan v1 add ports 23 untagged
configure vlan v2 add ports 33 untagged
configure vlan v1 ipaddress 10.0.0.1 255.0.0.0
enable ipforwarding vlan v1
configure vlan v2 ipaddress 20.0.0.1 255.0.0.0
enable ipforwarding vlan v2

create tunnel m1 gre destination 30.0.0.1 source 10.0.0.1
configure tunnel m1 ipaddress 1.0.0.1 255.255.255.0
configure iproute add 20.0.0.2 255.255.255.255 1.0.0.2
configure ospf routerid 1.1.1.1
enable ospf
configure ospf add vlan v1 area 0.0.0.0

Core:

create vlan "v1"
create vlan "v2"
configure vlan v1 add ports 28 untagged
configure vlan v2 add ports 53 untagged
configure vlan v1 ipaddress 10.0.0.2 255.0.0.0
enable ipforwarding vlan v1
configure vlan v2 ipaddress 30.0.0.2 255.0.0.0
enable ipforwarding vlan v2

enable ospf
configure ospf add vlan v1 area 0.0.0.0
configure ospf add vlan v2 area 0.0.0.0

Switch3:

create vlan "v1"
create vlan "v2"
configure vlan v2 add ports 18 untagged
configure vlan v1 add ports 17 untagged
configure vlan v1 ipaddress 30.0.0.1 255.0.0.0
enable ipforwarding vlan v1
configure vlan v2 ipaddress 20.0.0.2 255.0.0.0
enable ipforwarding vlan v2
create tunnel m1 gre destination 10.0.0.1 source 30.0.0.1
configure tunnel m1 ipaddress 1.0.0.2 255.255.255.0
enable ipforwarding tunnel m1
configure iproute add 20.0.0.1 255.255.255.255 1.0.0.1
enable ospf
configure ospf add vlan v1 area 0.0.0.0

So here we are reaching from sw1 to sw 3 by creating layer 3 GRE tunnel.

Please let me know if you need any more information

Regards,
Karthikeyan

Ashwini_Balacha
New Contributor
Hello Guys,

Thank you for your reply. The configuration setup example is helpful to understand this clearly.
I saw the configuration in the EXOS_User_guide 16.1 . I have a follow up question on this. I have attached a topology which I am trying to create.

2e05ad985f54454ab4e6da04a344f5ff_RackMultipart20161126-14429-a11s6w-GRE_L3_Tunnel_inline.jpg



Can I create a GRE tunnel between these two routers which are on different subnets? I was not sure of this from the examples.

Tripathy__Priya
Extreme Employee
Hello Ashwini,

For your further reference and awareness in the future please find below EXOS switches supporting Layer3 Tunneling:

Summit X460,X480,X650, X670 and E4G
BD8900 (G96T-c,10G24-x,G48T-XL, G48X-XL,10G8X-XL,40G6X-xm)
BDX8 (all I/O cards)

Coming to configuration i could see already Praveen and Karthikeyan have provided you the detailed sample configuration for this application.

If still you need any further information then do let us know.

GTM-P2G8KFN