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

Vlan subnet not accessible to Server!

Menon
Level 1
Level 1

Hello team,

Just a simple question - i have created a new vlan(112) on my nexus 6k and added it to my server trunk port and created a VM with interface of vlan tag 112. While checking there was no connectivity between.

Configuration on switch:

 

 

 

interface Vlan112
  no shutdown
  ip address 10.100.112.2/24
  hsrp 112 
    preempt 
    priority 200
    ip 10.100.112.10

interface Ethernet1/4
  description S3-LAN2
  switchport mode trunk
  switchport access vlan 12
  switchport trunk allowed vlan 12,112,600-604
  spanning-tree port type edge trunk

 

 

 

There is no vlan er-disabled on trunk every thing is fine but no sure the vlan is not getting on server.

 

 sho interface ethernet 1/4 trunk 
--------------------------------------------------------------------------------
Port          Native  Status        Port
              Vlan                  Channel
--------------------------------------------------------------------------------
Eth1/4        1       trunking      --
--------------------------------------------------------------------------------
Port          Vlans Allowed on Trunk
--------------------------------------------------------------------------------
Eth1/4        12,112,600-604
--------------------------------------------------------------------------------
Port          Vlans Err-disabled on Trunk
--------------------------------------------------------------------------------
Eth1/4        none
--------------------------------------------------------------------------------
Port          STP Forwarding
--------------------------------------------------------------------------------
Eth1/4        12,112,600-604
--------------------------------------------------------------------------------
Port          Vlans in spanning tree forwarding state and not pruned
--------------------------------------------------------------------------------
Eth1/4        12,112,600-604
--------------------------------------------------------------------------------
Port          Vlans Forwarding on FabricPath
--------------------------------------------------------------------------------

 

 

sho interface ethernet 1/4 switchport 
Name: Ethernet1/4
  Switchport: Enabled
  Switchport Monitor: Not enabled 
  Operational Mode: trunk
  Access Mode VLAN: 1 (default)
  Trunking Native Mode VLAN: 1 (default)
  Trunking VLANs Allowed: 12,112,600-604
  Voice VLAN: none
  Extended Trust State : not trusted [COS = 0]
  Administrative private-vlan primary host-association: none
  Administrative private-vlan secondary host-association: none
  Administrative private-vlan primary mapping: none
  Administrative private-vlan secondary mapping: none
  Administrative private-vlan trunk native VLAN: none
  Administrative private-vlan trunk encapsulation: dot1q
  Administrative private-vlan trunk normal VLANs: none
  Administrative private-vlan trunk private VLANs: none
  Operational private-vlan: none
  Unknown unicast blocked: disabled
  Unknown multicast blocked: disabled

 

Thanks in advance.!

5 Replies 5

balaji.bandi
Hall of Fame
Hall of Fame

that is on the Nexus side, how about esxi side - esxi have vswitch also, do you have vlan and PC has what gateway ?

is this new VLAN only not working, do you have any other VM working on esxi ? (if so wht VLAN)

Looks like you running vPC on nexus, make sure you run vPC towards esxi also,. i also see the HSRP config here,.

what is the VM IP address what gateway you using ? this should be VIP IP ?

BB

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

How to Ask The Cisco Community for Help

Menon
Level 1
Level 1

Hi Balaji,

Actually am using Proxmox as a type-1 hypervisor - on the hypervisor side Linux bridge is there and its Vlan aware!. Also there are VMs running successfully on Vlan12. Only the newly created vlan is not working!. I gave the IP 10.100.112.129/24 to the VM and GW is 10.100.112.250.  Currently there is no connectivity to the outside so i didn't gave the HSRP VIP as GW. Am Currently just checking connectivity on inside. Still no luck.

Thanks.

Hi,

I gave the IP 10.100.112.129/24 to the VM and GW is 10.100.112.250

If the gateway is the nexus switch, according to the config you posted, the IP address of the vlan is 10.100.112.2 and the VIP is .10

If you are running HSRP, the gateway should be the VIP.

HTH

 

BTW, if you have 2 nexus switches with VPC, the config for both switches needs to be the same and the vlan should be part of the VPC peer-link.

HTH

 switchport mode trunk
  switchport access vlan 12

this is trunk or access port ? I think you misconfig the port, correct it and check again 

Review Cisco Networking for a $25 gift card