Remote management to solve linux using a bridge card can not restart the network problems

Remote management using linux bridging the card can not restart the network

We need to modify the settings bridged LAN some network settings:
1, first check the machine current network connection information, set ip manual virtual machine longer, Gateway (GATEWAY0) must be computer ip gateway, like, ip must be set and the computer's ip in the same network segment. Use vim / etc / sysconfig / network- scripts / ifcfg-enp03s Review

BOOTPROTO=static

IPADDR=10.30.5.225   #设置IP地址

NETMASK=255.255.255.0

GATEWAY=10.30.5.1   #设置网关

DNS1=114.114.114.114   #设置主DNS

2, or configured to use /etc/init.d/network restart service network restart restart.

Published 11 original articles · won praise 0 · Views 116

Guess you like

Origin blog.csdn.net/qq_34172780/article/details/104846350