Switches, Hubs, and Modems
cancel
Showing results for 
Search instead for 
Did you mean: 

Procurve 4108gl Vlan Help

 
Highlighted
Advisor

Procurve 4108gl Vlan Help

Hi eveyrone,

I have an procurve 4108 gl that im trying to set up with one extra Vlan. I have enabled ip routing, gave the Vlan a IP address, Name, and VID.  I want traffic from this vlan with IP 10.240.16.1 to pass to the default Vlan of the switch which is 10.240.0.30. All the ports are untagged except the 4 i need in the new vlan and I have them tagged for both Vlans. What am I missing? Do i need to add a static route or something else? Any help is greatly appreciated.

21 REPLIES 21
Highlighted
Respected Contributor

Re: Procurve 4108gl Vlan Help

Hello Netmin,

 

Le me try to ilustrate what is need to have a switch configured with two vlans do the routing between them.

 

Let's say you have vlan 1 with ip network 10.240.16.0/24 and vlan 2 10.240.0.0/24.

The switch vlan 1 interface could have ip  10.240.16.1/24  and vlan 2 ip 10.240.0.1/24 with routing enabled.

One machine connected to a port configured on vln 1, with ip 10.240.16.2/24 and gateway 10.240.16.1 shoul be able to access another machine connected to the switch on a port configured on vlan 2 with ip 10.240.0.2 and gateway 10.240.0.1.

 

If you have something similar to this scenario and it is still not working, please post your switch configuration.

 

Regards

Highlighted
Advisor

Re: Procurve 4108gl Vlan Help

I have the switch Ip set to 10.240.0.30 with gatway 10.240.0.8 thats my default Vlan, the Vlan I created is 10.240.16.1. I set up a laptop with ip 10.240.16.2 gateway 10.240.16.1.  In your example that should work right?

Highlighted
Respected Contributor

Re: Procurve 4108gl Vlan Help

That should work if ip 10.240.0.8 and 10.240.16.1 are configured on the switch's respective interface vlan.

 

Those ips are configured on the switch or you have 10.240.16.1 on the switch on the new vlan you created, and 10.240.0.8 on an external device ?

Because if the 10.240.0.8 is an external device you will need to configure a static route on this device for the new vlan you created.

 

Regards.

 

Highlighted
Advisor

Re: Procurve 4108gl Vlan Help

10.240.0.8 is our router 10.240.0.30 is the switchs ip, So I need a static route?
Highlighted
Respected Contributor

Re: Procurve 4108gl Vlan Help

Yes, because when the laptop configured with ip 10.240.0.30 sends a packet to 10.240.16.2, the packet will arrive at the router 10.240.0.8 and it does not know how to get to network 10.240.16.0/24.

So you you have to create a static  route on the router instructing it to send any packet for network 10.240.16 to the switch, but you still need to configure an ip adrress on the switch for the old vlan.

 

Let's say you configured ip 10.240.0.9 on the switch for the old vlan, and then you have two options for things to work:

 

1 -  change the default gateway on the clients ont eh old vlan to 10.240.0.9

2 - Create a static route on the router for network 10.240.16.0/24 pointing to ip 10.240.0.9.

 

Regards.

 

Highlighted
Respected Contributor

Re: Procurve 4108gl Vlan Help

I haven't noticed that 10.240.0.30 is the switch IP address on the old vlan.

So all you have to do is to create a static route on the router for network 10.240.16.0 pointign to the switc's ip address 10.240.0.30.

 

regards

Highlighted
Advisor

Re: Procurve 4108gl Vlan Help

thanks for your help! The switch has the IP 10.240.0.30 and gateway 10.240.0.8. That is our Watchgueard internal interface for internet. The Vlan I created was 10.240.16.1 Vlan2. I took a laptop and configured it with 10.240.16.2 and default gatway 10.240.16.1. so I need to assign an IP to Vlan1 and add a static route to route between ports on the same switch?

Highlighted
Advisor

Re: Procurve 4108gl Vlan Help

thank you now I think were straight.:smileywink:

Highlighted
Respected Contributor

Re: Procurve 4108gl Vlan Help

You just need a static route on the router, because it does know how to get to the new network.

On the switch you don't need to create any router.

 

regards.