Switches, Hubs, and Modems
1752777 Members
6188 Online
108789 Solutions
New Discussion юеВ

Re: 2910al vlan/routing help

 
Coldfirex00
Occasional Advisor

2910al vlan/routing help

Howdy,
We have a new 2910al-24g that I am attempting to get up and running. The plan is to break up the ports into several VLANs, that are all unable to communicate with each other, but can reach the primary vlan which will feed into our internet router (Untangle). Since the internet router does not handle VLANs well I want the routing to be handled by the switch.
I have never setup VLANs on an HP before (only a couple times on Cisco) and am running into a couple issues.
1. Devices on the different vlans can ping the static IPs of the different vlans. If possible I would like to prevent all traffic completely unless it is going to the primary vlan to reach the router.
2. From all VLANs (except the primary) I cannot ping the static IP assigned to the primary vlan (10.254.254.253).

I have attached the config if anyone could assist or point me in the right direction.

Thanks!
Alan
5 REPLIES 5
Mohammed Faiz
Honored Contributor

Re: 2910al vlan/routing help

Hi,

The default behaviour on Procurve switches is to route between any subnets it is has an address on if "ip routing" is enabled.
You have a couple of options for restricting access between VLANs. As you are using a single switch I'd suggest taking a look at port-filters here:

http://cdn.procurve.com/training/Manuals/2910-ASG-Feb09-11-TrafficSecFilters.pdf

These however don't scale well when using multiple switches.
The other option is to create ACLs for each VLAN on the switch.

http://cdn.procurve.com/training/Manuals/2910-ASG-Feb09-9-ACLs.pdf

With regards to the routing, you're running RIP but don't have it enabled in VLAN 1.
If your router at 10.254.254.254 is RIP aware you'll want to enable in VLAN 1 and set it to redistribute connected networks: "redistributed connected"
If 10.254.254.254 is not RIP aware you don't need to be running RIP and you can just set a default route on your 2910 to 10.254.254.254 "ip route 0.0.0.0 0.0.0.0 10.254.254.254"
Also if you're not using RIP, 10.254.254.254 needs to have a route back for all your 192.168. networks, pointing to 10.254.254.253.
Coldfirex00
Occasional Advisor

Re: 2910al vlan/routing help

Thanks for the info! I appreciate it.

I removed the rip as the static routes should be enough in our setup.
I added the default route to 10.254.254.254.

I started looking into the ACL method to block traffic between the VLANs. I created a simple test one:

ip access-list extended "101"
10 permit ip 192.168.254.0 0.0.0.255 10.254.254.0 0.0.0.255
20 deny ip 0.0.0.0 255.255.255.255 0.0.0.0 255.255.255.255
exit

I would like to assign this to vlan 2 so that it can only access vlan 1 (10.254.254.0/24). However, when I try to apply the ACL to vlan 2 I keep getting "invalid input: access-group". The command I have been trying is "ip access-group 101 in".
Any thoughts?
Mohammed Faiz
Honored Contributor

Re: 2910al vlan/routing help

I don't believe the 2910 series support ACLs at the VLAN level (you need something that uses the 5400 series code), only at the port level.
Coldfirex00
Occasional Advisor

Re: 2910al vlan/routing help

Thanks Mohammed!
I was able to get the ACLs working correctly after I assigned them to ports.

A couple things though:
The Switch itself can ping the IP of our Internet router (10.254.254.254).
The switch can ping the other VLANs and devices within them.
Our Internet router can ping the Switches static IPs of each VLAN (10.254.254.253, 192.168.254.254, etc).

Issues:
The devices in each VLAN cannot ping past 10.254.254.253.
The internet router cannot ping devices within each VLAN.

I have static routes setup on the router for each address space of the vlans with its gateway as the router's internet interface (10.254.254.254).

I am not sure if the problem lies with the switch or the router at this point. I have attached the current config if someone would not mind glancing at it and providing any input.
Thanks!
Coldfirex00
Occasional Advisor

Re: 2910al vlan/routing help

Nevermind I was able to figure out the issue and it was router related.
I appreciate your help!