服务热线
4006961869
IB-switch-7800 [standalone: master] > enable IB-switch-7800 [standalone: master] # configure terminal IB-switch-7800 [standalone: master] (config) # ib sm IB-switch-7800 [standalone: master] (config) # ib sm virt enable IB-switch-7800 [standalone: master] (config) # ib sm virt-max-ports-in-process 0 IB-switch-7800 [standalone: master] (config) # write memory
gateway-815056 > enable gateway-815056 # configure terminal gateway-815056 (config) # interface ib port-channel 1 ip address 1.1.1.1 /24 gateway-815056 (config) # interface ib port-channel 1 virtual ip address 1.1.1.3 /24 gateway-815056 (config) # interface ethernet port-channel 1 ip address 2.2.2.2 /24 gateway-815056 (config) # ip route 0.0.0.0 0.0.0.0 2.2.2.1 gateway-815056 (config) # write memory
onyx1 [standalone: master] > enable onyx1 [standalone: master] # configure terminal onyx1 [standalone: master] (config) # vlan 2 onyx1 [standalone: master] (config vlan 2) # exit onyx1 [standalone: master] (config) # interface vlan 2 onyx1 [standalone: master] (config interface vlan 2) # ip address 2.2.2.1 /24 onyx1 [standalone: master] (config interface vlan 2) # no shutdown onyx1 [standalone: master] (config interface vlan 2) # exit onyx1 [standalone: master] (config) # ip route vrf default 1.1.1.0 /24 2.2.2.2 onyx1 [standalone: master] (config) # interface ethernet 1/22 switchport access vlan 2 onyx1 [standalone: master] (config) # interface port-channel 1 onyx1 [standalone: master] (config interface port-channel 1) # exit onyx1 [standalone: master] (config) # interface ethernet 1/21 channel-group 1 mode active onyx1 [standalone: master] (config) # write memory
[root@node4 ~]# cat /etc/sysconfig/network-scripts/ifcfg-ib0 TYPE=InfiniBand BOOTPROTO=none NAME=ib0 DEVICE=ib0 ONBOOT=yes IPADDR=1.1.1.2 NETMASK=255.255.255.0 GATEWAY=1.1.1.1以太网卡:
[root@node2 ~]# cat /etc/sysconfig/network-scripts/ifcfg-ens1 TYPE=Ethernet BOOTPROTO=none NAME=ens1 DEVICE=ens1 ONBOOT=yes IPADDR=2.2.2.3 NETMASK=255.255.255.0 GATEWAY=2.2.2.1
IB-switch-7800 [standalone: master] # show ib sm enable IB-switch-7800 [standalone: master] # show ib sm virt-max-ports-in-process 0
gateway-815056 (config) # show interfaces ib port-channel 1 Po1: Admin state : Enabled Operational state : Up Description : GUID : 0014:0500:0a56:5000 MTU : 1500 Active links : 1 X 100G IPv4 address: 1.1.1.1/24 Virtual IPv4 address: 1.1.1.3/24 Broadcast address: 1.1.1.255 Rx: packets : 719970 bytes : 63861760 error packets: 0 Tx: packets : 32262598 bytes : 49548128756 error packets: 0 gateway-815056 # show interfaces ethernet port-channel 1 Po1: Admin state : Enabled Operational state: Up Description : Mac address : B8:CE:F6:68:7A:F3 MTU : 1500 Actual speed : 1 X 100G IPv4 address: 2.2.2.2/24 Broadcast address: 2.2.2.255 Rx: packets : 9724 bytes : 955430 error packets: 0 Tx: packets : 4786 bytes : 505110 error packets: 0
onyx1 [standalone: master] (config) # show interfaces port-channel 1 Po1: Admin state : Enabled Operational state : Up Description : N/A Mac address : N/A MTU : 1500 bytes (Maximum packet size 1522 bytes) lacp-individual mode: Disabled Flow-control : receive off send off Actual speed : 1 X 100G Width reduction mode: Not supported Switchport mode : access MAC learning mode : Enabled Forwarding mode : inherited cut-through
[root@node4 ~]# ibdev2netdev mlx5_0 port 1 ==> ib0 (Up) [root@node4 ~]# ifconfig ib0 ib0: flags=4163 mtu 2044 inet 1.1.1.2 netmask 255.255.255.0 broadcast 1.1.1.255 inet6 fe80::e42:a103:b4:d89c prefixlen 64 scopeid 0x20 RX packets 32256173 bytes 49803364919 (46.3 GiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 717535 bytes 43081151 (41.0 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
[root@node2 ~]# ibdev2netdev mlx5_0 port 1 ==> ens1 (Up) [root@node2 ~]# ifconfig ens1 ens1: flags=4163 mtu 1500 inet 2.2.2.3 netmask 255.255.255.0 broadcast 2.2.2.255 inet6 fe80::e42:a1ff:feb6:43c6 prefixlen 64 scopeid 0x20 ether 0c:42:a1:b6:43:c6 txqueuelen 1000 (Ethernet) RX packets 717716 bytes 47404900 (45.2 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 32260418 bytes 48838322664 (45.4 GiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
[root@node4 ~]# ping 1.1.1.1 PING 1.1.1.1 (1.1.1.1) 56(84) bytes of data. 64 bytes from 1.1.1.1: icmp_seq=1 ttl=64 time=0.133 ms 64 bytes from 1.1.1.1: icmp_seq=2 ttl=64 time=0.068 ms 64 bytes from 1.1.1.1: icmp_seq=3 ttl=64 time=0.063 ms 64 bytes from 1.1.1.1: icmp_seq=4 ttl=64 time=0.052 ms ^C --- 1.1.1.1 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 68ms rtt min/avg/max/mdev = 0.052/0.079/0.133/0.031 ms [root@node4 ~]# ping 2.2.2.1 PING 2.2.2.1 (2.2.2.1) 56(84) bytes of data. 64 bytes from 2.2.2.1: icmp_seq=1 ttl=64 time=0.144 ms 64 bytes from 2.2.2.1: icmp_seq=2 ttl=64 time=0.178 ms 64 bytes from 2.2.2.1: icmp_seq=3 ttl=64 time=0.170 ms ^C --- 2.2.2.1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 89ms rtt min/avg/max/mdev = 0.144/0.164/0.178/0.014 ms [root@node4 ~]# ping 2.2.2.2 PING 2.2.2.2 (2.2.2.2) 56(84) bytes of data. 64 bytes from 2.2.2.2: icmp_seq=1 ttl=64 time=0.081 ms 64 bytes from 2.2.2.2: icmp_seq=2 ttl=64 time=0.063 ms 64 bytes from 2.2.2.2: icmp_seq=3 ttl=64 time=0.062 ms ^C --- 2.2.2.2 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 53ms rtt min/avg/max/mdev = 0.062/0.068/0.081/0.012 ms [root@node4 ~]# ping 2.2.2.3 PING 2.2.2.3 (2.2.2.3) 56(84) bytes of data. 64 bytes from 2.2.2.3: icmp_seq=1 ttl=63 time=0.108 ms 64 bytes from 2.2.2.3: icmp_seq=2 ttl=63 time=0.071 ms 64 bytes from 2.2.2.3: icmp_seq=3 ttl=63 time=0.055 ms 64 bytes from 2.2.2.3: icmp_seq=4 ttl=63 time=0.069 ms ^C --- 2.2.2.3 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 76ms rtt min/avg/max/mdev = 0.055/0.075/0.108/0.022 ms
[root@node2 ~]# ping 2.2.2.1 PING 2.2.2.1 (2.2.2.1) 56(84) bytes of data. 64 bytes from 2.2.2.1: icmp_seq=1 ttl=64 time=0.141 ms 64 bytes from 2.2.2.1: icmp_seq=2 ttl=64 time=0.136 ms ^C --- 2.2.2.1 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 999ms rtt min/avg/max/mdev = 0.136/0.138/0.141/0.012 ms [root@node2 ~]# ping 2.2.2.2 PING 2.2.2.2 (2.2.2.2) 56(84) bytes of data. 64 bytes from 2.2.2.2: icmp_seq=1 ttl=63 time=0.068 ms 64 bytes from 2.2.2.2: icmp_seq=2 ttl=63 time=0.056 ms ^C --- 2.2.2.2 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 999ms rtt min/avg/max/mdev = 0.056/0.062/0.068/0.006 ms [root@node2 ~]# ping 1.1.1.1 PING 1.1.1.1 (1.1.1.1) 56(84) bytes of data. 64 bytes from 1.1.1.1: icmp_seq=1 ttl=63 time=0.073 ms From 2.2.2.1 icmp_seq=1 Redirect Host(New nexthop: 2.2.2.2) From 2.2.2.1: icmp_seq=1 Redirect Host(New nexthop: 2.2.2.2) 64 bytes from 1.1.1.1: icmp_seq=2 ttl=63 time=0.052 ms From 2.2.2.1 icmp_seq=2 Redirect Host(New nexthop: 2.2.2.2) From 2.2.2.1: icmp_seq=2 Redirect Host(New nexthop: 2.2.2.2) 64 bytes from 1.1.1.1: icmp_seq=3 ttl=63 time=0.050 ms From 2.2.2.1 icmp_seq=3 Redirect Host(New nexthop: 2.2.2.2) From 2.2.2.1: icmp_seq=3 Redirect Host(New nexthop: 2.2.2.2) ^C --- 1.1.1.1 ping statistics --- 3 packets transmitted, 3 received, +3 errors, 0% packet loss, time 2000ms rtt min/avg/max/mdev = 0.050/0.058/0.073/0.012 ms [root@node2 ~]# ping 1.1.1.2 PING 1.1.1.2 (1.1.1.2) 56(84) bytes of data. 64 bytes from 1.1.1.2: icmp_seq=1 ttl=63 time=0.116 ms From 2.2.2.1 icmp_seq=1 Redirect Host(New nexthop: 2.2.2.2) From 2.2.2.1: icmp_seq=1 Redirect Host(New nexthop: 2.2.2.2) 64 bytes from 1.1.1.2: icmp_seq=2 ttl=63 time=0.085 ms From 2.2.2.1 icmp_seq=2 Redirect Host(New nexthop: 2.2.2.2) From 2.2.2.1: icmp_seq=2 Redirect Host(New nexthop: 2.2.2.2) 64 bytes from 1.1.1.2: icmp_seq=3 ttl=63 time=0.089 ms From 2.2.2.1 icmp_seq=3 Redirect Host(New nexthop: 2.2.2.2) From 2.2.2.1: icmp_seq=3 Redirect Host(New nexthop: 2.2.2.2) ^C --- 1.1.1.2 ping statistics --- 3 packets transmitted, 3 received, +3 errors, 0% packet loss, time 1999ms rtt min/avg/max/mdev = 0.085/0.096/0.116/0.017 ms
24小时客服服务热线: 4006961869
联系我们
Copyright © 2002-2020 北京华杭科技有限公司 版权所有 网站地图
地址:北京市石景山区双峪路63-2号院办公楼A座二层209-16 网站备案号:京ICP备2022034285号-1