Results 1 to 3 of 3
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-02-2013 #1Just Joined!
- Join Date
- Oct 2006
- Posts
- 25
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:
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!
- 01-06-2013 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 10,143
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!
- 01-07-2013 #3
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.


Reply With Quote
