cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
518
Views
5
Helpful
3
Replies

VXLAN Subnet Schemes?

CiscoPurpleBelt
Level 6
Level 6

Right now I am trying to configure things so it has a good flow and was wondering if you could give a little advice in regards to VXLAN..

So let' say I have the following:

Network ID:50500

Network Name: Test_50500

VRF Name: TestVRF_50500

VLAN ID: 500

SVI IP: 172.16.50.1

 

Is this a good practice so things can be remembered better?

Where I am troubled, what subnets  to people usually use for vlans abouv 255 because obviously know octect can be 256. What if it is vlan 1200 or 10200?

3 Replies 3

nazimkha
Level 4
Level 4

For VXLAN based configs, I would keep the VLAN number below 255 if possible. I would reason out with the below config snapshot

Here is a snippet of the VXLAN config
vlan 20
vn-segment 10020
vlan 30
vn-segment 10030

nterface nve1
no shutdown
source-interface loopback0
host-reachability protocol bgp
member vni 10020
mcast-group 225.5.20.1
member vni 10030
mcast-group 225.5.30.1

interface Vlan20
vrf member vxlan-test
ip address 172.16.20.1/24
fabric forwarding mode anycast-gateway

interface Vlan30
vrf member vxlan-test
ip address 172.16.30.1/24
fabric forwarding mode anycast-gateway

Awesome thanks!

So I see you are using the same SVI. So this would work on the same device? I know you can't use the same layer 2 VLAN number on the same device in regards to VXLAN right?

 

Also what subnets  to people usually use for vlans above 255 because obviously an octect can be not be above 255. What if it is vlan 1200 or 10200 what is best way to keep a good order or flow to remember things?

 

So I see you are using the same SVI. So this would work on the same device? I know you can't use the same layer 2 VLAN number on the same device in regards to VXLAN right?

>>>>>Good Catch. Thanks for pointing it out. It was a typo. I have corrected it.

I did a VXLAN implementation and the VLAN number was well within 255. So didnt get to that issue.
But if I get something, I would play with the 2nd octect
something like 172.1.2.0 : 2nd Octet 1 will represent the first set of VLANs upto 255 and then 2nd Octet : 2 will represent the second set of VLAN's. I havent thought through it.

If someone has a better idea than they can share



Review Cisco Networking for a $25 gift card