Routing between 2 networks on a procurve 2824 switch

I have a couple of procurve 2824 switches and 2 different networks, one 10.0.1.0/24 and one 192.168.150.0/24 and i used to have a cisco router to route between those two networks, but since the router only had 100mbit interfaces i thought id change it...

but i have heard that the procurve switches can act as a router between vlans... if i put each of the networks in there own vlan.

the 192.168.150.0/24 network uses 3 of the switches and the 10.0.1.0/24 uses just 12 ports on one switch... and i cant change the ip:s on that net.

so now im wondering, how can i configure the switch to route between these two networks?
or where can i find documentation that describes the procedure... google came up with nothing on this...

Thanks.
LVL 2
JohnnyGrAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
kidomanConnect With a Mentor Commented:
Hi,

Have you seen this document....

ftp://ftp.hp.com/pub/networking/software/59906023e01-Mgmt-ch16-IProuting.pdf

Cheers,

Karan

PS: I will read the fine print and try and tell u exactly what ur config should be.....
0
 
hoonexpertCommented:
Create 2 VLANS.
Add ports to VLANs.
Assign IP to respective VLANs.
Then reverse route to both the networks.

Hope it helps.

Manish.
Baroda.
India.

0
 
JohnnyGrAuthor Commented:
ok, but what exactly do you mean by reverse route the networks...

this is what happened when i tryed to add the route on the switch
i also tryed the reverse order...

Sterlin(config)# ip route 10.0.1.0 255.255.255.0 192.168.150.10
192.168.150.10 can not be switch IP address and route gateway at the same time.

the vlans each has there own ip, on is 10.0.1.10 and one is 192.160.150.10
0
SMB Security Just Got a Layer Stronger

WatchGuard acquires Percipient Networks to extend protection to the DNS layer, further increasing the value of Total Security Suite.  Learn more about what this means for you and how you can improve your security with WatchGuard today!

 
hoonexpertCommented:
you hv assigned both the ips to same default vlan. I told u 2 create 2 different port based vlans.

regards,

manish.


0
 
joopvCommented:
The procurve 2824 can not do layer 3 routing, just layer 2 switching.
0
 
joopvCommented:
hmm.  i must retract my comment - the 2824 *can* do basic ip routing.
0
 
kidomanCommented:
Hi again,

I thing I have something:

Supposing you have correctly configured the two VLANS (the DEFAULT VLAN and 1 more VLAN, say vlan 2) and assigned the switch two DIFFERENT IP addresses on the two vlans. Let the address of the switch be 10.0.1.10 on vlan 1 and 192.168.150.10 on vlan 2 done using this:

HPSwitch(config)# vlan 1 ip address 10.0.1.10/24
HPSwitch(config)# vlan 2 ip address 192.168.150.10/24
HPSwitch(config)# write memory

Now the router (in the switch) is directly connected to both the subnets and thus has built in static routes and therefore you need not add routes yourself.

Just ensure that nodes on vlan 1 use 10.0.1.10 as the default gateway and like wise for vlan 2.

Cheers,

Kidoman
0
All Courses

From novice to tech pro — start learning today.