好湿?好紧?好多水好爽自慰,久久久噜久噜久久综合,成人做爰A片免费看黄冈,机机对机机30分钟无遮挡

主頁 > 知識庫 > Linux 系統(tǒng)雙網(wǎng)卡綁定配置實現(xiàn)

Linux 系統(tǒng)雙網(wǎng)卡綁定配置實現(xiàn)

熱門標簽:企業(yè)400電話辦理哪正規(guī) 地圖標注企業(yè)名稱侵權案件 網(wǎng)站上插入地圖標注內(nèi)容 重慶營銷外呼系統(tǒng)排名 400電話辦理哪家好廠商 繽客網(wǎng)注冊時地圖標注出不來 地圖標注需要現(xiàn)場嗎 鶴壁電銷外呼系統(tǒng)怎么安裝 工廠位置地圖標注

系統(tǒng)版本

[root@ ~]# cat /etc/redhat-release 

CentOS release 6.8 (Final)

[root@ ~]# uname -r

2.6.32-642.6.1.el6.x86_64

網(wǎng)卡說明

eth0   192.168.1.8(服務器外網(wǎng)卡)
eth1
eth2
兩塊服務器網(wǎng)卡(內(nèi)網(wǎng))

關閉防火墻

[root@ ~]# /etc/init.d/iptables stop

[root@ ~]# chkconfig iptables off

關閉selinux

[root@ ~]#setenforce 0 
[root@ ~]#sed -i ‘s/SELINUX=enforcing/SELINUX=disabled/‘ /etc/selinux/config

禁用NetworkManager

[root@ ~]# /etc/init.d/NetworkManager stop

Stopping NetworkManager daemon:      [ OK ]

[root@ ~]# chkconfig NetworkManager off

[root@ ~]# /etc/init.d/network restart

編輯eth1網(wǎng)卡

[root@ ~]# cd /etc/sysconfig/network-scripts/
[root@ network-scripts\]# cat >ifcfg-eth1 <<EOF
DEVICE=eth1
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
MASTER=bind0
EOF

編輯eth2網(wǎng)卡

[root@ network-scripts]# cat >ifcfg-eth2 <<EOF    
DEVICE=eth2
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
MASTER=bind0
EOF

編輯bind0網(wǎng)卡

[root@ network-scripts]# cat >ifcfg-bind0 <<EOF
DEVICE=bind0
TYPE=Ethernet
ONBOOT=yes
BOOTPROTO=none
IPADDR=10.0.0.8
NETMASK=255.255.255.0
GATEWAY=10.0.0.254
IPV6INIT=no
USERCTL=no
EOF

配置bond參數(shù)

[root@ network-scripts]# cat >/etc/modprobe.conf <<EOF
alias bind0 bonding
options bind0 miimon=100 mode=6
EOF

加入開機自啟動(/etc/rc.local)

[root@ network-scripts]# cat >>/etc/rc.local <<EOF

ifenslave bind0 eth1 eth2

EOF

重啟網(wǎng)絡服務

[root@LVS-2 network-scripts]# service network restart

Shutting down interface eth0:               [ OK ]

Shutting down interface eth1:               [ OK ]

Shutting down interface eth2:               [ OK ]

Shutting down loopback interface:            [ OK ]

Bringing up loopback interface:              [ OK ]

Bringing up interface bind0: WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.

WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.

Determining if ip address 10.0.0.8 is already in use for device bind0..[ OK ]

Bringing up interface eth0: Determining if ip address 192.168.1.8 is already in use for device eth0...                          [ OK ]

Bringing up interface eth1: RTNETLINK answers: File exists     [ OK ]

Bringing up interface eth2: RTNETLINK answers: File exists [ OK ]

配置使綁定立即生效

[root@LVS-2 network-scripts]# ifenslave bind0 eth1 eth2

測試聯(lián)通

[root@LVS-2 network-scripts]# ping 10.0.0.8

PING 10.0.0.8 (10.0.0.8) 56(84) bytes of data.

64 bytes from 10.0.0.8: icmp_seq=1 ttl=64 time=0.089 ms

64 bytes from 10.0.0.8: icmp_seq=2 ttl=64 time=0.046 ms

^C

--- 10.0.0.8 ping statistics ---

2 packets transmitted, 2 received, 0% packet loss, time 1921ms

rtt min/avg/max/mdev = 0.046/0.067/0.089/0.023 ms

此時會發(fā)現(xiàn)系統(tǒng)多一個網(wǎng)卡

[root@LVS-2 network-scripts]# ifconfig bind0

bind0 

Link encap:Ethernet HWaddr 00:0C:29:CC:9B:5 

inet addr:10.0.0.8 Bcast:10.0.0.255 Mask:255.255.255.0

inet6 addr: fe80::20c:29ff:fecc:9b55/64 Scope:LinkUP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1

RX packets:151 errors:0 dropped:0 overruns:0 frame:0

TX packets:3 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0 

RX bytes:11826 (11.5 KiB) TX bytes:258 (258.0 b)

到此這篇關于Linux 系統(tǒng)雙網(wǎng)卡綁定配置實現(xiàn)的文章就介紹到這了,更多相關Linux 雙網(wǎng)卡綁定配置內(nèi)容請搜索腳本之家以前的文章或繼續(xù)瀏覽下面的相關文章希望大家以后多多支持腳本之家!

標簽:96 克拉瑪依 日照 棗莊 鹽城 常州 渭南 東莞

巨人網(wǎng)絡通訊聲明:本文標題《Linux 系統(tǒng)雙網(wǎng)卡綁定配置實現(xiàn)》,本文關鍵詞  Linux,系統(tǒng),雙,網(wǎng)卡,綁定,;如發(fā)現(xiàn)本文內(nèi)容存在版權問題,煩請?zhí)峁┫嚓P信息告之我們,我們將及時溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡,涉及言論、版權與本站無關。
  • 相關文章
  • 下面列出與本文章《Linux 系統(tǒng)雙網(wǎng)卡綁定配置實現(xiàn)》相關的同類信息!
  • 本頁收集關于Linux 系統(tǒng)雙網(wǎng)卡綁定配置實現(xiàn)的相關信息資訊供網(wǎng)民參考!
  • 推薦文章
    主站蜘蛛池模板: 日本精品一区二区三区四区的功能| xxxx免费大片| 白嫩丰满大乳美女免费视频| 国产精品无码主播在线观看 | 97福利电影| 瞒着老公加班的HR中字| 久久精品国产99国产精品澳门 | 继母继妹| 成人深夜爽文小说网站| 中国女人丰满毛片ⅩXXXX| 99热国产东北大屁股熟女| 男狂揉吻胸视频60分钟| 女人与zzzooooxxxxwsa| 久久www免费人成看国产片| 蜜月av蜜臀av色欲av影院| 宝贝腿开大点我添添公漫画 | aka-019シロウト制服美人 01第03集| 色多多免费视频观看区一区| 婷婷久久五月色综合小说| 成品网站NIKE源码1688免费| 扒开粉嫩细缝喷白浆sex视频| 1000部又爽又黄的做黄禁片| 女人十八进入一及黄特别片| 色戒2卫生间做爰| 老司机精品视频免费| 浦城县| 一把扯下肚兜 含着双乳| 91?口爆一区二区三区在线| 技女影院| 国产男女爽爽爽爽爽视频| 欧美男男gayxx| 黄色片一级黄色片| 精品人妻无码一区二区出白浆潮喷| 亚洲高清一二区二区三区| 高H亲子乱H| 欧美重口变态yXXXcmS| 亚洲午夜精品专区国产| 好大好硬?用力?深一点古代| 伦在线| 新员工李采潭| 男男污视频在线观看|