Last update at :2024-07-11,Edit by888u
Generally, a single network card is configured with multiple IPs. All are operated under SSH.
View external communication network card
ifconfig
Enter the /etc/sysconfig/network-scripts/ directory and view the network card files
ls
Edit the file and add IP
vi ifcfg-enp1s0f0
Find an IP like IPADDR="107.xxx.xxx.xxx" and add the IP you want to add below
As
IPADDR1=”107.xxx.xxx.xxx” IPADDR2=”107.xxx.xxx.xxx” IPADDR3=”107.xxx.xxx.xxx”
After saving, restart the network
systemctl restart network.service
Recommended site searches: expired domain name query, Hong Kong server recommendation, Taiwan server rental, Hong Kong proxy server, US attack defense server, Wanwang space, US host ranking, domain name registration query, Hong Kong high defense server rental, IP address,
发表评论