it:public:gbitinfrastructure

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen gezeigt.

Link zu der Vergleichsansicht

it:public:gbitinfrastructure [2020/02/24 19:47]
it:public:gbitinfrastructure [2020/10/18 14:01] (aktuell)
Zeile 1: Zeile 1:
 +<nspages it:public -h1 -nbcol=2>
  
 +====== Infrastructure ======
 +
 +**Diese und weitere Seiten im Namespace "it" befinden sich in Restrukturierung und sind WIP**
 +
 +
 +
 +Das Netzwerk ist im IP-Bereich 10.0.0.0/8
 +
 +===== DHCP =====
 +Der DHCP läuft im Router und verteilt Adressen im Range ''10.10.0.0'' bis ''10.10.2.255''. Die Netzmaske ist ''255.0.0.0''. Standardgateway ist
 +  * router.vspace (10.0.0.1)
 +
 +===== AccessPoints =====
 +User aktuller AP ist der Ubuquiti UAP AC Lite und lässt sich über den controller auf [[https://unifi.vspace.one:8443|Unifi]] verwalten
 +
 +===== DNS =====
 +Es wird der PFSense-interne DNS verwendet, welcher unter 10.0.0.1 erreichbar ist.
 +
 +
 +==== Serversettings ====
 +Use the following as ''/etc/resolv.conf'':
 +
 +**Warning: Only if you have not installed resolvconf. Otherwise this file is managed by resolvconf!**
 +
 +<code>
 +domain vspace
 +search vspace
 +nameserver 10.0.0.1
 +nameserver 8.8.8.8
 +</code>
 +
 +Use the following ''/etc/network/interfaces'' part:
 +
 +**Warning: Only if the server has no tools like networkmanager installed! Otherwise this file is managed by networkmanager!**
 +
 +<code>
 +address 10.0.0.xxx
 +netmask 255.0.0.0
 +gateway 10.0.0.1
 +</code>
 +
 +For setting the Hostname on the server you should replace the following in your ''/etc/hosts'' to:
 +
 +<code>
 +127.0.1.1 servername.vspace servername
 +</code>
 +
 +
 +===== Probleme =====
 +
 +==== Analyse für Linux ====
 +Führe
 +<code>dig ns02.vspace</code>
 +und
 +<code> dig @10.1.0.16 ns02.vspace</code>
 +aus. Werden im zweiten Fall Antworten angezeigt und im ersten Fall nicht, verwendet dein PC den falschen DNS Server. Gibt als nächstes:
 +<code>cat /etc/resolve.conf</code>
 +ein. Hier werden die verwendeten Nameserver aufgelistet. Ist dein Nameserver ''127.0.1.1'' oder ''127.0.0.1'' gehe weiter zum entsprechenden Fehler.
 +
 +
 +==== Nameserver 127.0.1.1 ====
 +The 127.0.1.1 entry is most likely placed there by dnsmasq which is a local daemon for serving (and crucially caching) dns and dhcp. It's possible to configure NetworkManager to not run dnsmasq as follows: edit the file ''/etc/NetworkManager/NetworkManager.conf'' and comment out the line ''dns=dnsmasq'' by placing a ''#'' at the beginning of the line.
 +
 +<code>sudo nano /etc/NetworkManager/NetworkManager.conf</code>
 +
 +Now restart NetworkManager:
 +
 +<code>sudo service network-manager restart</code>
 +
 +Next check that the 127.0.1.1 entry has vanished from <code>/etc/resolv.conf</code> and replaced with those obtained from your router.