How to update the DES server’s IP?
Description: This is a step-by-step instruction on how to update the server’s IP to whatever purpose it may serve
Issue: Customer can’t access the server(DES website) on their office network
Cause: Customer made some network changes and needs to update the server’s IP
Resolution:
-
Access the server via SSH in its old IP. If it’s not accessible, ask the customer to set up a remote session on the BUPC and access the server via 192.168.10.10.
-
Login to SSH
-
Issue the command: ifconfig
Note: this is to check which network card is being used for the old IP.
4. Backup the config file before making changes
]# cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth0_bak
5. Get the new network information and the desired server IP:
Server’s new IP:
New network’s gateway:
New network’s netmask:
6. Update the configuration file using the network information from Step 5, then save the file.
]# vi /etc/sysconfig/network-scripts/ifcfg-eth0
]# service network restart
8. Verify if ifconfig will now show the updated IP (Note: Ask the customer to check if they can access the website through the new IP.)