1, by copying an ifcfg-eth0:1 configuration file to achieve: cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth0:1 Vi /etc/sysconfig/network-scripts/ifcfg-eth0:1 # Intel Corporation 82566DC Gigabit Network Connection DEVICE=eth0 BOOTPROTO=none BROADCAST=218.95.37.255 HWADDR=00:19:d1:34:2d:b8 IPADDR=218.95. 37.250 NETMASK=255.255.255.192 NETWORK=218.95.37.192 ONBOOT=yes GATEWAY=218.95.37.193 TYPE=Ethernet ifconfig eht0:1 up 2. Temporary mode (lost after reboot): ifconfig eth0:1 192.168.0.2 netmask 255.255.255.0 Up 3, script mode implementation: #!/bin/sh eth01=/etc/sysconfig/network-scripts/ifcfg-eth0:1 touch $eth01 echo DEVICE=eth0:1”$eth01 echo BOOTPROTO=none”$eth01 echo IPADDR =192.168.40.76"$eth01 echo NETMASK=255.255.255.0"$eth01 echo ONBOOT =yes"$eth01 /etc/init.d/network restart
zh-CN"],null,[0.98737341],zh-CN"]]]
Kobject, kset is the basic structure of the device model. The device model uses these two structure
Basic principle After the mysql installation is successful, the default is to not open the remote a
STM32F103VCT6 comes with two 12-bit DAC, DAC conversion speed has not been found, some people say th
Under the Linux partition is more troublesome, the more convenient tool is called fdiskWe can use t
How to let CentOS ban ping (anti-PING)
Interprocess communication learning summary
Exclude Linux server failures with strace
Linux Tutorial: Modifying the Usage of the File Permission Command chmod
Shorewall firewall installation and configuration method under Linux
Linux operating system timing task system
Hibernate uses the oracle's sequence to generate the primary key
How to find the win7 system compatibility mode?
User-organized Vista firewall usage tips
Windows XP can't go online troubleshooting
How to speed up OneDrive upload speed with Windows8.1 update
How to upgrade management template files
How does the win10 system turn on voice activation Xiaona Cortana?
How to get administrator rights for win7 system
Win7 system network error 733 how to solve
How to turn off SSD hard disk indexing service under Windows 8 system
How to recover the computer after the failure of Win10 preview