Unsolved
This post is more than 5 years old
7 Posts
0
16164
February 27th, 2008 10:00
Bootdhcprelay and Vlans 6224
Hi, I have searched this forum and found a lot of help regarding this problem. I have 3 Vlans configured on my PowerConnect 6224 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 I can communicate 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.
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.
No Events found!


drgnslyr
19 Posts
0
March 4th, 2008 15:00
you are correct that all you should have to do is the bootpdhcp servern enable and teh bootpdhcp server ip address
Why are all the ip helper addresses set up, not necessarily wrong, but ...
I see your ports are created as general, and mixed as far as access and vlan overlapping.
so what are g1,2,3, and 24? are they supposed to be access ports not carrying tagged traffic or are they supposed to be 802.1q ports?
where does the dhcp server reside, local to the switch?
Acer0001
6 Posts
0
March 12th, 2008 17:00
Would I dare say that "ip dhcp filtering" in your config has something to do with this?
Use the "ip dhcp filtering trust" interface configuration command to exclude specific ports.
Acer0001
acer1986
7 Posts
0
March 13th, 2008 08:00