- Newest
- Most votes
- Most comments
We received technical support and resolved it.
I confirmed that the event will be reproduced in the verification environment using an instance that starts with the same AMI as the instance where the event occurred.
When updating the IP address after the dhcp client updated the date, the IP address could not be updated, the network connection was lost, and the instance status failed with the record that could be confirmed.
If it is the same event as above, you can think of a way to temporarily set the network to static (static) as a workaround.
I will inform you the specific operation procedure below.
-
Stop time synchronization service
$ sudo systemctl stop chronyd -
Please check the network settings
Execute the following command and make a note of the setting contents.
$ ifconfig
$ route
- Change the network interface settings
Please correct the setting file '/etc/sysconfig/network-scripts/ifcfg-ens5' according to the customer's environment based on the contents confirmed in 2.
Description example
BOOTPROTO=none
IPADDR=10.15.0.226
NETMASK=255.255.255.0
GATEWAY=10.15.0.1
DEVICE=ens5
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
Example of description so far
-
Change the name of an unnecessary setting file
Because unnecessary network interface settings exist, restart of the network service will fail. Please change unnecessary setting file name with the following command.
$ sudo mv /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/org_ifcfg-eth0 -
Restart the network service.
After changing the configuration file, restart the service with the following command.
$ sudo systemctl restart network
※ When restarting the instance (OS restart), please note that the contents set in 3 will be rewritten to the original DHCP setting.
If the event recurs even if you change the network settings above, please share the following information.
- syslog (files of /var/log/messages mainly when an event occurs)
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 9 months ago