What is gateway on-link?

When I do a route print, I get many gateway 'on-link' entries.   I'm assuming this means 'same as the default gateway', but correct me if I'm wrong.
B1izzardAsked:
Who is Participating?
 
itsmeinCommented:
On Link refers to the ACTIVE LINK on the device. Say you have a laptop with a NIC and WIFI card. When you connect the network cable to NIC, any route that has ON LINK will take the NIC (IP Gateway specfied) as gateway.

When yo udisconnect network cable and then switch over to WIFI - because of the ON LINK - the transit of data will be through the WIFI gateway.

SC
0
 
farazhkhanCommented:
Hi,

Yes, Is it default gateway for each route.

Regards,
Faraz H. Khan
0
 
B1izzardAuthor Commented:
Thanks.  The network/wifi example makes perfect sense.
0
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.

All Courses

From novice to tech pro — start learning today.