UNSOLVED

wdtech

updated

10 years ago

W

wdtech

6 Posts

0

149019

January 21st, 2011 11:00

VLAN Trunking over LAG 6224

Hi,

I have two 6224's connected to each over with a 4 port LAG. Everything seemed fine until I added another VLAN. I am unable to ping across the LAG for IPs in the new VLAN. In fact it seems like my configured VLANs make no difference to what happens.

 Here's how I set things up:

 

I can ping any of the 10.10.10.X subnet, in fact I can plug in to any port and ping them all. I cannot ping 172.30.1.27 from 172.30.1.28 and vice versa.

VLAN 10 is for PS4000 and clients. VLAN 30 is for private CSV traffic. I have another VLAN to add for Live Migration, but I am stuck until I can figure out why I can't ping across the LAG. Hope someone can help point me in the right direction.

Here's the config (both switches are the same except for the management IP)

 

!Current Configuration:
!System Description "Powerconnect 6224, 3.2.0.7, VxWorks 6.5"
!System Software Version 3.2.0.7
!Cut-through mode is configured as disabled
!
configure
vlan database
vlan 10,30
exit
snmp-server location dell_rack
hostname sw1
stack
member 1 1
exit
ip address 192.168.1.3 255.255.255.0
ip default-gateway 192.168.1.1
username admin password xxxxxxxxxxxxxxxxxxxxxxxx level 15 encrypted
!
interface ethernet 1/g7
mtu 9216
switchport mode general
switchport general allowed vlan add 10
exit
!
interface ethernet 1/g8
mtu 9216
switchport mode general
switchport general allowed vlan add 10
exit
!
interface ethernet 1/g9
mtu 9216
switchport mode general
switchport general allowed vlan add 10
exit
!
interface ethernet 1/g10
mtu 9216
switchport mode general
switchport general allowed vlan add 10
exit
!
interface ethernet 1/g11
mtu 9216
switchport mode general
switchport general allowed vlan add 10
exit
!
interface ethernet 1/g12
mtu 9216
switchport mode general
switchport general allowed vlan add 10
exit
!
interface ethernet 1/g13
mtu 9216
switchport mode general
switchport general allowed vlan add 10
exit
!
interface ethernet 1/g14
mtu 9216
switchport mode general
switchport general allowed vlan add 10
exit
!
interface ethernet 1/g19
mtu 9216
switchport mode general
switchport general allowed vlan add 30
exit
!
interface ethernet 1/g20
mtu 9216
switchport mode general
switchport general allowed vlan add 30
exit
!
interface ethernet 1/g21
channel-group 1 mode on
exit
!
interface ethernet 1/g22
channel-group 1 mode on
exit
!
interface ethernet 1/g23
channel-group 1 mode on
exit
!
interface ethernet 1/g24
channel-group 1 mode on
exit
!
interface port-channel 1
spanning-tree portfast
switchport mode trunk
switchport trunk allowed vlan add 10,30
mtu 9216
exit
exit



































































































  • lrnajjones

    1 Rookie

    •

    16 Posts

    3819

    0

    Posted January 22nd, 2011 22:00

    Can you put interface's 1/g21 - 1/g24 with a MTU of 9216 as well as the 'port-channel 1' interface?

  • bh1633

    909 Posts

    3819

    0

    Posted January 24th, 2011 12:00

    Port 19 and 20 and in general mode.   You have set the vlan of this port to 30 untagged.  This sets the port to transmit vlan 30 packets untagged.  You did not set the PVID.   The PVID tells the switch how to classify untagged packets received on this port.   Since you did not set it, untagged packets received on this port are put in vlan 1.

    2 different ways to fix this:

    - set ports 19 and 20 to access mode in vlan 30

    switchport mode access

    switchport access vlan 30

    - Or leave them in general mode but set the pvid by adding this to the port configuration:

    switchport general pvid 30

     

  • wdtech

    6 Posts

    3819

    0

    Posted January 24th, 2011 12:00

    I set 21-24 mtu 9216 but no change.

    If I plug my laptop (10.10.10.55) in #19 on switch 2 I can ping all the other vlan 10 IPs.

     

    If I set it to 172.30.1.55 I can only ping 172.30.1.28 that exists on the same switch. I cannot ping 172.30.1.27. It seems that the only VLAN being trunked is VLAN 10.

  • nrls24

    10 Posts

    3819

    0

    Posted January 24th, 2011 13:00

    Setting the PVID on the interfaces isn't enough. You should also tag the VLANs on the trunk:

    interface port-channel 1
    spanning-tree portfast
    switchport mode trunk
    switchport trunk allowed vlan add 10,30 tagged
    mtu 9216
    exit


    best regards

    nrls24

  • wdtech

    6 Posts

    3826

    0

    Posted January 24th, 2011 14:00

    Hi nrls24,

    switchport trunk allowed vlan add 10,30 tagged

    isn't a valid command. It won't let me add tagged to the end.

  • wdtech

    6 Posts

    3826

    0

    Posted January 24th, 2011 14:00

    I tried

    switchport general pvid 30    - can ping IP on same switch only.

    Then I tried:

    interface range ethernet 1/g19-1/g20

    switchport mode access

    switchport access vlan 30

    - I cannot even ping 172.30.1.28 from 172.30.1.55 on the same switch, ports 19 & 20.

    I think I must be missing something else. I thought that vlan1 was not trunked by default. Is my vlan10 actually thinking it is vlan1 then?

  • bh1633

    909 Posts

    3826

    0

    Posted January 25th, 2011 12:00

    Some definitions for PowerConnect switchport mode:

    trunk: all packets transmitted are tagged.  untagged received traffic is dropped.  tagged received traffic is dropped if it is not tagged in one of the member vlans. 

    access: all packets are tranmitted untagged.  untagged received traffic is accepted and switched in the ports define vlan.  tagged received traffic is dropped.

    general: can be configured to trasmit tagged or untagged traffic per vlan.  untagged received traffic is accepted and switch in th defined PVID.  tagged received traffic is dropped if it is not in one of the ported tagged vlans.

    So this:

    switchport mode access

    switchport access vlan 99

    Is equivalent to this:

    switchport mode general

    switchport general allowed vlan add 99 untagged

    switchport general pvid 99

    And this:

    switchport mode trunk

    switchport trunk allowed vlan add 99,100

    Is equivalent to:

    switchport mode general

    switchport general allowed vlan add 99,110 tagged

    switchport general pvid 4095                      (this is the drop vlan)

     

  • nrls24

    10 Posts

    3826

    0

    Posted January 25th, 2011 14:00

    Hi wdtech,

    just try this:

     

    !Current Configuration:
    !System Description "Powerconnect 6224, 3.2.0.7, VxWorks 6.5"
    !System Software Version 3.2.0.7
    !Cut-through mode is configured as disabled
    !
    configure
    vlan database
    vlan 10,30
    exit
    snmp-server location dell_rack
    hostname sw1
    stack
    member 1 1
    exit
    ip address 192.168.1.3 255.255.255.0
    ip default-gateway 192.168.1.1
    username admin password xxxxxxxxxxxxxxxxxxxxxxxx level 15 encrypted
    !
    interface ethernet 1/g7
    mtu 9216
    spanning-tree portfast
    switchport access vlan 10
    exit
    !
    interface ethernet 1/g8
    mtu 9216
    spanning-tree portfast
    switchport access vlan 10
    exit
    !
    interface ethernet 1/g9
    mtu 9216
    spanning-tree portfast
    switchport access vlan 10
    exit
    !
    interface ethernet 1/g10
    mtu 9216
    spanning-tree portfast
    switchport access vlan 10
    exit
    !
    interface ethernet 1/g11
    mtu 9216
    spanning-tree portfast
    switchport access vlan 10
    exit
    !
    interface ethernet 1/g12

    mtu 9216
    spanning-tree portfast
    switchport access vlan 10
    exit
    !
    interface ethernet 1/g13
    mtu 9216
    spanning-tree portfast
    switchport access vlan 10
    exit
    !
    interface ethernet 1/g14
    mtu 9216
    spanning-tree portfast
    switchport access vlan 10
    exit
    !
    interface ethernet 1/g19
    mtu 9216
    spanning-tree portfast
    switchport access vlan 30
    exit
    !
    interface ethernet 1/g20
    mtu 9216
    spanning-tree portfast
    switchport access vlan 30
    exit
    !
    interface ethernet 1/g21
    channel-group 1 mode on
    exit
    !
    interface ethernet 1/g22
    channel-group 1 mode on
    exit
    !
    interface ethernet 1/g23
    channel-group 1 mode on
    exit
    !
    interface ethernet 1/g24
    channel-group 1 mode on
    exit
    !
    interface port-channel 1
    switchport mode trunk
    switchport trunk allowed vlan add 10,30
    mtu 9216
    exit
    exit

     

    or

     

    interface port-channel 1
    switchport mode general
    switchport
    general allowed vlan add 10,30 tagged
    mtu 9216
    exit
    exit

  • nrls24

    10 Posts

    3826

    0

    Posted January 25th, 2011 14:00

    Hi wdtech,

    sorry,  the keyword tagged is only needed when the port is in general mode. This part of the configuration is o.k. 

    So it should work, when you set your ports in access mode.

    best regards

    nrls24

     

  • wdtech

    6 Posts

    556

    0

    Posted January 27th, 2011 23:00

    Hi wdtech,

    just try this:

     

    !Current Configuration:
    !System Description "Powerconnect 6224, 3.2.0.7, VxWorks 6.5"
    !System Software Version 3.2.0.7
    !Cut-through mode is configured as disabled
    !
    configure
    .

    .

    .

     

    Thanks! I'll try tomorrow when I get back to the office.