oraclebase / vagrant

Vagrant Builds
https://oracle-base.com/
GNU General Public License v3.0
190 stars 167 forks source link

dnsmasq #25

Closed rjwmpwr closed 3 years ago

rjwmpwr commented 3 years ago

Hi, I have a lot of issues with dnsmasq. Here is the sequence.

  1. dns, vagrant up, ok
  2. node2, vagrant up, ok
  3. ssh to node2, [vagrant@ol8-21-rac2 ~]$ nslookup ol8-21-scan ;; connection timed out; no servers could be reached but dns is up, service is running.
  4. reboot dns.
  5. ssh to node2, nslookup will work.
  6. reboot node2
  7. ssh to node2, nslookup fail again.

i cannot figure out what caused this. because of dns issue, when i do node1, it will fail, because it cannot resolve the scan address. anybody else have the same issue? I tried ol7_21 and ol8_21. same issue.

jw

oraclebase commented 3 years ago

This most likely issue is you've not turned off the VirtualBox DHCP server. This can make nodes appear to drop off the network. It tells you in the README.txt about this. :)

rjwmpwr commented 3 years ago

Thanks for the hint. Indeed, it is the virtualbox dhcp that is causing the issue. But I have a 3rd work around for you. Instead of disabling dhcp server on virtualbox, I changed the dhcp server address from 100 to 200, and changed the lower bound address to 192.168.56.201. Basically, i am saying from 100 to 199 are for static use, 200 above is for dhcp. that also worked. no more nslookup issues.