欢迎来到天天文库
浏览记录
ID:15389928
大小:51.50 KB
页数:11页
时间:2018-08-03
《linux双网卡绑定及防漂移》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、问题:四川Greenplum服务器双网卡绑定,重启后网卡组IP漂移到另一网卡组,掉包率严重,导致gp数据库无法正常使用。处理办法:在/etc/sysconfig/network-scripts/ifcfg-ethx中添加网卡mac地址,使其无论先后启动都不会发生IP漂移。结果:服务器正常工作。处理过程如下:[root@master~]#ifconfig-abond0Linkencap:EthernetHWaddr00:15:17:A7:F8:BBinetaddr:192.168.16.101Bcast:19
2、2.168.16.255Mask:255.255.255.0inet6addr:fe80::215:17ff:fea7:f8bb/64Scope:LinkUPBROADCASTRUNNINGMASTERMULTICASTMTU:1500Metric:1RXpackets:278192errors:0dropped:0overruns:0frame:0TXpackets:5290errors:0dropped:0overruns:0carrier:0collisions:0txqueuelen:0RXbyte
3、s:31166606(29.7MiB)TXbytes:556330(543.2KiB)bond1Linkencap:EthernetHWaddr00:15:17:A7:F8:BAinetaddr:133.37.253.108Bcast:133.37.253.255Mask:255.255.255.0inet6addr:fe80::215:17ff:fea7:f8ba/64Scope:LinkUPBROADCASTRUNNINGMASTERMULTICASTMTU:1500Metric:1RXpackets:
4、297026errors:0dropped:0overruns:0frame:0TXpackets:21969errors:0dropped:0overruns:0carrier:0collisions:0txqueuelen:0RXbytes:31633832(30.1MiB)TXbytes:3147058(3.0MiB)eth0Linkencap:EthernetHWaddr00:15:17:A7:F8:BAUPBROADCASTRUNNINGSLAVEMULTICASTMTU:1500Metric:1
5、RXpackets:297025errors:0dropped:0overruns:0frame:0TXpackets:21670errors:0dropped:0overruns:0carrier:0collisions:0txqueuelen:1000RXbytes:31633772(30.1MiB)TXbytes:3107804(2.9MiB)Memory:fdfa0000-fdfc0000eth1Linkencap:EthernetHWaddr00:15:17:A7:F8:BAUPBROADCAST
6、SLAVEMULTICASTMTU:1500Metric:1RXpackets:1errors:0dropped:0overruns:0frame:0TXpackets:299errors:0dropped:0overruns:0carrier:0collisions:0txqueuelen:1000RXbytes:60(60.0b)TXbytes:39254(38.3KiB)Memory:fd960000-fd980000eth2Linkencap:EthernetHWaddr00:15:17:A7:F8
7、:BBUPBROADCASTRUNNINGSLAVEMULTICASTMTU:1500Metric:1RXpackets:274623errors:0dropped:0overruns:0frame:0TXpackets:2643errors:0dropped:0overruns:0carrier:0collisions:0txqueuelen:1000RXbytes:29906462(28.5MiB)TXbytes:259526(253.4KiB)Memory:fdfe0000-fe000000eth3L
8、inkencap:EthernetHWaddr00:15:17:A7:F8:BBUPBROADCASTRUNNINGSLAVEMULTICASTMTU:1500Metric:1RXpackets:3569errors:0dropped:0overruns:0frame:0TXpackets:2647errors:0dropped:0overruns:0carrier:0collisions:0txqueuelen
此文档下载收益归作者所有