Jump to content

Recommended Posts

Posted (edited)

Hi there

 

We're setting up 2 VLANs on our network.

 

Data on VLAN 1

Voice on VLAN 2

 

Setting up our Procurve 5406 to act as the core switch.

We've set VLAN 1 to be IP 10.0.4.1 255.0.0.0 for our data network and VLAN 2 to be IP 172.16.0.200 255.255.0.0 for our voice network.

 

I've enabled IP routing on the 5406 and set a static default route 0.0.0.0 0.0.0.0 10.0.1.254 to our Smoothwall for Internet connectivity.

 

A PC on VLAN 1 (set with default gateway of 10.0.4.1) can connect to the switch by using either the 10.0.4.1 or the 172.16.0.200 address and can ping the Smoothwall on 10.0.1.254 and access the Internet.

 

A PC on VLAN 2 (set with the default gateway of 172.16.0.200) can also see the switch on either address, ping the smoothwall on 10.0.1.254 and access the internet.

 

So we can assume the static default route is working fine, but currently the PC on VLAN can't see anything on VLAN 2 other than the vLAN 2 port on the 5406 and the PC on VlAN 2 can't see anything on VLAN 1 other than the VLAN 1 port on the 5406 and the Smoothwall on 10.0.1.254.

 

With IP Routing being turned I thought the 5406 would automatically route between the two VLANs.

 

The current config on the 5406 is as follows:

 

hostname "Server Room*L4 5406-1"

module 1 type J9534A

module 2 type J9535A

module 3 type J9537A

module 4 type J9537A

ip*routing

vlan*1

** name "DEFAULT_VLAN"

** untagged*A2-A24,B1-B24,C1-C24,D1-D24

***ip address 10.0.4.1 255.0.0.0

** no untagged*A1

** exit

vlan*2

** name "voice"

** untagged*A1

***ip address 172.16.0.200 255.255.0.0

** tagged*A2-A24,B1-B24,C1-C24,D1-D24

** exit

gvrp

ip*route 0.0.0.0 0.0.0.0 10.0.1.254

snmp-server community "public" unrestricted

password manager

 

 

And if I run a Show IP Route I get:

 

* Destination******* Gateway*********VLAN Type***** Sub-Type** Metric**** Dist.

* ------------------ --------------- ---- --------- ---------- ---------- -----

* 0.0.0.0/0********* 10.0.1.254***** 1*** static************** 1********* 1

* 10.0.0.0/8*********DEFAULT_VLAN*** 1*** connected*********** 1********* 0

* 127.0.0.0/8******* reject************** static************** 0********* 0

* 127.0.0.1/32*******lo0***************** connected*********** 1********* 0

* 172.16.0.0/16***** voice********** 2*** connected*********** 1********* 0

 

 

What I have I missed to get the 2 VLANs talking to each other?

 

Thanks

Adrian

Edited by TheFopp
Posted
Is the cores IP set as the default gateway for both DHCP scopes?

 

Yes, each scope provides the ip of the relevant VLAN a the default gateway.

Posted
Yes, each scope provides the ip of the relevant VLAN a the default gateway.

 

is one of them setup as the default vlan? or management. I've not set this up in a while but i have a feeling you can't route between the default vlan (i.e the original vlan) and a second one. You would have to create two new vlans and route between them. Also I think you can't route between a management vlan and any other vlan. Its been a while since i was setting them up.

Posted

Thanks for your help, but got it sorted in the end and really should follow the advice I give to all out staff...

 

 

 

... I turned the core switch off an turned it on again...

 

I think it just needed a reboot to apply the IP routing (which i did after giving each VLAN an ip)... All works as expected now!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...