Unsolved

This post is more than 5 years old

23 Posts

8242

July 13th, 2015 14:00

How To Get Out

I am new to the powerconnect family. I have a 6224p and it is working fine. However I have created a couple of vlans 40 (192.168.40.x/24) and 50 (192.168.50.x/24). And I want to now create a route out of the switch to my main router. The router is on a different subnet 192.168.0.x/24).


I do not see anything in the documentation to do this. I have port 1 connected to my router and it is on a separate subnet. What is the procedure for allowing packets out of the switch and into the switch?

If there is a reference doc for this it would be great.


Thanks,


Henry

Moderator

 • 

9.6K Posts

 • 

42.2K Points

July 13th, 2015 16:00

Hi Henry,

You can set the default gateway with the ip default gateway command. Page 359 http://downloads.dell.com/Manuals/Common/powerconnect-6224_Reference%20Guide_en-us.pdf

You could also use the ip route command to create a static route, page 725.

23 Posts

July 13th, 2015 17:00

Ok this helped. It allowed the switch to ping out to the router on the outside network 192.168.168.168, however it did not allow any connected devices to ping outside. Something is missing. I tried both default route and default gateway neither would let the connected devices ping out.

This should be a simple problem. But it is really stumping me.

Moderator

 • 

9.6K Posts

 • 

42.2K Points

July 13th, 2015 17:00

Where do the clients point to for DNS? Typically you want them to point to the IP of their VLAN.

23 Posts

July 14th, 2015 06:00

Not sure about the DNS. I am only doing ping at this point. Should DNS affect ping?

Here is the current config:

console#show run

!Current Configuration:

!System Description "PowerConnect 6224P, 2.2.0.3, VxWorks5.5.1"

!System Software Version 2.2.0.3

!

configure

vlan database

vlan  40,50

exit

stack

member 1 4

exit

ip address 192.168.168.254 255.255.255.0

ip default-gateway 192.168.168.168

ip routing

ip route 192.168.40.0 255.255.255.0 192.168.168.168

interface vlan 40

routing

ip address  192.168.40.1  255.255.255.0

exit

interface vlan 50

routing

ip address  192.168.50.1  255.255.255.0

exit

username "admin" password a9e1a678801c5f9441f778a53bca9acf level 15 encrypted

!

interface ethernet 1/g4

switchport access vlan 40

exit

!

interface ethernet 1/g5

switchport access vlan 40

exit

!

interface ethernet 1/g8

switchport access vlan 40

exit

!

interface ethernet 1/g9

switchport access vlan 50

exit

!

interface ethernet 1/g10

switchport access vlan 50

exit

!

interface ethernet 1/g11

switchport access vlan 40

exit

snmp-server community public rw ipaddress 192.168.1.241

e

Port 1 is connected to the router and the switch will ping the router and its other interfaces.

I am not sure what the problem is. I am thinking that since these are directly connected routes on vlan 40 and vlan 50 that I need a routing protocol to advertise routes. Is this correct?

If so I am thinking about turning on RIP for routing. What do you think?

Thanks for your help.

Moderator

 • 

9.6K Posts

 • 

42.2K Points

July 14th, 2015 09:00

The clients should point to the vlan ip for their default gateway and then the default gateway on the switch should forward any traffic to the router. What port is the router connected to? What vlan is it on?

0 events found

No Events found!

Top