How Ignorant :@

This post was a long overdue.The nirvana happened a long time back only the time to sit down and post it took time . Say i have a PC that has a ip address 192.168.10.1 and i do a ssh to it . From there i ping a machine 10.0.0.7 what will be the source ip address .I was ignorant to the core that i have not given a thought to that .God the machine may have multiple interfaces and linux selects the source IP based on if it knows there is a interface with the same IP .Take for example this particular case if the machine has an IP 10.0.0.5 then the Linux machine selects it as the source IP . Its a hop-by-hop case on which the source IP of a packet.What the hell i read the routing tables and stuff for those years .Why was i not able to correlate this basic fact .Let alone correllate not even a thought to the source IP.May be one excuse is i didnt work in machines having so many interfaces or complicated routing tables with VLAN as i do now .May be i should have used ping -R option .

Advertisements

Published by

samratashok

An Insane just adding irregularity to the universe

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s