CentOS 6.5 Bridge configuration

Source: Internet
Author: User

1. Enter the network parameters script directory

[Email protected] ~]# cd/etc/sysconfig/network-scripts/

2. Edit the following three files

* IFCFG-BR0

Device=br0
Onboot=yes
Type=bridge
Bootproto=static
ipaddr=192.168.0.250
netmask=255.255.255.0
Stp=on
Delay=0

*ifcfg-eth0

Device=eth0
Type=ethernet
Onboot=yes
Nm_controlled=yes
Bootproto=static
ipaddr=0.0.0.0
Bridge=br0
Ipv6init=no
Userctl=no

*ifcfg-eth1

Device=eth1
Type=ethernet
Onboot=yes
Nm_controlled=yes
Bootproto=static
ipaddr=0.0.0.0
Bridge=br0
Ipv6init=no
Userctl=no

3, before this shutdown networkmanager (very large probability will cause interference to the configuration, so the strong column is recommended to close)

Service NetworkManager Stop

Chkconfig NetworkManager off

Chkconfig--del NetworkManager

This article is from the "Wind Up! billows!" blog, be sure to keep this source http://superzxh.blog.51cto.com/27819/1671520

CentOS 6.5 Bridge configuration

Related Article

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.