Traditional Culture Encyclopedia - The 24 Solar Terms - Centos network card multi-IP(VIP)
Centos network card multi-IP(VIP)
Mode 1:
/etc/sysconfig/network-scripts/ifcfg-enp4s0 network card configuration file
Modify the configuration file and add IPADDR 1= IPADDR2=
Use the ip address to view the configured IP. (not visible in ifconfig)
Restart the network:
Restart the network.
View ip address
Mode 2:
Original NIC configuration file:
/etc/sys config/network-scripts/if CFG-etho
DEVICE=eth0: 1
ONBOOT = yes
ONPARENT = yes
IP addr = 192. 168. 102.25 1
Prefix =24
``
Restart the network:
Restart the network.
View ip address:
Ip address add192.168.102.108/24 dev enp4s0.
Ifconfig enp4s0: 0192.168.102.10 The network mask is above 255.255.255.0.
Mode 3: Add ip address
Command: IP addr add192.168.18.18/24 deveth0.
- Previous article:Do Magotan's air intake system and throttle need cleaning?
- Next article:How normal is sagitar idle speed?
- Related articles
- Prevention of damp-heat in summer, clearing soup and drinking external treatment are three-pronged
- Appreciation of the Original and Translation of Xin Qiji's Han Gong Chun beginning of spring
- 14 lavida oil pressure switch displacement 1.4 2. 1-2.9 bar is the pressure switch high or low?
- Ppt version of picture book story and legend of the old beast about the origin of the Spring Festival
- What are the customs around the summer solstice?
- A joke about solar terms
- When were you stung?
- Which is better, Fritillaria stone coffee table or hyperspar coffee table?
- What's the temperature in Guangzhou during the Spring Festival?
- Poems, songs, etc about the four seasons.