VXLAN - GNS3 (VEOS \ IOU_L3) 



Images: 
Spine - IOU - i86bi_linux-adventerprisek9-ms.152-4.M1"
Leaf -  vEOS - 4.13.16M-3213248.41316M.1  

This was my first crack at configuring VXLAN i used a combination of vEOS and IOS because that is closest to what I run in my production environment. The actual vxlan configuration is very easy its more about making sure the underlying connectivity is in place. You can build the same lab in GNS3 using the CSR router and EIGRP which should be simpler (I had some issues with route summarization). The most important thing to confirm before starting on the vxlan configuration is that you have full reachability between all the loopbacks. Anyway it worked for me next step is doing this with EVPN.



#################
## SPINE-1 ##
#################

conf t

## GENERAL ##
hostname SPINE-1
ip multicast-routing

## INTERFACES ##
int e0/1
ip addr 10.0.11.1 255.255.255.252

int e0/2
ip addr 10.0.21.1 255.255.255.252

int e0/3
ip addr 10.0.31.1 255.255.255.252

int e1/0
ip addr 10.0.41.1 255.255.255.252

int lo0
ip addr 10.0.0.1 255.255.255.255

## OSPF ## 
router ospf 10
router-id 10.0.0.1
network 10.0.11.0 0.0.0.3 area 0
network 10.0.21.0 0.0.0.3 area 0
network 10.0.31.0 0.0.0.3 area 0
network 10.0.41.0 0.0.0.3 area 0



#################
## SPINE-2 ##
#################

conf t

## GENERAL ##
hostname SPINE-2
ip multicast-routing

## INTERFACES ##
int e0/1
ip addr 10.0.12.1 255.255.255.252

int e0/2
ip addr 10.0.22.1 255.255.255.252

int e0/3
ip addr 10.0.32.1 255.255.255.252

int e1/0
ip addr 10.0.42.1 255.255.255.252

int lo0
ip addr 10.0.0.2 255.255.255.255

## OSPF ## 
router ospf 10
router-id 10.0.0.2
network 10.0.12.0 0.0.0.3 area 0
network 10.0.22.0 0.0.0.3 area 0
network 10.0.32.0 0.0.0.3 area 0
network 10.0.42.0 0.0.0.3 area 0


#################
## SPINE-3 ##
#################

conf t

## GENERAL ##
hostname SPINE-3
ip multicast-routing


## INTERFACES ##
int e0/1
ip addr 10.0.13.1 255.255.255.252

int e0/2
ip addr 10.0.23.1 255.255.255.252

int e0/3
ip addr 10.0.33.1 255.255.255.252

int e1/0
ip addr 10.0.43.1 255.255.255.252

int lo0
ip addr 10.0.0.3 255.255.255.255

## OSPF ## 
router ospf 10
router-id 10.0.0.3
network 10.0.13.0 0.0.0.3 area 0
network 10.0.23.0 0.0.0.3 area 0
network 10.0.33.0 0.0.0.3 area 0
network 10.0.43.0 0.0.0.3 area 0



#################
## SPINE-4 ##
#################

conf t

## GENERAL ##
hostname SPINE-4
ip multicast-routing

## INTERFACES ##
int e0/1
ip addr 10.0.14.1 255.255.255.252

int e0/2
ip addr 10.0.24.1 255.255.255.252

int e0/3
ip addr 10.0.34.1 255.255.255.252

int e1/0
ip addr 10.0.44.1 255.255.255.252

int lo0
ip addr 10.0.0.4 255.255.255.255

## OSPF ## 
router ospf 10
router-id 10.0.0.4
network 10.0.14.0 0.0.0.3 area 0
network 10.0.24.0 0.0.0.3 area 0
network 10.0.34.0 0.0.0.3 area 0
network 10.0.44.0 0.0.0.3 area 0



#################
## LEAF-1 ##
#################

en
conf t

## GENERAL ##
ip routing
hostname LEAF-1


## VLANS ## 

vlan 10
name PC

## INTERFACES ##
int e1
no switchport
ip addr 10.0.11.2 255.255.255.252

int e2
no switchport
ip addr 10.0.12.2 255.255.255.252

int e3
no switchport
ip addr 10.0.13.2 255.255.255.252

int e4
no switchport
ip addr 10.0.14.2 255.255.255.252

int et7
switchport access vlan 10

int lo0
ip addr 10.0.0.5 255.255.255.255


## OSPF ##
router ospf 10
router-id 10.0.0.5

network 10.0.11.0/30 area 0.0.0.0
network 10.0.12.0/30 area 0.0.0.0
network 10.0.13.0/30 area 0.0.0.0
network 10.0.14.0/30 area 0.0.0.0


## VXLAN ##
interface Vxlan1
vxlan source-interface Loopback0
vxlan vlan 10 flood vtep 10.0.0.6 10.0.0.7 10.0.0.8
vxlan udp-port 4789
vxlan vlan 10 vni 1010





#################
## LEAF-2 ##
#################

en
conf t

## GENERAL ##
ip routing
hostname LEAF-2

## VLANS ##
vlan 10
name PC

## INTERFACES ##
int lo0
ip addr 10.0.0.6 255.255.255.255

int e1
no switchport
ip addr 10.0.21.2 255.255.255.252

int e2
no switchport
ip addr 10.0.22.2 255.255.255.252

int e3
no switchport
ip addr 10.0.23.2 255.255.255.252

int e4
no switchport
ip addr 10.0.24.2 255.255.255.252

int et7
switchport access vlan 10

## OSPF ##
router ospf 10
router-id 10.0.0.6

network 10.0.21.0/30 area 0.0.0.0
network 10.0.22.0/30 area 0.0.0.0
network 10.0.23.0/30 area 0.0.0.0
network 10.0.24.0/30 area 0.0.0.0

## VXLAN ##
interface Vxlan1
vxlan source-interface Loopback0
vxlan vlan 10 flood vtep 10.0.0.5 10.0.0.7 10.0.0.8
vxlan udp-port 4789
vxlan vlan 10 vni 1010


#################
## LEAF-3 ##
#################

en
conf t

## GENERAL ##
hostname LEAF-3
ip routing 

## VLANS ##
vlan 10
name PC

## INTERFACES ##
int lo0
ip addr 10.0.0.7 255.255.255.255

int e1
no switchport
ip addr 10.0.31.2 255.255.255.252

int e2
no switchport
ip addr 10.0.32.2 255.255.255.252

int e3
no switchport
ip addr 10.0.33.2 255.255.255.252

int e4
no switchport
ip addr 10.0.34.2 255.255.255.252

int et7
switchport access vlan 10

## OSPF ##
router ospf 10
router-id 10.0.0.7

network 10.0.31.0/30 area 0.0.0.0
network 10.0.32.0/30 area 0.0.0.0
network 10.0.33.0/30 area 0.0.0.0
network 10.0.34.0/30 area 0.0.0.0

## VXLAN ##
interface Vxlan1
vxlan source-interface Loopback0
vxlan vlan 10 flood vtep 10.0.0.5 10.0.0.6 10.0.0.8
vxlan udp-port 4789
vxlan vlan 10 vni 1010


#################
## LEAF-4 ##
#################

en
conf t

## GENERAL ##
hostname LEAF-4
ip routing 

## VLANS ##
vlan 10
name PC

## INTERFACES ##
int lo0
ip addr 10.0.0.7 255.255.255.255

int e1
no switchport
ip addr 10.0.41.2 255.255.255.252

int e2
no switchport
ip addr 10.0.42.2 255.255.255.252

int e3
no switchport
ip addr 10.0.43.2 255.255.255.252

int e4
no switchport
ip addr 10.0.44.2 255.255.255.252

int et7
desc PC-4
switchport access vlan 10

## OSPF ## 
router ospf 10
router-id 10.0.0.8

network 10.0.41.0/30 area 0.0.0.0
network 10.0.42.0/30 area 0.0.0.0
network 10.0.43.0/30 area 0.0.0.0
network 10.0.44.0/30 area 0.0.0.0

## VXLAN ##
interface Vxlan1
vxlan source-interface Loopback0
vxlan vlan 10 flood vtep add 10.0.0.5 10.0.0.6 10.0.0.7
vxlan udp-port 4789
vxlan vlan 10 vni 1010


Comments

  1. Hello thank you very much for this blog I really need it so my question is vEOS free ? And don't we need to configure multicating ?

    ReplyDelete
    Replies
    1. I "think" you should be able to download veos from Arista you might need to register an account ! Sorry for the slow reply.

      Delete
    2. Network Engineers Notepad >>>>> Download Now

      >>>>> Download Full

      Network Engineers Notepad >>>>> Download LINK

      >>>>> Download Now

      Network Engineers Notepad >>>>> Download Full

      >>>>> Download LINK dJ

      Delete
  2. le routeur spine-BB est méme type les routeurs leaf arista vEOS ???

    ReplyDelete
  3. I have tried this configuration in GNS3, It didn't work for me, Could you please post command output also share the configuration of SPINE-BB. VxLAN is not coming up in my topology.

    ReplyDelete
  4. Is multicast is not required at leaf switches ?

    ReplyDelete
  5. Network Engineers Notepad >>>>> Download Now

    >>>>> Download Full

    Network Engineers Notepad >>>>> Download LINK

    >>>>> Download Now

    Network Engineers Notepad >>>>> Download Full

    >>>>> Download LINK Cc

    ReplyDelete

Post a Comment

Popular posts from this blog

Configure OSPF Juniper SRX

Upgrading JUNOS via USB