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 network card eth0 configuration bridging normal restart the network card can not start

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

Share

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

The bridging configuration of the network card eth0 due to the installation of kvm virtualization was normal at that time. Later, it was found that the network card could not be restarted for no reason.

# less ifcfg-br0

DEVICE=br0

HWADDR=FC:15:B4:28:B9:30

# TYPE=Ethernet

UUID=43fc66da-809b-4006-845d-dbeff816fb9f

ONBOOT=yes

NM_CONTROLLED=yes

BOOTPROTO=static

IPADDR=192.168.0.90

NETMASK=255.255.255.0

GATEWAY=192.168.0.254

DNS1=114.114.114.114

DNS2=223.5.5.5

# less ifcfg-eth0

DEVICE=eth0

HWADDR=FC:15:B4:28:B9:30

TYPE=Ethernet

# UUID=43fc66da-809b-4006-845d-dbeff816fb9f

ONBOOT=yes

NM_CONTROLLED=yes

BOOTPROTO=static

# IPADDR=192.168.0.90

# NETMASK=255.255.255.0

# GATEWAY=192.168.0.254

BRIDGE=br0

# TYPE=Bridge

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