Start a Conversation

Unsolved

This post is more than 5 years old

33896

May 28th, 2010 00:00

VLAN Routing Powerconnect 6248

I have 2 Powerconnect 6248 L3 Switches running firmware V3.2.0.7.

I have been unable to get VLAN routing and DHCP relay working on a single switch with a basic config.

1) If i set the address manually to 192.168.20.40 say on a client and plug into port 5 or 6 with the following config I cannot ping

192.168.20.1 which is the VLAN IP address.

2) Plugging into ports 2.3.4 I get assigned an address by the DHCP server which is on VLAN 10 plugged into port 3. This does work.

3) I cannot ping other VLANS or access any device on them.

Would anyone be so kind as to help shed some light on this?

Following the Dell configuration guide( latest version) I have still come up empty handed

I would like to create a couple VLANS that can route between each other and receive an address from the DHCP Server on 192.168.1.10.

We are moving into a new building shortly and I would love to segregate the network into VLANS which is why I bought these L3 switches.

Any help or advice would be much appreciated.

***************************************

!Current Configuration:
!System Description "Powerconnect 6248, 3.2.0.7, VxWorks 6.5"
!System Software Version 3.2.0.7
!Cut-through mode is configured as disabled
!
configure
vlan database
vlan 10,20,30,40
vlan routing 10 1
vlan routing 20 2
exit
stack
member 1 2
exit
ip address 192.168.0.1 255.255.255.0
ip domain-name company.xxx
ip name-server 192.168.1.10
ip routing
interface vlan 10
routing
ip address 192.168.1.1 255.255.255.0
exit
interface vlan 20
routing
ip address 192.168.20.1 255.255.255.0
exit
username "administrator" password 5f4dcc3b5aa765d61d8327deb882cf99 level 15 encrypted
dhcp l2relay
dhcp l2relay vlan 10-40
!
interface ethernet 1/g2
switchport mode general
switchport general pvid 10
switchport general allowed vlan add 10
exit
!
interface ethernet 1/g3
switchport mode general
switchport general pvid 10
switchport general allowed vlan add 10
exit
!
interface ethernet 1/g4
switchport mode general
switchport general pvid 10
switchport general allowed vlan add 10
exit
!
interface ethernet 1/g5
switchport mode general
switchport general pvid 20
switchport general allowed vlan add 20
exit
!
interface ethernet 1/g6
switchport mode general
switchport general pvid 20
switchport general allowed vlan add 20
exit
exit

6 Posts

May 28th, 2010 12:00

Randy,

There are 2 reasons DHCP Relay is not working…

1.       You need an IP Helper address assigned on each VLAN not attached to the DHCP server (in this case VLAN 20)

2.       You  also need a ‘dhcp l2relay’ statement on all the interfaces assigned to VLAN 20 that need DHCP.

Also,

-  I have only seen this work with Interfaces configured as Access, so if you can try that as well. 

-  Be sure your DHCP server is providing the right Default Gateway address for each subnet.

- not sure about the ping issue.  I've always seen this work with your config.  Maybe check Default Gateway  on your client.

dhcp l2relay
dhcp l2relay vlan 10-40

interface vlan 20
routing
ip address 192.168.20.1 255.255.255.0
ip helper-address 192.168.1.10

exit

!

interface ethernet 1/g5
switchport mode access
switchport access vlan 20
dhcp l2relay
exit
!

interface ethernet 1/g6
switchport mode access
switchport access vlan 20
dhcp l2relay
exit

14 Posts

May 30th, 2010 21:00

Thanks Carrea,

I have edited the config to suite your suggestions.

I can now ping the VLAN router on VLAN 20 if I set my clients address manually.

Still have not managed to get the DHCP working on anything other than the range the DHCP server is on.

Routing between the VLANs doesnt seem to work and i cannot ping from one to another.

**************************************

!Current Configuration:
!System Description "Powerconnect 6248, 3.2.0.7, VxWorks 6.5"
!System Software Version 3.2.0.7
!Cut-through mode is configured as disabled
!
configure
vlan database
vlan 10,20,30,40
vlan routing 10 1
vlan routing 20 2
vlan routing 30 3
exit
stack
member 1 2
exit
ip address 192.168.0.1 255.255.255.0
ip domain-name comany.xxx

ip name-server 192.168.1.10
ip routing
interface vlan 10
routing
ip address 192.168.1.1 255.255.255.0
exit
interface vlan 20
routing
ip address 192.168.20.1 255.255.255.0
ip helper-address 192.168.1.10
exit
interface vlan 30
routing
ip address 192.168.30.1
ip helper-address 192.168.1.10
exit
interface vlan 40
routing
ip address 192.168.40.1
ip helper-address 192.168.1.10
exit
username "administrator" password 5f4dcc3b5aa765d61d8327deb882cf99 level 15 encrypted
dhcp l2relay
dhcp l2relay vlan 10-40
!
interface ethernet 1/g2
switchport mode access
switchport access vlan 10
exit
!
interface ethernet 1/g3
switchport mode access
switchport access vlan 10
exit
!
interface ethernet 1/g4
switchport mode access
switchport access vlan 10
exit
!
interface ethernet 1/g5
switchport mode access
switchport access vlan 20
dhcp l2relay
exit
!
interface ethernet 1/g6
switchport mode access
switchport access vlan 20
dhcp l2relay
exit
!
interface ethernet 1/g7
switchport mode access
switchport access vlan 30
dhcp l2relay
exit
!
interface ethernet 1/g8
switchport mode access
switchport access vlan 30
dhcp l2relay
exit
exit

6 Posts

June 1st, 2010 08:00

Randy,

This router configuration will support DHCP relay. 

  Maybe the DHCP server  configuration is not correct or doesnt support DHCP unicasts.  Are you using a Windows DHCP server?  Can you place a sniffer on VLAN 20 and look at the broadcast DHCP messages?

Also, I went back and verified that the DHCP L2Relay works with interfaces in mode General, so that should work as well.  

Note also, that if you are trying to ping an IP assigned to a VLAN  without an active connection assigned, it will fail.  The VLAN must have an interface active before a ping will work from another subnet.

14 Posts

June 2nd, 2010 23:00

Hi Carrea,

Thanks for the help!

It was in fact my windows DHCP server settings that was the issue.

I had set the VLAN router on VLAN10 to 192.168.1.10

After changing this to 192.168.1.1 All seemed to work

The other ranges all seemed to be working with there current configs.

I still do not understand why setting the clients address manually on VLAN20 I couldnt reach other VLAN routers by pinging etc.. ?

Thank you very much for your help, I will now be able to continue on configure the 6248's and may even get a couple more in alongside the  2848's with a LAG setup for the new building.

:emotion-1:

No Events found!

Top