Routing between 2 networks on a procurve 2824 switch

Posted on 2004-10-29
Last Modified: 2008-01-09
I have a couple of procurve 2824 switches and 2 different networks, one and one 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 network uses 3 of the switches and the 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...

Question by:JohnnyGr
    LVL 2

    Expert Comment

    Create 2 VLANS.
    Add ports to VLANs.
    Assign IP to respective VLANs.
    Then reverse route to both the networks.

    Hope it helps.


    LVL 2

    Author Comment

    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 can not be switch IP address and route gateway at the same time.

    the vlans each has there own ip, on is and one is
    LVL 2

    Expert Comment

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



    LVL 6

    Expert Comment

    The procurve 2824 can not do layer 3 routing, just layer 2 switching.
    LVL 2

    Accepted Solution


    Have you seen this document....



    PS: I will read the fine print and try and tell u exactly what ur config should be.....
    LVL 6

    Expert Comment

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

    Expert Comment

    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 on vlan 1 and on vlan 2 done using this:

    HPSwitch(config)# vlan 1 ip address
    HPSwitch(config)# vlan 2 ip address
    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 as the default gateway and like wise for vlan 2.



    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 (, 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