How to enable other Enis when multiple Enis are restarted in Linux?
Source: Internet
Author: User
Linux multi-Nic restart does not automatically activate other NICs solution because the server usually has multiple NICs, the older server will inevitably be exhausted, the system automatically activates eth0 by default, if you want to activate another network card, let's look at the following. Run www.2cto.com # vi/etc/rc. local in... linux multi-Nic restart does not automatically activate other NICs solution because the server usually has multiple NICs, the older server will inevitably be exhausted, the system automatically activates eth0 by default, if you want to activate another network card, let's look at the following. Run www.2cto.com # vi/etc/rc. local and add ifup eth1 route add-net 192.168.1.200/24 gw 192.168.1.1 dev eth1. 192.168.1.200 is the server's static IP address, and 192.168.1.1 is the gateway. If there are multiple, add them down.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service