Quantcast
Channel: IEOC - INE's Online Community
Viewing all articles
Browse latest Browse all 10744

Some help with PVLANs please

$
0
0

Hi folks,

I wanted to check a config in regard to PVLANs, because I think it is right, but I could not get my server to ping the vlan 10 interface (10.0.10.1) on my N7K (N7K8).  Below are the configs (I was on rack4). 

I'm just wondering whether it is because 'Server 8' is not actually attached to E1/2 (i.e. if you shutdown e1/2 on N5K8 it still shows as connected on the server) and that I just made up my vlan numbering and address ranges.

Thanks

Dominic

N7K8:

feature private-vlan
feature lacp
feature interface-vlan

vlan 10
  private-vlan primary
  private-vlan association 30
vlan 30
  private-vlan isolated

interface Vlan10
  no shutdown
  private-vlan mapping 30
  ip address 10.0.10.1/24

interface port-channel2
  switchport mode trunk
  switchport trunk allowed vlan 10,30
  spanning-tree port type network

interface Ethernet2/27
  switchport mode trunk
  switchport trunk allowed vlan 10,30
  spanning-tree port type network
  channel-group 2 mode active
  no shutdown

interface Ethernet2/28
  switchport mode trunk
  switchport trunk allowed vlan 10,30
  spanning-tree port type network
  channel-group 2 mode active
  no shutdown

N5K8:

feature private-vlan
feature lacp

vlan 10
  private-vlan primary
  private-vlan association 30
vlan 30
  private-vlan isolated

interface port-channel2
  switchport mode trunk
  switchport trunk allowed vlan 10,30
  spanning-tree port type network

interface Ethernet1/6
  switchport mode trunk
  switchport trunk allowed vlan 10,30
  spanning-tree port type network
  channel-group 2 mode active

interface Ethernet1/7
  switchport mode trunk
  switchport trunk allowed vlan 10,30
  spanning-tree port type network
  channel-group 2 mode active

interface Ethernet1/2
  description ***to server 8***

  speed 1000
  switchport mode private-vlan host
  switchport private-vlan host-association 10 30



Viewing all articles
Browse latest Browse all 10744

Trending Articles