配置增强高速网卡(Ubuntu系列) ping 10.10.10.102 I bond1 PING 10.10.10.102 (10.10.10.102) from 10.10.10.103 bond1: 56(84) bytes of data. 64 bytes from 10.10.10.102: icmpseq1 ttl64 time0.681 ms 64 bytes from 10.10.10.102: icmpseq2 ttl64 time0.035 ms 64 bytes from 10.10.10.102: icmpseq3 ttl64 time0.031 ms 64 bytes from 10.10.10.102: icmpseq4 ttl64 time0.030 ms ^C 10.10.10.102 ping statistics 4 packets transmitted, 4 received, 0% packet loss, time 3342ms 如果需要配置VLAN,则按照以下步骤配置 步骤1 根据需要配置的VLAN,配置相应VLAN子接口。假设VLAN为316,执行以下命令,编辑“/etc/network/interfaces.d/60cloudinit.cfg”。 vim /etc/network/interfaces.d/60cloudinit.cfg 按以下格式编辑: auto p4p1 iface p4p1 inet manual bondmode 1 bondmaster bond1 bondmiimon 100 mtu 8888 auto p4p2 iface p4p2 inet manual bondmode 1 bondmaster bond1 bondmiimon 100 mtu 8888 auto bond1 iface bond1 inet static bondmiimon 100 bondslaves none bondmode 1 address 10.10.10.103 netmask 255.255.255.0 hwaddress 40:7d:0f:52:e3:a9 mtu 8888 auto bond1.316 iface bond1.316 inet static bondmiimon 100 bondslaves none bondmode 1 address 10.10.0.103 netmask 255.255.255.0 hwaddress 40:7d:0f:52:e3:a9 mtu 8888 步骤2 执行以下命令,启动bond网卡VLAN子接口。 ifup bond1.316 步骤3 待其他物理机配置完成后,互相ping对端增强高速网络VLAN子接口的同网段IP,检查是否可以ping通。