Hide Forgot
Description of problem: A server install, with dns configured, and a different ip specified than the machine ip, cannot resolve hostnames On a machine, whose IP is 10.16.18.76, ran the server install as below: ipa-server-install --setup-dns --forwarder=10.14.63.12 --ip-address=10.16.19.131 -r TESTRELM -p Secret123 -P Secret123 -a Secret123 -U (note: 10.16.19.131 is the IP for one of my VM machines, that I shutdown to do this test) Install went through successfully, /etc/hosts, and /etc/resolv.conf had this new IP addresses. But i cannot ping redhat.com or google.com. Version-Release number of selected component (if applicable): How reproducible: always Steps to Reproduce: 1. install ipa server as: ipa-server-install --setup-dns --forwarder=10.14.63.12 --ip-address=10.16.19.131 -r TESTRELM -p Secret123 -P Secret123 -a Secret123 -U 2. ping redhat.com Actual results: cannot ping Expected results: should be able to ping Additional info:
https://fedorahosted.org/freeipa/ticket/1175
Are you saying your configured an IPA server with an IP address not its own? Does forwarding work if you install with a correct IP addr?
1> Yes 2> yes
I'm not sure what we can do about this other than sift through the network configuration to determine if --ipaddress is actually being used. I'm not entirely sure how configuring a bogus address is making DNS not work but this isn't really a supported configuration, is it?
master: c329a54c093f856d129cf74528d24d13d1792326
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Cause: Providing an IP address during server installation with --ip-address results in a non-working server. Consequence: The IPA server installation appears to be successful but does not work. Fix: Verify that the provided IP address is a configured interface on the system. Result: Providing an IP address that isn't associated with a local network interface will return an error message.
Verified using ipa-server-2.1.3-8.el6.x86_64 # ipa-server-install --setup-dns --forwarder=10.14.63.12 --ip-address=10.16.19.999 r TESTRELM -p Secret123 -P Secret123 -a Secret123 Usage: ipa-server-install [options] ipa-server-install: error: option --ip-address: invalid IP address 10.16.19.999: failed to detect a valid IP address from '10.16.19.999'
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2011-1533.html