Solved

Configure a HP 5308xl Switch and route to each subnet

Posted on 2008-10-06
2
2,527 Views
Last Modified: 2012-05-05
Hallo Experts,

I´m a newbie with configure HP ProCurve Switches!

We have two 5308xl switch in ouer company, the configuration is:

; J4819A Configuration Editor; Created on release #E.11.03

hostname "mainswitchb1"
snmp-server contact "" 
snmp-server location "" 
web-management management-url "http://172.17.12.201:8040/rnd/device_help
cdp run
module 6 type J4820A
module 1 type J4821A
module 7 type J4820A
module 3 type J4820A
module 4 type J4820A
module 5 type J4820A
module 2 type J4878A
ip default-gateway 172.17.12.12
ip routing
snmp-server community "public" Unrestricted
snmp-server host 192.0.1.245 "public" Not-INFO
snmp-server host 172.17.12.15 "public"
snmp-server host 172.17.12.201 "public"
vlan 1
   name "DEFAULT_VLAN"
   untagged A1-A4,B1-B4,C1-C24,D1-D24,E1-E24,F1-F24,G1-G24
   ip address 172.17.1.1 255.255.255.0
   ip address 172.17.4.1 255.255.252.0
   ip address 172.17.12.1 255.255.255.0
   ip address 172.17.13.1 255.255.255.0
   ip address 172.17.14.1 255.255.255.0
   ip address 172.17.15.1 255.255.255.0
   ip address 172.17.16.1 255.255.255.0
   ip helper-address 172.17.4.3
   exit
fault-finder bad-driver sensitivity low
fault-finder bad-transceiver sensitivity low
fault-finder bad-cable sensitivity low
fault-finder too-long-cable sensitivity low
fault-finder over-bandwidth sensitivity low
fault-finder broadcast-storm sensitivity low
fault-finder loss-of-link sensitivity low
fault-finder duplex-mismatch-HDx sensitivity low
fault-finder duplex-mismatch-FDx sensitivity low
xrrp
xrrp domain 2
xrrp instance 1 1
xrrp instance 2 1 ip 172.17.1.2 255.255.255.0
xrrp instance 2 1 ip 172.17.4.2 255.255.252.0
xrrp instance 2 1 ip 172.17.12.2 255.255.255.0
xrrp instance 2 1 ip 172.17.13.2 255.255.255.0
xrrp instance 2 1 ip 172.17.14.2 255.255.255.0
xrrp instance 2 1 ip 172.17.15.2 255.255.255.0
ip route 192.0.1.0 255.255.255.0 172.17.13.10
ip route 192.0.2.0 255.255.255.0 172.17.13.10
ip route 192.0.4.0 255.255.255.0 172.17.13.10
ip route 192.168.101.0 255.255.255.0 172.17.13.10
ip route 192.168.102.0 255.255.255.0 172.17.13.10
ip route 0.0.0.0 0.0.0.0 172.17.12.12
spanning-tree
password manager
password operator



In the Network there is a second router with the ip: 172.17.13.32/24 and the clients are in the 172.17.4.0/24 subnet. But I can´t ping the router from the clients. Only when I give them an second ip from the 172.17.13.0 subnet.

Perhaps you know a started guide to configure the hp switch? or is it to difficult?

thanks for the help!

best regard, wolfgang
0
Comment
Question by:deibel
2 Comments
 
LVL 10

Accepted Solution

by:
kyleb84 earned 250 total points
ID: 22655197
What you've done is not particually the way it's supposed to be done.....

If you paste these commands in:
no ip routing
no ip route 0.0.0.0 0.0.0.0 172.17.12.12
no xrrp
vlan 1
   no ip address 172.17.1.1 255.255.255.0
   no ip address 172.17.12.1 255.255.255.0
   no ip address 172.17.13.1 255.255.255.0
   no ip address 172.17.14.1 255.255.255.0
   no ip address 172.17.15.1 255.255.255.0
   no ip address 172.17.16.1 255.255.255.0
   exit
ip routing

-------------------------

That should clear up all the clutter in your switch's config.
The idea is, you have a different subnet/network for each vlan, and the switch will route between VLANs, as a rule of thumb you're not supposed to have multiple networks on the same "VLAN".

If you want another network, maybe isolate it to one of your modules:

vlan 20
 name "Sales"
 untagged G1-G24
 ip address 192.168.250.1/24

This will remove VLAN 1 from the last modules ports, and put them in their own network (192.168.250.0/24 network).

------------------------

If you have a default router of 172.16.12.12, make a VLAN for that network, then plug it in to a port on the switch like this:

vlan 12
 name "Gateway"
 untagged E1
 ip address 172.16.12.1/24

Then plug your router in to port E1, the switch will now forward internet bound packets to the router.

NOTE: Your router must know of how to get "back" to your switches other networks, you might have to add routes to the [172.17.4.0/24 via 172.16.12.1] etc... in the router.

-----------------------------

There's some config examples you can read here:

http://www.hp.com/rnd/support/config_examples/5300xl.htm

The first document explains how to route between VLANs (Which is exactly what you need to read).
0
 
LVL 5

Author Closing Comment

by:deibel
ID: 31503590
great answer
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I see many questions here on Experts Exchange regarding switch port configurations and trunks. This article is meant for beginners in the subject to help to get basic knowledge about Virtual Local Area Network (VLAN (http://en.wikipedia.org/wiki/Vir…
This tutorial will go through the steps required to write a script that will back up the configuration settings of a HP-ProCurve switch. You will need to get the following things to follow this tutorial: Telnet Scripting Tool e.g. TST10.exe …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

863 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

22 Experts available now in Live!

Get 1:1 Help Now