Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Linux dual network card configuration

2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

1 check the network parameters, except the virtual network card and the loop network card, there is only one network card ens33

2 add a network card to the virtual machine to view the network parameters

The network card was added successfully because the network card mode is net mode, and the dhcp service automatically provides the network card address. When we need to configure the network card address manually, we will find that there is no ready-made configuration file for ens33.

3 the following describes how to configure manually, set the Nic mode to host-only mode, and turn off the dhcp mode of vmnet

4 check the network parameters. Ens33 and ens36 do not have an address. Configure ens33 address first.

5. Ens33 configuration is successful. Ens36 has no configuration file. Copy the configuration file of ens33 to make changes.

6 change the ens36 configuration file, note that the name of ens33 should be changed to ens36,UID and cannot be the same. It can be deleted directly and automatically recognized by the system.

7 restart the network service, check the network parameters, and configure successfully

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report