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:
How do I fix this?