Hello, i'm trying to build from scratch following https://wiki.efa-project.org/doku.php?id=building_e.f.a on a cloud KVM hypervisor
But at this stage, network is unreachable
Any hint? Thanks
Building EFA, no network
Re: Building EFA, no network
Did you set the DNS server during the setup?
The error message is saying that efa-project.org cannot be resolved which suggests your DNS server has not been specified correctly.
The error message is saying that efa-project.org cannot be resolved which suggests your DNS server has not been specified correctly.
Re: Building EFA, no network
Yep, tried recursive and manual one. Seems something network related into the os
Tried also to edit resolv.conf manually but losing config on each reboot.. where is the setup wizard located? So i can made some change/tests without rebooting
Tried also to edit resolv.conf manually but losing config on each reboot.. where is the setup wizard located? So i can made some change/tests without rebooting
Re: Building EFA, no network
so, can this efa vm reach the internet?
can you use the nslookup command? if so, set your dns to 8.8.8.8 and see if you can resolve any addresses from that machine with those settings.
can you use the nslookup command? if so, set your dns to 8.8.8.8 and see if you can resolve any addresses from that machine with those settings.
Re: Building EFA, no network
As we have no info whatsoever on your setup, besides dns doesn't work.So trying to get the picture, with my hands tied behind my back, while hung from one feet upside down,while swinging vigorously, and of course blindfolded.
/\
Start the configure menu:
The saved settings. So check this first
Did you assign the proper network to the (LAN) interface?
Did you assign the proper gateway?
Did you enable recursion?
It doesn't make sense to edit resolv.conf manually
in /etc/sysconfig/network
For dhcp to generate fixed ip's, you need the mac address of the networkcard.
In the dhcp server (DHCP Static Mappings ) you can assign an ip for this mac address outside the dhcp range.
in /etc/sysconfig/network-scripts/ifcfg-eth0
NetworkManager will manage the interfaces by default unless you add: NM_CONTROLLED=no
Check /etc/hosts
Check Unbound config ( and evt forwarders)
search google:
What do you mean by manual one?Yep, tried recursive and manual one
Can you be more specific on the cloud part?on a cloud KVM hypervisor
/\
Start the configure menu:
Code: Select all
/usr/local/sbin/EFA-Configure
Code: Select all
/etc/EFA-Config
Did you assign the proper gateway?
Did you enable recursion?
It doesn't make sense to edit resolv.conf manually
Code: Select all
; generated by /sbin/dhclient-script <-- (losing config on each reboot)
search EXAMPLE.LAN. EXAMPLE.MAN.
nameserver 127.0.0.1 -< unbound!
Code: Select all
NETWORKING_IPV6=no
IPV6INIT=no
NETWORKING=yes
DHCPV6=no
IPV6_AUTOCONF=no
HOSTNAME=EFA.EXAMPLE.LAN
GATEWAY=xxx.xxx.xxx.xxx < GATEWAY
In the dhcp server (DHCP Static Mappings ) you can assign an ip for this mac address outside the dhcp range.
in /etc/sysconfig/network-scripts/ifcfg-eth0
Code: Select all
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
Check /etc/hosts
Code: Select all
127.0.0.1 localhost.localdomain localhost localhost4 localhost4.localdomain4
xxx.xxx.xxx.xxx EFA.EXAMPLE.LAN EFA
search google:
Code: Select all
site:forum.efa-project.org unbound DNS
Last edited by henk on 11 Apr 2018 16:51, edited 1 time in total.
“We are stuck with technology when what we really want is just stuff that works.” -Douglas Adams
Re: Building EFA, no network
Thank you all for the replies, this staging VM is hosted on Hetzner Cloud, the configuration is done via DHCP since, with CX vServers, the public IP is assigned to the interal IP via 1:1 NAT
Just made some tests:
Boot and configured DHCP, made networking works
Update EFA to the latest version
Issued EFA-Init and followed wizard, networking step takes right ip/sub/gateway
After confirm settings, the autoconfiguration give me the same error
Spawn a shell: ping 8.8.8.8 = Network is unreachable
A rapid look to changes:
resolv.conf modified (from hetzner DNS to 127.0.0.1)
/etc/sysconfig/network: new line added "GATEWAY=172.31.1.1" (correct gateway)
/etc/sysconfig/network-scripts/ifcfg-eth0 modified from DHCP to manual with right settings
routes modified, only a 169.254.0.0 present
Hope this help
Just made some tests:
Boot and configured DHCP, made networking works
Update EFA to the latest version
Issued EFA-Init and followed wizard, networking step takes right ip/sub/gateway
After confirm settings, the autoconfiguration give me the same error
Spawn a shell: ping 8.8.8.8 = Network is unreachable
A rapid look to changes:
resolv.conf modified (from hetzner DNS to 127.0.0.1)
/etc/sysconfig/network: new line added "GATEWAY=172.31.1.1" (correct gateway)
/etc/sysconfig/network-scripts/ifcfg-eth0 modified from DHCP to manual with right settings
routes modified, only a 169.254.0.0 present
Hope this help
Re: Building EFA, no network
So DHCP provides network access also after reboot
Did you check?
Check for duplicates ( mac <=> if-name)
Did you check?
Code: Select all
/etc/udev/rules.d/70-persistent-net.rules
“We are stuck with technology when what we really want is just stuff that works.” -Douglas Adams