Programs are using external network for id info, instead of LAN.
My 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:
ADDR4=76.102.69.112
DOMAIN=hsd1.ca.comcast.net
NAME=c-76-102-69-112
Instead of
ADDR4=192.168.0.3
DOMAIN=hymerfania.com
NAME=foobar
How do I fix this?
Thanks!
|