Switches, Hubs, and Modems
1753873 Members
7677 Online
108809 Solutions
New Discussion юеВ

Vlan, dhcp-relay, ip routing hp procurve 2626/2650

 
Ole-Martin Broz
New Member

Vlan, dhcp-relay, ip routing hp procurve 2626/2650

Hi.

Can't say im impressed of the 2626 documentation by HP.

Well, lets get on with it, i've struggled to understand the documentation, forum posts, after over 2 days of struggling, im done.

My teacher wants me to setup a dusin vlans, i got now default(current running
1 default
501 server(unused atm)
510 course lab(trying to make this one work first)
511 (students)
512 teachers
and he wants more.

It's a IT class, so we got 4 switches in total, 3 2626 and 1 2650, ive stacked one 2650 and 2626 since the run the internal net, while the other two 2626 is mainly open net for gateway, web servers and alike.

Here is the config

D-K-IKTDrift-1-1(config)# show running-config

Running configuration:

; J4899A Configuration Editor; Created on release #H.08.98

hostname "D-K-IKTDrift-1-1"
snmp-server contact "nett-support@skole.bfk.no"
snmp-server location "IKT-Driftsfag"
max-vlans 253
time timezone 60
ip default-gateway 192.168.88.253
sntp server 192.168.254.18
ip routing
timesync sntp
sntp unicast
snmp-server community "public" Unrestricted
vlan 1
name "DEFAULT_VLAN"
untagged 1-26,28-50
ip address 192.168.88.242 255.255.255.0
no untagged 27
ip igmp
exit
vlan 50
name "A_SW_VLAN"
ip address 10.1.11.206 255.255.255.0
tagged 49-50
exit
vlan 2721
name "A_SW"
no ip address
tagged 49-50
exit
vlan 3121
name "D_UV_ELEV"
tagged 49-50
exit
vlan 3122
name "D_UV_PRINTER"
tagged 49-50
exit
vlan 2753
name "T_OPEN_244"
tagged 49-50
exit
vlan 2754
name "T_OPEN_247"
tagged 49-50
exit
vlan 510
name "IKT_Kurslab"
untagged 27
ip address 192.168.71.242 255.255.255.0
ip helper-address 192.168.88.4
tagged 49-50
exit
vlan 511
name "IKT_klasse"
ip address 192.168.89.252 255.255.255.0
tagged 49-50
exit
vlan 501
name "IKT_server"
tagged 49-50
exit
stack commander "D-K-Iktdrift-1"
stack auto-grab
stack member 1 mac-address 0018fe473b40
password manager

D-K-IKTDrift-1-1(config)#

some unused vlans there, there is still questions if this one should be connected to the others directly.

But my question is, how do i make dhcp relay work.
i got two scopes setup on a dell optiplex 775 running server 2k8 with ip-address:
192.168.88.4
one scope is 192.168.88.100-200 and the other is 192.168.71.100-200.
Gateway is 192.168.88.253

any advise on how i should do ip route, do i gotta enable dhcp-relay on server 2008, any little point of direction.

4 REPLIES 4
cenk sasmaztin
Honored Contributor

Re: Vlan, dhcp-relay, ip routing hp procurve 2626/2650

hi Ole

you must be use ip helper command

this server must be connect vlan 1 untag port(1-26 or 28-50)
and server default gatewya address must be vlan 1 ip address

for example
dhcp server
ip address 192.168.88.4
subnet mask 255.255.255.0
default gateway 192.168.88.242

you must create two scobe for two vlan

scobe 1 for vlan 510

address range 192.168.71.10----100
subnet mask 255.255.255.0
default gateway 192.168.71.242


scobe 2 for vlan 511
address range 192.168.89.10---100
subnet mask 255.255.255.0
default gateway 192.168.89.252


so if you want vlan between routing and carrying dhcp address between vlan dhcp server and client default gateway must be vlan ip address

now you must be ip helper commad

vlan 510
name "IKT_Kurslab"
untagged 27
ip address 192.168.71.242 255.255.255.0
ip helper-address 192.168.88.4

vlan 511
name "IKT_klasse"
ip address 192.168.89.252 255.255.255.0
ip helper-address 192.168.88.4

and check ip routing enable on switch
cenk

cenk sasmaztin
Honored Contributor

Re: Vlan, dhcp-relay, ip routing hp procurve 2626/2650

if you want internet connection this vlan's
you can write static routing command on switch and internet router

your internet router ip address 192.168.88.4 and connect vlan 1 untag port

must be write static routing command on switch

0.0.0.0 0.0.0.0 192.168.88.4

and
must be write static routing command on internet router

192.168.0.0 255.255.0.0 192.168.88.242

may it be easy
cenk

Ole-Martin Broz
New Member

Re: Vlan, dhcp-relay, ip routing hp procurve 2626/2650

Okey, deleted unused vlans, moved the whole (1 vlan) to 511.
it's working fine, ip addresses is still the same.

dhcp, dns, domain server 192.168.88.4
Gateway 192.168.88.253
switch 192.168.88.242

vlan 510
name "IKT_Kurslab"
untagged 29
ip address 192.168.70.1 255.255.255.0
ip helper-address 192.168.88.4
tagged 49-50
exit
vlan 511
name "IKT_klasse"
untagged 1-28,30-48,50
ip address 192.168.88.242 255.255.255.0
tagged 49
exit

There we got the, ip route is enabled.
ip route 0.0.0.0 0.0.0.0 192.168.88.4
ip route 192.168.70.0 255.255.255.0 192.168.88.4

Here is where i get unsure, we need dns, aswell as the gateway, but i cannot do.
ip route
ip route 192.168.70.0/24 192.168.88.4
ip route 192.168.70.0/24 192.168.88.253

personally, i want to turn to a bsd box and do the routing on it.

Well, dont get any dhcp, no contact between them at all.

I have no idea whatso ever what my teacher want with this build, prioritizing doesnt exist in the 2600's ?
how advanced can theese route, and how well?
Ole-Martin Broz
New Member

Re: Vlan, dhcp-relay, ip routing hp procurve 2626/2650

Load default, exactly same config, works.
Noteable, using another switch 2626 instead of our 2650, since we didnt want much downtime, and the 2650 didnt route at all.