Unsolved

This post is more than 5 years old

20 Posts

38299

September 2nd, 2010 00:00

Problem with vlan interface using LAG.

Hi all ¡¡¡

Hi have a powerconnect 6220. I have the out of band interface, with gateway and vlan interface with gateway.

All the trafic route to the out bound gateway. I can't have this interface and another with gateway?¿

If i ersa OOB ip and gateway i can't ping the vlan interface of the switch...

I have all the ports in the vlan 100 switch port mode acces. This is connected to another switch in the same subnet and with the ports in mode acces. LAG works perfectly.I have tryed using only one link, without lacp.

Why i can't ping my 6220??? It only works with the OOB interface¡¡¡¡Why i can't ping a vlan interface in the same subnet of the default gateway? I have tryed the ping from the switch i have directely connected(same subnet).

Thanks ¡¡

20 Posts

September 2nd, 2010 01:00

Now it works ¡¡¡¡

I have make the parameter ip routing and now it works fine.... ¡¡¡

 

20 Posts

September 2nd, 2010 09:00

Please help.

With ip routing it works but, if i create a LAG in mode auto (LACP) it not works.

 

The LAG its etablished in the m6220 and a 3com 5500 but the routing not works.

Example-->

If i link the 2 switches using one port  ,it works.

If i link the 2 switches using LAG with lacp, the LAG its etablished but the traffic works only in the Out of band interface...I have included the channel group 1 in the vlan 100.

I have one vlan 100 interface 10.0.4.7 and a default gateway 10.0.4.1. and the OOB interface 10.0.5.3 and the gateway 10.0.5.1

Example with LAG etablished(it goes to the OOB interface)

SW-CC-RG-17#traceroute 10.0.4.6
 Traceroute to 10.0.4.6 ,30 hops max 0 byte packets:
1  10.0.5.1           <1  ms    <1  ms    10  ms
2  10.0.4.6           <1  ms    10  ms    <1  ms

Example without LAG etablished

SW-CC-RG-17#traceroute 10.0.4.6
 Traceroute to 10.0.4.6 ,30 hops max 0 byte packets:
1  10.0.4.6          <1  ms    <1  ms    10  ms

Why with LAG the vlan interface 10.0.4.6 no routing and all the traffic goes to the OOB interface¿?¿?¿?

Please, can anyone help me??

Regards.

909 Posts

September 2nd, 2010 14:00

Please post you r current config and more information about the behaviour you are seeing with that config.

 

 

 

20 Posts

September 2nd, 2010 16:00

Tomorrow i go to post a part of the config.

Basically the problem is that:

When one interface ethernet (switch port acces vlan 100) conects with another switch it works fine.The ping to the vlan interface 100(10.0.4.7) of m6200 works.

When i create a LAG with some interfaces, and the channel group in the vlan 100 i cant ping the interface vlan 100.The LAG its etablished but the ping not works.

Why with LAG the routing not works and without him the routing works???

Regards ¡¡¡

20 Posts

September 3rd, 2010 00:00

Ok, this is the config

!Current Configuration:
!System Description "PowerConnect M6220, 3.1.5.2, VxWorks 6.5"
!System Software Version 3.1.5.2
!System Operational Mode "Normal"
!
configure
vlan database
vlan  100
exit
hostname "SW-xxxxxxx"
stack
member 1 1
member 2 1
exit
switch 1 priority 12
switch 2 priority 11
interface out-of-band
ip address none
ip address 10.0.5.3 255.255.255.0 10.0.5.1----->Address for OOB management.

exit
ip address none
ip routing--------->Routing for ipv4 enable
ip route 0.0.0.0 0.0.0.0 10.0.4.1 --->DEFAULT GATEWAY IN THE SAME SUBNET OF THE VLAN INTERFACE 100
interface vlan 100
routing
ip address  10.0.4.7  255.255.255.0-->VLAN INTERFACE 100
exit


!
interface ethernet 1/g17
channel-group 2 mode auto --------->member of channel group 2 and vlan 100
switchport access vlan 100
exit

!
interface ethernet 2/g17
channel-group 2 mode auto------->member of channel group 2 and vlan 100 mode auto(lacp)
switchport access vlan 100
exit

!
interface port-channel 2
switchport access vlan 100-------->Portchannel 2 member of vlan 100

In this escenario you can view 2 interfaces in a chanel group.

If the LAG its etablished with the other switch i can´t ping te interface 10.0.4.7.
If one interface (1/g17 or 2/g18)its not in the channel group i can ping the interface 10.0.4.7

Why i can't ping the 10.0.4.7 when the LAG its etablished ¿? Please help.

 

20 Posts

September 3rd, 2010 05:00

Ok, i have disabled stp and now it works.

This is a bug of powerconnect??? I can't use LAG and stp in the switch'?

Regards

909 Posts

September 3rd, 2010 07:00

PowerConnect switches (and most standards based switches) run a single instance spanning tree by default.   This means the spanning tree is determined regardless of vlan configuration.   This can result in interfaces being blocked because a physical loop exists, even thought a logical loop does not exist if the administrator does not take the single instance spanning-tree into account.

909 Posts

September 3rd, 2010 12:00

yes it is possible to have STP enabled and use LAGS. 

20 Posts

September 3rd, 2010 12:00

"does not take the single instance spanning-tree into account".

What is "account". Its posible enable stp or not in m6220 using LAG¿¿?

 

Regards

20 Posts

September 3rd, 2010 13:00

My friend. Im spanish i speak very bad english.

Can you explain me how to can enable STP and LAG in powerconnect m6220¿?

 

Regards

909 Posts

September 3rd, 2010 13:00

It easier to explain if we have an example to talk about.   Configure your switch again so that you are seeing the issue and then post the output of "show spanning-tree"

20 Posts

September 6th, 2010 01:00

 Name    State   Prio.Nbr    Cost       Sts  Role PortFast  Restricted

 1/g1    Enabled  128.1             0   FWD  Disb     Yes      No

 1/g2    Enabled  128.2         20000   FWD  Desg     Yes      No

1/g3    Enabled  128.3         20000   FWD  Desg     Yes      No

1/g4    Enabled  128.4             0   DIS  Disb     Yes      No

 

 

20 Posts

September 7th, 2010 03:00

 Bh1633? Please, can you explain me how to enable stp with lag?

Thanks

 

909 Posts

September 7th, 2010 07:00

post the COMPLETE output of 'show spanning-tree' with the LAG connected and when you are observing the issue.  Also post the COMPLETE output of show running-config.

Also, earlier you posted:

"If the LAG its etablished with the other switch i can´t ping te interface 10.0.4.7.
If one interface (1/g17 or 2/g18)its not in the channel group i can ping the interface 10.0.4"

Are you saying that with 2 ports connected in the LAG, you cannot ping but if you unplug one of the ports the ping succeeds?  Please explain.

 

20 Posts

September 9th, 2010 01:00

Exactly. If the port are not member of Channel group the ping succeeds. I the port are member of LAG the ping not succeeds.

No Events found!

Top