Switches, Hubs, and Modems
1752579 Members
4004 Online
108788 Solutions
New Discussion юеВ

Re: Configuring two VLAN on a single Procurve 4104

 
Jerry de Vera
Occasional Advisor

Configuring two VLAN on a single Procurve 4104

Hi there!

I'm just a newbie here trying to work things out with regards to VLAN.

How can I make two VLAN's communicate with each other on a single Procurve 4104 switch. I have the default vlan with assigned ports A1-A17 with an ip of 172.16.0.51/22. While the other VLAN has ports A18-A19 assigned to it and 192.168.0.3/24 address. How can I do this without the need for a router?

Thanks in advance. More power!

Jerry
9 REPLIES 9
th0mas0s
Advisor

Re: Configuring two VLAN on a single Procurve 4104

Hello Jerry,
welcome from another neewbie.

Try the following;

vlan 1
name "DEFAULT_VLAN"
no untagged A1-A19
no ip address
exit
vlan 100
name "VLAN100"
untagged A1-A17
ip helper-address (your DHCP server here)
ip address 172.16.0.51 255.255.252.0
exit
vlan 200
name "VLAN200"
untagged A18-A19
ip helper-address (your DHCP server here)
ip address 192.168.0.3 255.255.255.0
exit

Regards,
SHaun
always learning
Jerry de Vera
Occasional Advisor

Re: Configuring two VLAN on a single Procurve 4104

Hey SH aun,

Thanks for your immediate reply. Will I have to do this on CLI?

Sorry, total newbie here, :)

Thanks a lot!
Jerry de Vera
Occasional Advisor

Re: Configuring two VLAN on a single Procurve 4104

Hello again, SHaun,

I've tried what you have suggested on CLI. I am still not able to make the two VLAN communicate with each other.

Any other ideas?

thank you very much!

Jerry
th0mas0s
Advisor

Re: Configuring two VLAN on a single Procurve 4104

enter conf then ip routing

that should enable the two to talk

I am sure there are stronger people on here bar us but let's see where we go with this
always learning
th0mas0s
Advisor

Re: Configuring two VLAN on a single Procurve 4104

try and ensure the def vlan is left alone and create two new vlans and tag/untag as needed.
always learning
Jerry de Vera
Occasional Advisor

Re: Configuring two VLAN on a single Procurve 4104

Thanks SHaun,

ip routing is enabled.

def vlan was also left alone. created two vlans. Thanks a lot!

I really need this working ASAP. I need this two vlans to be sharing resources with each other, e.g., file and print, web, etc.

Thank you all in advance!
th0mas0s
Advisor

Re: Configuring two VLAN on a single Procurve 4104

Hello Jerry,
my last throw before bed...

have you tried adding the route manually on the client ie..

route add "destination, this can be a network" n.n.n.n mask n.n.n.n "go via" n.n.n.n.

Good Luck.

Regards,
Shaun
always learning
Jerry de Vera
Occasional Advisor

Re: Configuring two VLAN on a single Procurve 4104

Hey SHaun,

Hope your still awake, :)

How will I enter those on CLI. Is it like this:

route add 172.16.0.0 255.255.252.0 go via 172.16.0.51


Thanks for your efforts SHaun. Really appreciated it! :)
Jerry de Vera
Occasional Advisor

Re: Configuring two VLAN on a single Procurve 4104

Hey SHaun,

I missed something. I edited the gateway configuration on the clients on both VLAN to point to the ip of the switch. and now its able to share resources.

Many thanks to your help! After I configured ip routing, I should have enter the gateway.

Thank you very much!

Jerry