Unsolved

This post is more than 5 years old

43648

March 29th, 2012 17:00

routing between vlans

I have a 5524 switch and I'm trying route traffic from one vlan to another, but I think I'm missing a step in the static routing, my config.  Sorta like what's going on in this thread, but not exactly:

http://en.community.dell.com/support-forums/network-switches/f/866/t/19442863.aspx

My config:

enable
configure

vlan database
vlan 10
vlan 20
exit

interface vlan 20
name public
ip address 192.168.1.222 /24
exit

interface vlan 10
name private
ip address 10.0.0.1 /24
ip dhcp relay enable
exit

interface range gigabitethernet 1/0/1-8
switchport access vlan 20
exit

interface range gigabitethernet 1/0/9-24
switchport access vlan 10
exit

ip dhcp pool network privatepool
address low 10.0.0.10 high 10.0.0.200 /24
lease infinite
default-router 10.0.0.1
dns-server 8.8.8.8
exit

ip dhcp server

ip default gateway 192.168.1.1

So, vlan 20 has ports 1-8 - the "public" network - this is actually another lan with a router that I can ping (192.168.1.1) and I can ping addresses on the internet from the router...
vlan 10 has ports 9-24 - the "private" network - this has clients in the 10.0.0.0/24 subnet which I can also ping from the router.
The problem is I can't ping from one of the 10.0.0.0/24 clients to the other 192.168.1.0/24 network - I have a default route set, but that doesn't seem to be doing the job...

thx

Matt

802 Posts

March 29th, 2012 18:00

On page 158 of the User Guide for the 5524 model there is a good example of how to set up routing between different VLANs.

support.dell.com/.../en_ug.pdf

The 5524 has very limited routing capabilities.  No dynamic routing.

Hope this helps,

Keep us updated.

March 30th, 2012 15:00

Hmm, executing that verbatim does not work -- I can't ping the interface from either client and I can't ping from one client to the other.

Also, why do they create 50 vlans in that example?  Wouldn't you just want 100 and 150 without all the vlans in between?  Is there something significant about that I'm missing?

thx

m

802 Posts

March 30th, 2012 16:00

I'm not sure why they created the extra 48 vlans it is not necessary for the set up. You could put a comma between 100 &150 and it would make just the 2 Vlans.

Did you run the ip routing command globally?

console (config)# ip routing

The command line options for routing are discussed on page 693

support.dell.com/.../en_cli.pdf

No Events found!

Top