I'm looking at VLAN-ing our network in the near future, so spending a bit of time getting my head around things and working out the best step forward. Advice on here has been great in understanding stuff, however....
I'm playing with a test network using a HP Procurve 2610 Switch, a couple of spare laptops and an old machine running Windows 2008R2. The main core switch is a HP Procurve 5406zl which I'm not going to play with just yet, I'm giving myself a bit of a primer first before I start bashing away at that!
First step I thought would be to see if I can create a few port based vlans on the switch and get the DHCP Relay working, then move on from there.
Can't for the life of me get it working. I've got four VLANS in total on the switch, DEFAULT (1) ,5 , 10 and 20. I've got the server in VLAN-5 on 192.168.0.10, and setup three scopes in DHCP for 192.168.0.x, 192.168.10.x and 192.168.20.x for now. Nothing sitting in the Default (1) presently.
Config is as follows:
; J9088A Configuration Editor; Created on release #R.11.54
hostname "ProCurve Switch 2610-48"
snmp-server community "public" Unrestricted
ip address 10.43.48.120 255.255.252.0
no untagged 13-48
ip address 192.168.0.5 255.255.255.0
ip address 192.168.10.1 255.255.255.0
ip helper-address 192.168.0.10
ip address 192.168.20.1 255.255.255.0
ip helper-address 192.168.0.10
IP Addresses are just not being dished out on the 10 and 20 VLANS, but obviously fine on the VLAN where the DHCP is sitting.
What am I missing here?
Last edited by FragglePete; 2nd March 2011 at 03:12 PM.
Reason: Bad Grammar!
Will the 2610 do the routing? Does the DHCP server have the address of the switch doing the routing as the default gateway? Your config looks correct but I see no mention of what is doing the routing which I suspect the 5406 is for as I have one of them.
I think on your default VLAN you may have the tagging done incorrectly, i.e. you said no untagged 13-48 well these ports are later untagged i.e. connected to stations i'm presumming. Also vlan 20 and vlan 1 shares some ports so that could be confusion it as well.
Ideally if the port is connecting to servers, printers, and other end user devices then it should be set to untagged i.e. statically mapped to a particular vlan. If they are connected to other switch then it should be tagged because tagged ports will allow to carry traffic from multiple vlan on that link/port.
Sorry Layer 3 the network layer of the OSI mode this is where routers operate. Have you set the default gateway on the server to the switch? I would also use the same address in each subnet for the router normally the last address.
Last edited by nicholab; 2nd March 2011 at 04:25 PM.
The DHCP Server had its Gateway Address set to the actual gateway, not the IP address of the Switch. So, changed the Gateway address to 192.168.0.5 and as if by magic IP addresses being handed within the different scopes! Superb!
You just answered my other question that started rattling around in my head about the 'proper' Gateway. Thanks for clearing that one up for me. Getting my head round this now so the mist is starting to clear.