HP Procurve vlan routing question

We have a HP Procurve 5406zl switch with two vlans, I need the hosts on each vlan to be able to talk.

vlan1: 192.168.1.1 255.255.255.0

vlan10: 10.1.1.1 255.255.0.0

Could someone please help me configure this?
Thanks so much.
LVL 2
corptechAsked:
Who is Participating?
 
atrevidoCommented:
The 5400 is aware of all the VLANs configured within itself and will build the routes itself after you type the command #ip routing
You should be able to #show ip route
In order for the routes to populate, traffic must exist between the vlans so it can define them.  So a little patience is needed.  This feature is called Inter-vlan-routing
What is the ip of your router or gateway?  If you're going to do all routing on this switch is it your only switch in your network?
You'll need to point a manual route to the internet gateway.   Your site router/gateway (e.g. 10.0.2.1) must have a default route of it's internet connection.
- Also add the command (e.g.) "ip route 0.0.0.0/0 10.0.2.1" to the switch. This will tell the switch to forward all unknown IP's to your router - which will allow internet access for all VLANs
0
 
Faruk Onder YerliOwnerCommented:
you need to put in config "ip routing" string. below link can help you for other details.
http://h40060.www4.hp.com/procurve/uk/en/pdfs/5300xl_portbase.pdf
0
 
corptechAuthor Commented:
So it is one command "ip routing"?  I do not see any routes in that config, do I need to use Rip?
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
Faruk Onder YerliOwnerCommented:
You dont need routing protocols if both vlan definition  in same switch.if you have more than one switch and you will define different vlans, it may be necesarry. If your switches has uplonk to router you may use. But if you have dyub network you dont need at all.  
0
 
corptechAuthor Commented:
Thank you for the reply, I just want to make sure I am understanding this correctly.
Our switch (5406zl) is a modular switch and each vlan is on its own module. so vlan1 is on module A and vlan10 is on module B.  
As far as I am understanding all i need to do is enter "ip routing", i do not need routing protocols nor do i need to enter in static routes "(p route 192.168.x.x 255.255.255.0 10.1.1.1)?  Also will I have any issues routing between a class B ip and a class C ip within this switch?  I would like do everything within the switch.
Thanks!
0
 
htamCommented:
As explained before, you should activate ip routing trough the menu or the CLI to activate it

Show IP route will show you a route for your VLAN only if you have an active euqipment connected to this vlan.

If you make a sh ip route, you will see nothing before you connect something to this lan (physical connection)

0
 
corptechAuthor Commented:
Thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.