Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a wireless router installed at my home (provided by ISP). Scenario:

Router IP:

My Machine IP (X):

IP of machine Y:

Now when I ping Y from my machine X.(ping from

My Routing table says:   U     9      0        0 wlan0

This is a local route and now the ARP will be consulted for the MAC address of Y. Suppose Y has mac: yy:yy:yy:yy:yy:yy Thus a packet will be sent out from wlan0 towards the router.

Now How will the router forward the packet? Will it switched based on MAC or Layer 3 IP lookup will be used to forward in the packet?

share|improve this question

migrated from Jul 28 '13 at 19:01

This question came from our site for system and network administrators.

It likely is also an implementation detail, given tthat this is a router. It should work only on ARP - layer 2 - but who knows what some engineer in his wisdom has implemented. – TomTom Jul 28 '13 at 18:05

One would expect that because this involves only machines in the same network, the router will just act as a switch and look only at the MAC address. But routers in the real world don't always behave precisely the way you would expect.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.