cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1296
Views
0
Helpful
2
Replies

common gateway for multiple Vlan's Nexus 5596

raghavendra
Level 1
Level 1

Hi ,

 

how to create common gateway for multiple vlan's in nexus 5596 ?

 

I have created 3 vlans and would like to have common gateway for all 3 vlans, this requirement is to configure openstack environment.

 

 

here is the vlan settings in the nexus 5596 

interface Vlan310

  description OPENSTACK-MANAGEMENT

  no shutdown

  ip address 172.29.236.1/22

  hsrp 236

    preempt

    timers msec 250 msec 750

    ip 172.29.236.3

  ip dhcp relay address 10.120.200.6

 

 

interface Vlan320

  description OPENSTACK Tunnel (VXLAN) Network

  no shutdown

  ip address 172.29.244.1/22

  hsrp 244

    name OPENSTACK-STORAGE

    preempt

    timers msec 250 msec 750

    ip 172.29.244.3

  ip dhcp relay address 10.120.200.6

 

interface Vlan330

  description OPENSTACK STORAGE NETWORK

  no shutdown

  ip address 172.29.240.1/22

  hsrp 240

    name OPENSTACK-TUNNEL

    preempt

    timers msec 250 msec 750

    ip 172.29.240.3

  ip dhcp relay address 10.120.200.6

 

 

Basically i want a common gateway for all 3 vlan's,  on server side with virtual nic

 

auto lo

iface lo inet loopback

 

auto enp1s0

iface enp1s0 inet static

address 172.29.236.220

netmask 255.255.252.0

gateway 172.29.236.3

 

auto enp1s0.320 .       <------- virtual  nic

iface enp1s0.320 inet static

address 172.29.240.220

netmask 255.255.252.0

gateway 172.29.236.3

 

auto enp1s0.330       <---- virtual nic

iface enp1s0.330 inet static

address 172.29.240.220

netmask 255.255.252.0

gateway 172.29.236.3

 

any help is much appreciated.

 

Thanks 

Raghavendra  

2 Replies 2

balaji.bandi
Hall of Fame
Hall of Fame

As per your post -

 

1. In Nexus all the VLAN configured with SVI - so they already have communication between VLANs

2. why are you looking to configured 3 IP address on Linux Server, is this single interface or 3 interfaces? ( i know you mentioned virtual nic, is this virtunal nic binded to multiple physical nic in related to this server) - not whlole Esxi.

3. what is the use case of 3 IP addresses on Server?

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

3 IPs are being configured for Openstack environment for compute node.

 

Basically we are creating bond interface with 2 Nic card for each Vlan creating virtual Nic. 

 

3 IPs(subnet) will be used for management, storage and prod network

 

please let me know if any other information required. 

 

Thanks