Jump to content

how to link dchp scope to hp procurve vlan using putty


Recommended Posts

Posted

hi all

I have set up a new dchp scope to use with a vlan for our cctv

we have a hp procurve switch I have set the ports to be used for the cctv and untagged them.

I need to know how to get the vlan to get the ip address from the new scope I have setup

I am using putty ssh to make changes to switch

can any body help

Posted

Have you actually set a VLAN on the switch?

 

Or have you just untagged the ports that you want to use, you need to set up a VLAN on the switch and tell it the gateway address of the VLAN and also the subnet.

 

What shows when you run sh conf?

Posted

yes vlan is setup have run sh conf

hostname "ServerRoom-SW-1"

time timezone 60

time daylight-time-rule Western-Europe

module 1 type J9147A

module 2 type J9008A

interface A1

name "10Gb-uplink-to-Core"

exit

ip default-gateway 10.10.40.1

snmpv3 enable

snmpv3 restricted-access

snmpv3 group ManagerPriv user "NetworkMgr" sec-model ver3

vlan 1

name "DEFAULT_VLAN"

untagged 1-28,33-48,A1-A2

ip address 172.16.0.22 255.255.248.0

ip address 10.10.40.22 255.255.248.0

no untagged 29-32

Posted

Is the switch a Layer 3 switch? I thought that in order to point back to your dhcp server you need to use "ip helper address x.x.x.x x.x.x.x" which includes your ip address and subnet mask for your dhcp server. Also your Vlan will need to be given an ip address on your Layer 3 switch that is within your dhcp scope for cctv, for example 192.168.100.1 if your scope is 192.168.100.10/24.

 

I hope that makes sense.

 

I hope that's right as well, that's the way i've got ours set up any way and it works fine. the majority of your config needs to be done on the Layer 3 switch, all your edge switches are for is tagging and untagging ports.

Posted

IP Route Entries

Destination Gateway VLAN Type Sub-Type Metric Dist.

------------------ --------------- ---- --------- ---------- ---------- -----

0.0.0.0/0 10.10.40.1 1 static 250 1

10.10.40.0/21 DEFAULT_VLAN 1 connected 1 0

127.0.0.0/8 reject static 0 0

127.0.0.1/32 lo0 connected 1 0

172.16.0.0/21 DEFAULT_VLAN 1 connected 1 0

Posted

here is the setup on my core switch for our CCTV vlan.

 

vlan 20

name "CCTV"

untagged A10-A12,B12

ip address 192.168.150.1 255.255.255.0

tagged A1-A9,A13-A18,B1-B11,B13-B15,B21-B23,C1-C18

exit

 

and here is a vlan which uses dhcp.

 

vlan 170

name "Guest"

ip helper-address x.x.x.x

ip address 192.168.170.1 255.255.255.0

tagged A1-A24,B1-B8,B10,B12-B24,C1-C8,C10-C24

exit

 

where x.x.x.x is my primary dhcp servers ip address, it's not in the same range as the Guest Vlan.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...