SO: servidor Ubuntu 16.04.
Então eu mudei meu IP local da classe c para a classe a. Agora eu recebo um problema estranho no servidor.
(eu conecto ao servidor usando o conjunto estaticamente IP no SSH de um PC local)
Após a reinicialização, não é possível alcançar a WAN. se eu tentar pingar 8.8.8.8 eu recebo este
From <old class c. IP> icmp_seq=1 Destination Host Unreachable
ifconfig mostra que está usando um novo IP para a classe estaticamente definida.
Correção temporária: %código% Isso retorna
dhclient -v <interface>
Internet Systems Consortium DHCP Client 4.3.3
Copyright 2004-2015 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/<interface>
Sending on LPF/<interface>
Sending on Socket/fallback
DHCPRELEASE on <interface> to <gateway IP> port 67 (xid=0x4cf127f2)
Internet Systems Consortium DHCP Client 4.3.3
Copyright 2004-2015 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/<interface>
Sending on LPF/<interface>
Sending on Socket/fallback
DHCPDISCOVER on <interface> to 255.255.255.255 port 67 interval 3 (xid=0x72c4ab2e)
DHCPREQUEST of <the new statically set IP> on <interface> to 255.255.255.255 port 67 (xid=0x2eabc472)
DHCPOFFER of <the new statically set IP> from <gateway IP>
DHCPACK of <the new statically set IP> from <gateway IP>
bound to <the new statically set IP> -- renewal in 18113 seconds.
Mas é apenas temp, reinicie e o problema está de volta.
como resolvo isso?