Solved

Configure a HP 5308xl Switch and route to each subnet

Posted on 2008-10-06
2
2,541 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Routing VLANs 5 77
Management Network in CIsco L2 Switch 3 45
Advertise subnet not directly attached 6 31
VLAN Question! 9 49
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 …
I eventually solved a perplexing problem setting up telnet for a new switch.  I installed a new Cisco WS-03560X-24P switch connected to an existing Cisco 4506 running a WS-X4013-10GE Sup II-Plus. After configuring vlans and trunking,  I could no…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

809 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