Email Subscription Notifications Suspended Temporarily
We are in the process of making navigation in the Servers and Operating Systems forums simpler and more direct. While doing this, we have to temporarily suspend email notifications for subscriptions. If you are subscribed to one or more discussion boards or blogs in the community, please check them daily to see new content. Notifications will be turned back on in a few days. We apologize for any inconvenience this may cause. Thanks, Warren_Admin
Switches, Hubs, and Modems
cancel
Showing results for 
Search instead for 
Did you mean: 

HP 2524 switch problem: vlans and Internet

Martin_169
Occasional Visitor

HP 2524 switch problem: vlans and Internet


Dear Sirs

I have a problem with HP 2524 switch: second VLAN computers cannot access Internet.
Here is switch Startup configuration:

; J4813A Configuration Editor; Created on release #F.05.22

hostname "HP ProCurve Switch 2524"
time daylight-time-rule None
cdp run
ip default-gateway 192.168.1.100
snmp-server community "public" Unrestricted
snmp-server host 192.168.1.4 "public"
snmp-server host 192.168.1.31 "public"
snmp-server host 192.168.1.29 "public" Not-INFO
vlan 1
name "DEFAULT_VLAN"
untagged 1-20
ip address 192.168.1.26 255.255.255.0
no untagged 21-26
exit
vlan 2
name "NEW_NET_VLAN"
untagged 21-26
ip address 192.168.2.26 255.255.255.0
exit
no aaa port-access authenticator active
password manager
password operator

Windows machines that are connected to DEFAULT_VLAN can access Internet without any problems. Machines connected to NEW_NET_VLAN cannot. What is wrong?

P.S. 192.168.1.100 is Cisco router to Internet. Client machines have the following config:

Connected to DEFAULT_VLAN:
IP: 192.168.1.25
DG: 192.168.1.100

Connected to NEW_NET_VLAN:
IP: 192.168.2.25
DG: 192.168.2.26


Thank you
Martin

2 REPLIES
Ron Kinner
Honored Contributor

Re: HP 2524 switch problem: vlans and Internet

There is nothing wrong. That's just the way it works. The 2524 is not a layer 3 switch so there is no traffic between VLANs.

You have three options. Isolated Port Groups instead of VLANs is probably your easiest. Look in the release notes for the latest software version.

ftp://ftp.hp.com/pub/networking/software/59903102-E2.pdf

page 6. This has the least impact on your users and does not require any changes to your router but still isolates the two groups of users.

Alternatively you can set up the Cisco (if it supports fast ethernet and VLANs) to do the routing for both VLANs. This is kind of tricky and depends on which version of the Cisco IOS you are running exactly how it is implemented. Another method if you have spare ports on the Cisco and the 2524 then you can connect another port on the Cisco to an untagged VLAN2 port on the switch and give the Cisco's port an IP address in the 192.168.2 subnet which your users in VLAN2 will have to use for their default gateway. (Regardless of which Cisco option you take you will have to have your VLAN2 users use a new IP address for their default gateway.

One other problem you may run into with VLANs is that the NAT on the router may have to be adjusted to add the 192.168.2 subnets to its NAT list.

Let me know which method you want to use and which Cisco router and IOS version and I can tell you how to set it up.

Ron
OLARU Dan
Trusted Contributor

Re: HP 2524 switch problem: vlans and Internet

Dear Martin,

1. We are not "Sirs". Just some guys like you who have various networking problems and try to help each other in the best way we can.

2. Have Ron's answers helped you? Heve you got NEW_NET_VLAN users connected to Internet?