Solved

Routing between 2 networks on a procurve 2824 switch

Posted on 2004-10-29
5,389 Views
Last Modified: 2008-01-09
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.
0
Question by:JohnnyGr
    7 Comments
     
    LVL 2

    Expert Comment

    by:hoonexpert
    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
     
    LVL 2

    Author Comment

    by:JohnnyGr
    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
     
    LVL 2

    Expert Comment

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

    regards,

    manish.


    0
     
    LVL 6

    Expert Comment

    by:joopv
    The procurve 2824 can not do layer 3 routing, just layer 2 switching.
    0
     
    LVL 2

    Accepted Solution

    by:
    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
     
    LVL 6

    Expert Comment

    by:joopv
    hmm.  i must retract my comment - the 2824 *can* do basic ip routing.
    0
     
    LVL 2

    Expert Comment

    by:kidoman
    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

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone. Privacy Policy Terms of Use

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Suggested Solutions

    Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
    Let’s list some of the technologies that enable smooth teleworking. 
    Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
    After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

    875 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now