Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 175326

VLAN Trunking

$
0
0

I can't get VLAN trunking to work and I'm not sure if I have VMware setup correctly.

 

~ # esxcfg-vswitch -l
Switch Name      Num Ports   Used Ports  Configured Ports  MTU     Uplinks  
vSwitch0         128         5           128               1500    vmnic1   

  PortGroup Name        VLAN ID  Used Ports  Uplinks  
  VM Network            0        1           vmnic1   
  Management Network    0        1           vmnic1   

Switch Name      Num Ports   Used Ports  Configured Ports  MTU     Uplinks  
vSwitch1         128         7           128               1500    vmnic2   

  PortGroup Name        VLAN ID  Used Ports  Uplinks  
  VM                    0        1           vmnic2   
  VLAN 20 - NIC         20       1           vmnic2   
  VLAN 10 - NIC         10       1           vmnic2   
  VM - NIC              0        1           vmnic2

 

~ # esxcfg-nics -l
Name    PCI           Driver      Link Speed     Duplex MAC Address       MTU    Description                  
vmnic1  0000:03:00.00 r8168       Up   100Mbps   Full   80:ee:73:73:51:7e 1500   Realtek Realtek 8168 Gigabit Ethernet
vmnic2  0000:05:00.00 r8168       Down 0Mbps     Full   80:ee:73:73:51:7f 1500   Realtek Realtek 8168 Gigabit Ethernet

 

~ # esxcfg-vmknic -l
Interface  Port Group/DVPort   IP Family IP Address                              Netmask         Broadcast       MAC Address       MTU     TSO MSS   Enabled Type               
vmk0       Management Network  IPv4      192.168.1.117                           255.255.255.0   192.168.1.255   80:ee:73:73:51:7f 1500    65535     true    STATIC             
vmk0       Management Network  IPv6      fe80::82ee:73ff:fe73:517f               64                              80:ee:73:73:51:7f 1500    65535     true    STATIC, PREFERRED  
vmk1       VM - NIC            IPv4      192.168.6.1                             255.255.255.0   192.168.6.255   00:50:56:60:ca:6a 1500    65535     true    STATIC             
vmk1       VM - NIC            IPv6      fe80::250:56ff:fe60:ca6a                64                              00:50:56:60:ca:6a 1500    65535     true    STATIC, PREFERRED  
vmk2       VLAN 10 - NIC       IPv4      192.168.110.1                           255.255.255.0   192.168.110.255 00:50:56:6d:d4:b6 1500    65535     true    STATIC             
vmk2       VLAN 10 - NIC       IPv6      fe80::250:56ff:fe6d:d4b6                64                              00:50:56:6d:d4:b6 1500    65535     true    STATIC, PREFERRED  
vmk3       VLAN 20 - NIC       IPv4      192.168.120.1                           255.255.255.0   192.168.120.255 00:50:56:67:40:fc 1500    65535     true    STATIC             
vmk3       VLAN 20 - NIC       IPv6      fe80::250:56ff:fe67:40fc                64                              00:50:56:67:40:fc 1500    65535     true    STATIC, PREFERRED  

I think this is setup correctly.  The non-VLAN is working fine but the VLANs won't give IPs.

 

I did create a thread in the Debian forum because I think it's something wrong with how my DHCP server is setup.

http://forums.debian.net/viewtopic.php?f=5&t=109503


Viewing all articles
Browse latest Browse all 175326

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>