Centos+bond+bridge+docker (SSH container) Fixed IP Implementation test Environment (II)

Source: Internet
Author: User

To create a bond interface, see:

http://568273240.blog.51cto.com/2921150/1689541

Create bridge interface directly on the configuration file, should Nmtui not succeed.

# cat/etc/sysconfig/network-scripts/ifcfg-bond_connection_1

Device=bond0

Type=bond

Bonding_master=yes

Bootproto=none

Defroute=yes

Ipv4_failure_fatal=no

Ipv6init=no

Name= "Bond Connection 1"

uuid=3787f827-24bd-4a2c-bd24-b9b085bcf002

Onboot=yes

bonding_opts= "updelay=0 resend_igmp=1 use_carrier=1 miimon=100 downdelay=0 xmit_hash_policy=0 primary_reselect=0 fail _over_mac=0 arp_validate=0 mode=802.3ad lacp_rate=0 arp_interval=0 ad_select=0 "

#IPADDR =192.168.1.84

#PREFIX =24

#GATEWAY =192.168.1.1

Bridge= "Bridge0"


# CAT/ETC/SYSCONFIG/NETWORK-SCRIPTS/IFCFG-BRIDGE0

Type= "Bridge"

bootproto= "Static"

ipaddr=192.168.1.84

Prefix=24

gateway=192.168.1.1

Name= "Bridge0"

Device= "Bridge0"

onboot= "Yes"


# systemctl Restart Network

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/72/55/wKioL1XhYObgdtFlAAbl-LB74Q0768.jpg "title=" Bridge3.png "alt=" Wkiol1xhyobgdtflaabl-lb74q0768.jpg "/>

It is recommended to change Bootproto to none or static, not prone to problems.

Bo Master qq:568273240

Blog: http://568273240.blog.51cto.com/

This article is from "A Dream Millennium" blog, please be sure to keep this source http://568273240.blog.51cto.com/2921150/1689547

Centos+bond+bridge+docker (SSH container) Fixed IP Implementation test Environment (II)

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.