routing VLANs

Hi Experts,

I am trying to get a computer on VLAN 2 to talk to a server residing on VLAN 1.  I currently have:

- The  switch is in standalone layer 3 mode.
- IP for VLAN 1 (192.168.1.0/24) and VLAN 2 (192.168.2.0/24)
- IP for Server (192.168.1.1) and the computer (192.168.2.1)
- Ports are untagged, with appropriate VLAN ID assigned.
- IP Routing has both subnet listed as local, as well as a 0.0.0.0/0 entry with Next Hop pointed to the server (192.168.1.1)
- Computer and server can't ping each other.

What have I missed?

Thanks for your help!
TBG_PerthAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

from_expCommented:
hi!
in this case you should have ip address for vlan 2 configured on the switch and your pc should have your switch as a default gw
0
from_expCommented:
and one more thing:
server should also know where the second subnet is. so you have to add static route to the server:
route add <subnet2> mask 255.255.255.0 via <ip address of a switch in vlan1>
0
TBG_PerthAuthor Commented:
Hi exp,

Thanks for replying.  Regarding your first comment, what do you mean by "should have ip address for vlan 2 configured on the switch"?  The switch has IP assigned to VLAN1 (192.168.1.252) and VLAN2 (192.168.2.252) already.  Computers on VLAN2 have used the VLAN2 IP as the gateway.

I've added the route as per your suggestion, but its still not working.  On the server, its currently registered as:

Active Routes
Network Destination - 192.168.2.0
Netmask - 255.255.255.0
Gateway - 192.168.1.252 (Switch's VLAN1 IP)
Interface - 192.168.1.1
Metric - 1

Any other suggestions?
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

from_expCommented:
hi!
at present time your setup seems correct
can you ping 1.252 from client?
and can you ping 2.252 from server?
please provide traceroute from server to computer ip
0
TBG_PerthAuthor Commented:
Hi exp,

Thanks for your help so far.  Perhaps I should explain the whole setup, as I might've missed something elsewhere...

My whole setup as follow:

Workstations (192.168.2.0/24) --- HP2626 layer3 switch --- Linksys SFE2000 --- server(192.168.1.1) + workstations (192.168.1.0/24)

For HP switch
VLAN Default (192.168.3.251)
VLAN2 (192.168.2.251) (Primary VLAN)
All ports are untagged with VLAN2 ID
IP Routing enabled
port1 connects to Linksys port1 via cross-over (not trunked)

For Linksys switch
VLAN1 (192.168.1.252)
VLAN2 (192.168.2.252)
port1 tagged with VLAN ID 2, connected to HP switch, trunk mode
port2 tagged with VLAN ID 1, connected to server, trunk mode
IP Routing has VLAN1 and VLAN2 subnets listed as local, as well as a 0.0.0.0/0 entry with Next Hop pointed to the server (192.168.1.1)

Server can ping both Linksys VLAN IPs, but not HP.  HP switch can ping VLAN2 IP of Linksys, and VLAN1 IP of Linksys is "unreachable on this VLAN".

I hope this will help in sorting the problem out.  Thanks!
0
from_expCommented:
hi!
trunking in hp is the same as tragging in linksys
so if port 1 on hp is not trunked, then linksys port 1 should be untagged for vlan 2
the same for server - port 2 should be untagged in vlan 1.
0
from_expCommented:
so the first thing you should archive - workstation should be able to ping linksys
0
TBG_PerthAuthor Commented:
Hi exp,

Yes, I can ping the Linksys from workstations connected to HP, but only the IP of the same subnet.  Vise versa for the server from Linksys side.  What's next?  Seems so close to solving this problem!

Thanks.
0
TBG_PerthAuthor Commented:
I am increasing the point value because its not as simple as I first thought.
0
from_expCommented:
ok, please provide me with ip settings (screenshots) from your workstation and server
Please also show me screenshots from routing sections of your linksys.
I would like to be 200% sure, that we haven't missed something.
Because at this point everything should work, so I suppose some small nasty typo is hiding from us
0
TBG_PerthAuthor Commented:
The Linksys web interface just went down..  I can ping it, but the time varies greatly from 160ms back to 1ms..  Someone was working on the server just now, so not sure if its related.  Will restart the switch later today and see if I can get it back.
0
TBG_PerthAuthor Commented:
Here are the details, minus the info from the Linksys.  Will grab those soon.
HP-IP--800x600-.jpg
HP-Ports--800x600-.jpg
HP-VLAN--800x600-.jpg
Workstation-IP--800x600-.jpg
Server-IP.jpg
0
TBG_PerthAuthor Commented:
Here are the Linkysys info..

What am I missing?  
Linksys-IP.jpg
Linksys-IP-Routing.jpg
0
from_expCommented:
Hi!
thanks for screenshots.
1. I would say, that you have to reconfigure default gw on workstation from 251 to 252, because hp does not route anything.
2. please allow autoconfiguration for ports on hp, I would say 10Full is very ancient mode.... should be auto and they should negotiate 100Full normally
3. server has default to 8.2, possibly to firewall and second nic has 1.1 address, so you have to add static route for server:
          route add -p 192.168.2.0 mask 255.255.255.0 192.168.1.252


hopefully it should work after all :)
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
TBG_PerthAuthor Commented:
Thanks exp for all your help.  Changing the gateway on workstation solved the issue!  
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Switches / Hubs

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.