Question
February 28, 2008 at 04:02 AM
acer1986

DHCP problem L3 switch with vlans

by acer1986 . Updated 18 years, 5 months ago

Hi, I have searched this forum and found a lot of help regarding this problem. I have 3 Vlans configured on my Dell PowerConnect 6224 (L3 Switch) and a DHCP server Windows Server 2000 with different subnet scopes, as far as I know I need to set-up a bootdhcprelay server and enable bootdhcprelay which I have done, but when I try to get a dhcp address from my client pc I don’t get an address. When I configure the client with a manual IP it communicates as expected.
Here is my running-config, is there anything wrong?

!Current Configuration:
!System Description “Dell 24 Port Gigabit Ethernet, 2.0.0.12, VxWorks5.5.1”
!System Software Version 2.0.0.12
!configure vlan database
vlan 10,20,30,40
vlan association subnet 10.10.1.0 255.255.255.0 1
vlan association subnet 10.10.10.0 255.255.255.0 10
vlan association subnet 10.10.20.0 255.255.255.0 20
vlan association subnet 10.10.30.0 255.255.255.0 30
vlan association subnet 10.10.40.0 255.255.255.0 40
exit
hostname “L3_Switch”
stackmember 1 1
exit
switch 1 priority 1
ip address 10.10.1.1 255.255.255.0
ip default-gateway 10.10.10.2
ip domain-name XXXX
ip name-server 10.10.10.10
ip routing
ip route 0.0.0.0 0.0.0.0 10.10.10.2
bootpdhcprelay enable
bootpdhcprelay serverip 10.10.10.10
ip helper-address 10.10.10.1 10.10.10.10 37
ip helper-address 10.10.10.1 10.10.10.10 49
ip helper-address 10.10.10.1 10.10.10.10 137
ip helper-address 10.10.10.1 10.10.10.10 138
ip helper-address 10.10.10.10 255.255.255.0 37
ip helper-address 10.10.10.10 255.255.255.0 42
ip helper-address 10.10.10.10 255.255.255.0 49
ip helper-address 10.10.10.10 255.255.255.0 53
ip helper-address 10.10.10.10 255.255.255.0 137
ip helper-address 10.10.10.10 255.255.255.0 138
ip helper-address 10.10.20.1 10.10.10.10 37
ip helper-address 10.10.20.1 10.10.10.10 49
ip helper-address 10.10.20.1 10.10.10.10 137
ip helper-address 10.10.20.1 10.10.10.10 138
ip helper-address 10.10.30.1 10.10.10.10 37
ip helper-address 10.10.30.1 10.10.10.10 49
ip helper-address 10.10.30.1 10.10.10.10 137
ip helper-address 10.10.30.1 10.10.10.10 138
ip helper-address 10.10.40.1 10.10.10.10 37
ip helper-address 10.10.40.1 10.10.10.10 49
ip helper-address 10.10.40.1 10.10.10.10 137
ip helper-address 10.10.40.1 10.10.10.10 138
interface vlan 10
name “Main_Production”
routing
ip address 10.10.10.1 255.255.255.0
exit
interface vlan 20
name “Vlan_2”
routing
ip address 10.10.20.1 255.255.255.0
exit
interface vlan 30
name “Vlan_3”
routing
ip address 10.10.30.1 255.255.255.0
exit
interface vlan 40
name “Vlan_4”
routing
ip address 10.10.40.1 255.255.255.0
exit
username “admin” password 4f70cfb1451a1b0ce0b872421bee6c1c level 15 encrypted
ip dhcp filtering
!
interface ethernet 1/g1
switchport mode general
switchport general pvid 10
no switchport general acceptable-frame-type tagged-only
switchport general allowed vlan add 10,20,30,40
exit
!
interface ethernet 1/g2
switchport mode general
switchport general pvid 20
no switchport general acceptable-frame-type tagged-only
switchport general allowed vlan add 10,20
exit
interface ethernet 1/g3
switchport mode general
switchport general pvid 30
no switchport general acceptable-frame-type tagged-only
switchport general allowed vlan add 30
exit
!
interface ethernet 1/g24
switchport mode general
switchport general pvid 10
no switchport general acceptable-frame-type tagged-only
switchport general allowed vlan add 10,20,30,40
exit
exit

Please tell me if you can see any errors.

This discussion is locked

All Comments