7

I have a Dell PowerConnect 5524 that I'm trying to configure.

What I want is simple routing between VLANs and the user guide is less than helpful.

On page 220, it says (or implies) that all you need to do to have routing enabled between two VLANs is create the VLANs on the switch and then plug devices in and everything should automagically work. This is not the case.

You can see my current running-config file here.

I have my PC connected to port 21 (VLAN 2 192.168.2.41) and another PC connected to port 1 (VLAN 3 192.168.3.10) and they cannot reach each other, I just get a timeout when I try and ping (yes both PCs have ICMP echo requests enabled in the firewall).

If you look at the management page on the switch, you can see when you plug devices into different ports that local routes get added for the appropriate subnets but it seems like no traffic is flowing through.

I've done some reading and maybe what I need is a trunk port to connect the different VLANs?

I also tried connecting a cable to create a physical link between the VLANs in some fruitless last-ditch attempt and this didn't work either.

I'm at a loss as to what to do next, I'm no network engineer. Any help is greatly appreciated.

EDIT(s):

console# show ip route
Maximum Parallel Paths: 1 (1 after reset)
IP Forwarding:          enabled

Codes: C - connected, S - static, D - DHCP

S  0.0.0.0/0          [1/1] via  192.168.2.1  0:18:50              vlan 2
C  192.168.2.0/24     is directly connected                        vlan 2
C  192.168.3.0/24     is directly connected                        vlan 3

As I said in the comments, the PCs in both VLAN 2 and VLAN 3 can ping the addresses for the router on both VLANs, see below for clarification.

PC 1, VLAN 2, IP: 192.168.2.41 ping 192.168.2.254: success ping 192.168.3.1: success ping 192.168.3.10: failure

PC 2, VLAN 3, IP: 192.168.3.10 ping 192.168.3.1: success ping 192.168.2.254: success ping 192.168.2.41: failure

Interestingly, when I have my internet cable plugged in to VLAN 2, the PC in VLAN 3 can ping the router on our internal network (192.168.2.1), tracert as follows:

Tracing route to 192.168.2.1 over a maximum of 30 hops

  1     1 ms     4 ms     3 ms  192.168.3.1
  2     1 ms    <1 ms    <1 ms  192.168.2.1

When I have our internal network disconnected, the routing issues remain.

Traceroute from PC 2 to PC 1:

Tracing route to 192.168.2.41 over a maximum of 30 hops

  1     1 ms     4 ms     4 ms  192.168.3.1
  2     *        *        *     Request timed out.
  3     *        *        *     Request timed out.
  4     *        *        *     Request timed out.
  5     *        *        *     Request timed out.
  6     *        *        *     Request timed out.
  etc. etc.
Sean Airey
  • 233
  • 2
  • 10

2 Answers2

3

When testing networking connections, don't use windows machines.

My firewall was set to allow ICMP traffic from any subnet on any domain profile yet it was still blocking the packets.

Turning the firewall off completely allowed the traffic through, so the routing is working.

Also, pings probably aren't the best way to test network connectivity.

For anyone looking to route between two VLANs on the Dell PowerConnect 5524, the commands on page 220 of the user guide are sufficient:

en
config

vlan database
vlan 100-101
exit

interface gi1/0/1
switchport access vlan 100
ip address 1.1.1.1 255.255.255.0
exit

interface gi1/0/2
switchport access vlan 101
ip address 2.1.1.1 255.255.255.0
exit
Sean Airey
  • 233
  • 2
  • 10
2

Sean, your setup seems correct if you're making it from one VLAN to the next; which you can see when you traceroute from one switch IP to the next. If you aren't very familiar with networking, try making your life easier by simplifying your setup. Give this setup a go:

PC1

  • Switchport - Gig1/0/10
  • IP Address - 10.1.10.100/24
  • VLAN - 10

PC2

  • Switchport - Gig1/0/20
  • IP Address - 10.1.20.100/24
  • VLAN - 20

Switch

  • VLAN 10 IP Address - 10.1.10.1/24
  • VLAN 20 IP Address - 10.1.20.1/24
Ryan Foley
  • 5,539
  • 4
  • 25
  • 44