OracleLinux6 bridging network card

Source: Internet
Author: User
OracleLinux6 bridging network card recently formatted an old HP of the company for Linux virtualization and installed some test servers. The operating system uses OracleLinux6.4 and the virtual machine uses KVM. The previous installation was successful, but there was a problem when the NIC bridging was set up. The br0 configuration file root was set as before in 5.x.

Oracle Linux 6 bridging NICs recently formatted an old HP of the company for Linux virtualization and installed some test servers. The operating system uses Oracle Linux 6.4 and the virtual machine uses KVM. The previous installation was successful, but there was a problem when the NIC bridging was set up. The br0 configuration file root was set as before in 5.x.

Oracle Linux 6 bridging NICs

Recently, the company formatted an old HP to perform Linux virtualization and install some test servers. The operating system uses Oracle Linux 6.4 and the virtual machine uses KVM.

The previous installation was successful, but there was a problem when I set the NIC bridging, as in the previous 5. the br0 configuration file set in the same way as x is useless at all. If a bridge is connected, an error will occur. The nic and the bridge-Connected Virtual Network Card both report an error.

1

Eth0: Connection activation failed: Master connection not found or invalid

2

Br0: Conncetion activation failed: Failed to determine connection's virtual interface name

However, it should be correct to configure the bridge file. After checking the file online, we can see that it is a problem with NetworkManager.

Stop the NetworkManager service as instructed

1

Service NetworkManager stop

Then execute again

1

Service network restart

Nic bridging configuration successful. I guess many tutorials on the Internet are written in command line-only mode. If the desktop is installed, there may be many different configurations.

Network Card and bridge configuration file

1

Ifcfg-br0

1

TYPE = Bridge

2

BOOTPROTO = static

3

IPADDR = 172.16.10.177

4

NETMASK = 255.255.255.0

5

PREFIX = 24

6

GATEWAY = 172.16.10.1

7

NAME = "System br0"

8

ONBOOT = yes

1

Ifcfg-eth0

01

TYPE = Ethernet

02

# UUID = b67f5325-d513-40da-bc49-f16b473a8f6e

03

ONBOOT = yes

04

NM_CONTROLLED = yes

05

# BOOTPROTO = none

06

IPADDR = 172.16.10.177

07

NETMASK = 255.255.255.0

08

PREFIX = 24

09

GATEWAY = 172.16.10.1

10

DNS1 = 8.8.8.8

11

DEFROUTE = yes

12

20174_failure_fatal = yes

13

IPV6INIT = no

14

NAME = "System eth0"

15

HWADDR = 00: 1B: 78: 3B: 38: 0C

16

BRIDGE = "br0"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.