• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Failover

BugaS

Donżuan
Joined
Mar 12, 2009
Messages
1,219
Reaction score
9
Location
NYC
Mam otsa pod glownym ip dedyka.

Chce zeby byl pod ip failoverem, zwykla zmiana w config.lua nie wystarcza nie da sie lognac.

Jakies propozycje/pomysly? Bez glupich docinek
 
Strzelę w ciemno, że to OVH.

Strzelę również, że to debian.. więc:

Utworzymi wirtualny interfejs o nazwie eth0:0, który przypisze dodatkowy adres IP lub IP fail over do interfejsu sieciowego.

* przez ssh/putty


1. Kopiujemy plik źródłowy.

cp /etc/network/interfaces /etc/network/interfaces.save



2. Możemy wyedytować plik, aby dodać IP. Można w tym celu skorzystać z nano lub vi.

pico /etc/network/interfaces


Należy dodać:

auto eth0:0
iface eth0:0 inet static
address IP.FAIL.OVER
netmask 255.255.255.255



Plik /etc/network/interfaces powinien zawierać:

auto eth0
iface eth0 inet static
address xxx.xxx.xxx.xxx
netmask 255.255.255.0
broadcast xxx.xxx.xxx.255
network xxx.xxx.xxx.0
gateway xxx.xxx.xxx.254

auto eth0:0
iface eth0:0 inet static
address IP.FAIL.OVER
netmask 255.255.255.255




3. Ponowne uruchomienie interfejsu sieciowego.
Aby sprawdzić pingi IP fail over, wystarczy zrestartować interfejs sieciowy:

/etc/init.d/networking restart




4. Test IP
Jeżeli operacje 1-3 zostały prawidłowo wykonane, IP podane w pliku będzie odpowiadać na komendę ping z zewnątrz. W razie problemów, prosimy o kontakt z działem technicznym.
 
Ja mam ustawionego ip failovera. Ale dzieki.

Prosze o pomoc
 
Back
Top