PowerConnect 5324, two identical switches with identical configurations, one
doesn't respond to ip connections and can't ping out.
We have two switches (sw0 and sw1) with identical configs except for each has a unique vlan 200 ip. Switches are broken up into 6 different vlans (100 - 600) with various port ranges having access to only specific vlans. interface g24 is in trunk mode and the two switches are connected via this port. All of the servers connected to these machines are using active/backup bonding (debian 6.0) and each server as one interface connected to sw0 and the other interface connected to sw1.
The idea is that if one of the ports on a server dies or a cable is knocked loose that the backup port automatically takes over and because the switches are trunked the server can still communicate with the uplink (2 firewalls sharing state info) or the other servers on the vlan.
All of this worked great and then all of a sudden sw1 stopped functioning. From the console of the switch everything looks fine. The config is loaded properly etc but I cannot ping any of the machines locally. To me that makes it seem like the trunk might not be working because all the connections are to the backup firewall and backup server interfaces which aren't active.
Reloading the switch it passes all the intial tests etc with no issues and I don't see anything out of the ordinary.
Below is an image for reference. When setting up VLANs in a Layer 2 environment on one side of a router you can only have one IP designated per VLAN. A VLAN is a network segment. When you said "We have two switches (sw0 and sw1) with identical configs except for each has a unique vlan 200 ip" that maybe the reason you are having trouble.
Best Practices state that you have 1 IP set on a VLAN. When you have 2 switches connected (like below), you need the VLANs on both switches in the VLAN database. Then you would only set the IP inside the VLAN interface on 1 switch.
There are options to set up VRRP on some of the other PowerConnect models. Unfortunately, that feature is not available on the 5300 models.
The Virtual Router Redundancy Protocol (VRRP) is designed to eliminate the single point of failure inherent in the static default gateway environment. VRRP is an election protocol that dynamically assigns responsibility for a virtual router to one of the configured VRRP routers on a LAN. The VRRP router that maintains the native IP address(es) associated that are also associated with a virtual router is called the Master, and forwards packets sent to these IP addresses.
Basically you can set a single gateway for your devices to get out and have 2 different hardware devices carry the load for redundant hardware.
There are two firewalls that are session synced via direct connections between them. Each of the uplinks for the vlans below are connected to their own port on the firewall. The two switches are identically configured except the interface vlan 200 ip address XX.X.X.X00 on one and and XX.X.X.X01 on the other. The strange thing is that it used to work fine. For YEARS. I assumed it was some kind of hardware failure but our isp did recently make a change to how we were connected and they wanted us to confirm that the spanning tree id's were above or below a certain number. I guess it's feasible that the second switch stopped working then (it is after all a backup, so it might not have been apparent immediately).
A network set up like you have described will communicate, but it is limping around. Typically you have a high amount of discarded packets. When you have 2 different IPs on a VLAN the traffic is confused on where to go.
I don't have an explanation as to why it finally quit. Possibly the traffic level increased enough to cause a change in the behavior.
I guess maybe I was confused. I was under the impression that the ip address was just a means of providing an interface to connect to the switch for configuration purposes. how do you configure more than one switch if they don't each have a unique ip?
Ok, after further research you are correct about the ip configuration. On this model that is strictly layer 2 you can set the ip on any interface VLANs, LAGs, or ports, and can be used to manage the switch and for connectivity testing using ping.
I was confusing this model with others we have in the PowerConnect line.
Sorry about that.
Are you able to ping between 2 end devices connected to interface 1-3 on sw1. I see that they are in the same VLAN 100 access mode. Then I'm assuming if you were to do the same thing with an end device plugged into sw1 port 1-3 and then sw0 ports 1-3 it is not communicating
If that is true then you are probably right about the trunk connection. You may want to try a known good cable on that connection. Then even go as far as configuring a different port on the switches as the trunk. This would test the physical port and the physical cable.
You may also look at the firmware level and update if necessary. It may come down to possible corruption on the firmware installed on sw1. Here is a link to the most recent firmware:
Yeah, I'm definitely behind on the newest firmware. right now vlan 100 is really just a public network (in hindsight I probably should have plugged this directly into the firewall) .. the internet connectivity/uplink is plugged into g1 and g3 is the connection to the firewall wan port. I did this so that I could (if needed) plug a device in and have it directly connected to the internet with no firewall causing any issues (for testing purposes).
Most of my testing has been on VLAN 200. Its basically a LAN network (less restricted outbound etc). There are a couple servers residing on this VLAN 200 and I am not able to ping them (per my original post). I'm also not able to ping sw0's ip address. sw0 (the working one) is able to ping machines on VLAN 200. sw1 is not able to ping machines on VLAN 200. It's all very strange and it smells of some kind of possible hardware failure or maybe something further upstream with the ISP? (if that is even possible).
I may end up simply powering down the switch and replacing them. I need to find a nice set of reburbished 48 port gb switches with vrrp capabilities (yes I have seen issues with loops on the network recently, but I don't think it started occuring until recently). It's a production environment and we have people using it 24hrs a day so I have to pick and choose times to try to mess with stuff. :)
DELL-Willy M
1 Rookie
•
802 Posts
519
0
Posted March 12th, 2013 10:00
Below is an image for reference. When setting up VLANs in a Layer 2 environment on one side of a router you can only have one IP designated per VLAN. A VLAN is a network segment. When you said "We have two switches (sw0 and sw1) with identical configs except for each has a unique vlan 200 ip" that maybe the reason you are having trouble.
Best Practices state that you have 1 IP set on a VLAN. When you have 2 switches connected (like below), you need the VLANs on both switches in the VLAN database. Then you would only set the IP inside the VLAN interface on 1 switch.
There are options to set up VRRP on some of the other PowerConnect models. Unfortunately, that feature is not available on the 5300 models.
The Virtual Router Redundancy Protocol (VRRP) is designed to eliminate the single point of failure inherent in the static default gateway environment. VRRP is an election protocol that dynamically assigns responsibility for a virtual router to one of the configured VRRP routers on a LAN. The VRRP router that maintains the native IP address(es) associated that are also associated with a virtual router is called the Master, and forwards packets sent to these IP addresses.
Basically you can set a single gateway for your devices to get out and have 2 different hardware devices carry the load for redundant hardware.