Home > OS >  Why do I always wrong Linux network
Why do I always wrong Linux network

Time:09-16

Everyone take a look at the following this figure

This is right, you have a look at my

Even if I change the Settings, determine and application can save point, an open or like me, then don't up at the back of the experiment, can own

CodePudding user response:

Then the network properties, also shows not connected

CodePudding user response:

Stick figure hey, brothers:
1. IP add a look at the network information, can be posted to analyse the
2. Analyze your virtual machine used in the experiment network model which is a kind of practical, clearly see v1 is not enabled

CodePudding user response:

The VM setup NAT network:

According to the image Settings, select NAT mode, and then set himself a subnet, and then click the NAT Settings, set up the gateway address

The last edit your network adapter configuration file, in the subnet, you set the gateway to configure, restart the network
 
Vim/etc/sysconfig/network - scripts/ifcfg - ens33

TYPE=Ethernet
BOOTPROTO=static
NAME=ens33
DEVICE=ens33
ONBOOT=yes
IPADDR=192.168.100.2
GATEWAY=192.168.100.254
The PREFIX=24
DNS1=8.8.8.8
DNS2=114.114.114.114



 
Systemctl restart network


With IP a final look at or ifconfig to see if your network card to obtain the correct IP address
  • Related