Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Programs are using external network for id info, instead of LAN

    My Fedora 17 host “foobar” used to only exist within my LAN. The Ethernet interface, em1, is manually statically configured, everything worked fine. However, I recently added an external internet interface p2p1, and that NIC is configured with DHCP. The problem is that now many programs use p2p1 for things like ip-address, hostname and nameservice, instead of the LAN interface, em1.

    For example my build system is messed up because ant sets the properties to:

    Instead of


    How do I fix this?

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    You need to configure your routing and ip tables to look at the internal network for internal network addresses and dns names first before it goes to the p2p connection and externally for that information/connections.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    The Keystone State
    OK, the problem with DHCP is it over-writes /etc/resolv.conf file which is the file that tell the system where to look for DNS resolution.
    If you want to stop this you are going to have to add a rule to iptables to modify all port 53 request and point them to your internal DNS server.


    The adventure of a life time.

    Linux User #296285
    Get Counted

  4. $spacer_open

Posting Permissions

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