Rhel6 KVM for bridging

Source: Internet
Author: User
From: http://hi.baidu.com/naruto6006/blog/item/a08ec902aebca37b3912bb3a.html

The article on Virtualization is well written. Here, the bridge part of learning...

[Root @ jsb-ylw-5052 ~] # Cd/etc/sysconfig/network-scripts/
[Root @ jsb-ylw-5052 network-Scripts] # cp ifcfg-eth0 ifcfg-br0
[Root @ jsb-ylw-5052 network-Scripts] # Cat ifcfg-eth0
# NVIDIA Corporation mcp77 Ethernet
Device = eth0
Bootproto = static
Hwaddr = 90: E6: BA: 70: B2: 28
Ipaddr = 192.168.50.24
Netmask = 255.255.255.0
Onboot = Yes
Bridge = br0 // link eth0 to br0
[Root @ jsb-ylw-5052 network-Scripts] # Cat ifcfg-br0
# NVIDIA Corporation mcp77 Ethernet
Device = br0
Bootproto = static
Hwaddr = 90: E6: BA: 70: B2: 28
Ipaddr = 192.168.50.24
Netmask = 255.255.255.0
Onboot = Yes

Type = bridge // br0 is a bridge

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.