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

The method of connecting Network in linux system

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Preparatory work:

Check the startup of the VMware server, five full open modes

Vmnet8 on mode

Configure the ip address of the VMware switch, here:

Network: VMnet8 (fixed)

Subnet ip:192.168.5.0 (fixed)

Subnet mask: 255.255.255.0 (fixed)

Gateway IP:192.168.5.1

Set VMnet8 address

Configure the ip address of the linux system

Edit mode:

You can view the mac address below, which must be consistent with the linux configuration.

Input: vim / etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0TYPE=EthernetUUID=aa810323-8568-4664-9123-221c3446eb79ONBOOTrouyesNMCONTROLLEDREDUTIONAME6INITnoNAME = "System eth0" HWADDR=00:0c:29:be:cf:7bPEERROUTES=yesIPADDR=192.168.220.250NETMASK=255.255.255.0GATEWAY=192.168.220.1DNS1=8.8.8.8USERCTL=no

Restart the network

Service network restart

These are the details of how to connect to the network in linux. Please pay more attention to other related articles!

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