next hop vs interface routing

Posted on 2010-11-11
Medium Priority
Last Modified: 2012-05-10


I inherited a strange IP setup and I'm not sure how to solve this routing issue.

I have a few devices with IP addresses in the 3.0 subnet. There is no router in between to route to the 3.0 subnet.  I also have a 1.0 and a 4.0 subnet.

If I want to ping those devices(3.x) from a 1.0 machine I go:
route add mask where 103 is the ip of the workstation.

Now I need to ping those devices from a different subnet. How do I do that?

I need to ping from subnet 2.0. This subnet has the gateway The other interface of the router is That's how subnet 2.0 reaches resources (files, internet). Is this considered next hop routing?

How can I ping a device in the 3.0 subnet from for example?

Any help would be appreciated.

Question by:foresthome

Accepted Solution

Trackhappy earned 1000 total points
ID: 34117558
If you are saying that the .1, and .3 are on the same switch and they can talk to each otehr, I am not sure how it is working. Either the subnet has been broadened, or one has a secondary address on the interface. Maybe there is something I can learn here.

Can you draw a picture to show us more clearly what is where and what is configured. Check the advanced tab for secondary ip addresses, maybe post the results of ipconfig /all and route print commands on both the .1 and the .3 machines.
The answer might be to use vlans and use the router to route them, or simply use a broader subnet or maybe eliminate the different valns if they are really not needed.

Expert Comment

ID: 34122875

Paste your network design to understand the scenario.

Apply this command for intervlan communication

# ip routing
LVL 57

Assisted Solution

giltjr earned 1000 total points
ID: 34123113
In some instances a switch that is VLAN aware will do a proxy arp for a IP address that is not on the same VLAN/IP Subnet as the requesting host.

So after you issue the command:

route add mask

When you ping a host, say, will send out a arp requst for  The switch may respond with the MAC address for  Then will send the ICMP to with its' MAC address.  The switch knows what port that MAC is on and forwards it.  That host ( will respond normally.

I know that this works with L3 switches like a Cisco 6500 series with a MFSC card.

What type of switch do you have?


Author Comment

ID: 34123845

Thank you for your responses.

I have 2900 switches in the network and a 3550 between subnet 1.0 and 2.0. I see that those 3.0 subnet devices have a gateway of

LVL 57

Expert Comment

ID: 34123990
O.K., 3550's can do IntraVLAN routing.

I don't know for sure what is exactly occuring, but my guess is that since the 3550 knows how to get to all of the subnets, it is doing proxy arp.

Description of what proxy arp is and how it works:


What I would suggest is you setup the 3550 so it can do IntraVLAN routing for all of your IP Subnets/VLANs:


Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

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.

Join & Write a Comment

Network ports are the threads that hold network communication together. They are an essential part of networking that can be easily ignore or misunderstood, my goals is to show those who don't have a strong network foundation how network ports opera…
Getting hacked is no longer a matter or "if you get hacked" — the 2016 cyber threat landscape is now titled "when you get hacked." When it happens — will you be proactive, or reactive?
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

600 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question