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

VLAN routing issues

SOLVED
Go to solution
Scott Waterhouse_1
Occasional Contributor

VLAN routing issues

I am trying to setup a VLAN for my voice traffic. My core switch is a 2824 and my edge switches are 2624 and 2650. All of my servers hang directly off of the 2824 and all of the phones/pcâ s hang off of the 26XX. The PCâ s are daisy chained off of the phones via the built-in 2 port switch on the ip phones.

For a test I have a 2650 with 1 test pc hanging off of it connected to port 32. The phone servers voip port will connect to port 1 of the 2824. If I try using DHCP on the test pc I cannot get an address from the DHCP server on VLAN1 so I set up a static address for testing purposes.

On any pc in VLAN1 I can ping any host in the 190.140.x.x subnet and the VLAN6 switch ipâ s (192.168.6.1, and 192.168.6.10) but cannot ping the test pc at 192.168.6.40.

From the test pc in VLAN6 I can ping the two vlan6 switch interfaces (192.168.6.1, and 192.168.6.10) but I cannot ping anything in the 190.140.x.x range except for the two switches (190.140.1.79 and 190.140.1.81).

I have attached my current configurations.
3 REPLIES
Ron Kinner
Honored Contributor

Re: VLAN routing issues

I'm more familiar with Cisco than HP but

I'd remove the
ip default-gateway 190.140.1.1
from the 2824. It's not needed when you have an
ip route 0.0.0.0 0.0.0.0 190.140.1.1

It shouldn't make any difference to your problem but you never know.

I think your DHCP problem is because you do not have:

dhcp-relay

This is a global config command. You may also need:

ip directed-broadcast

If it were me I would first make sure that the 2824 is routing properly by plugging the test PC into it and assigning the test PC a VLAN 1 address with the VLAN1 default gateway of 190.140.1.79. Can it ping the VOIP server? Does the VOIP server have a default route of 192.168.6.1?

Then log onto the 2824 and

sh ip route

to verify that it has routes for both subnets and your default route.

Once you get that to work then it should be easier to connect the two switches together.

Ron

Matt Hobbs
Honored Contributor
Solution

Re: VLAN routing issues

Your configs look about right to me. Make sure your clients in VLAN1 have their default gateway set to 190.140.1.79.

I'd recommend you update the firmware too on these switches.

Scott Waterhouse_1
Occasional Contributor

Re: VLAN routing issues

Thanks for the help guys. It was the fact that the clients in VLAN1 did not have the default gateway set to the switch.