Find the answer to your Linux question:
Results 1 to 2 of 2
Hi All, I've been wondering - where are the interface configurations (set by ifconfig, not the static ones) stored? I'm asking because I'm trying to understand, more broadly, the order ...
  1. #1
    Just Joined!
    Join Date
    Jan 2011
    Location
    CT
    Posts
    5

    IP address lookup

    Hi All,

    I've been wondering - where are the interface configurations (set by ifconfig, not the static ones) stored?

    I'm asking because I'm trying to understand, more broadly, the order of IP address lookup. If I ping the local machine (localhost, or one of the interfaces) no messages get sent out (at least according to wireshark), so some local lookup must be taking place. Can anyone enlighten me?

    thanks

    benshafat
    Last edited by benshafat; 01-28-2011 at 04:19 PM. Reason: better title

  2. #2
    Just Joined!
    Join Date
    Jan 2011
    Location
    Cambridge, Ontario, Canada
    Posts
    22
    Hi,

    According to the default installations of any modern GNU/Linux, a file whose path is usually:

    /etc/hosts

    is read before any TCP/IP is done, or any DNS lookups are done. Most likely, you will find some reference to your local host here.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...