12-15-2019 08:28 PM
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
12-16-2019 12:27 AM - edited 12-16-2019 12:28 AM
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?
12-16-2019 07:12 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide