操作间 10.0.205.201
root@vst-PC:/home/vst/website# traceroute -T 10.0.205.89
traceroute to 10.0.205.89 (10.0.205.89), 30 hops max, 60 byte packets
1 10.17.208.39 (10.17.208.39) 0.255 ms 0.252 ms 0.267 ms
2 192.168.6.254 (192.168.6.254) 3.500 ms 3.491 ms 3.483 ms^C
root@vst-PC:/home/vst/website# traceroute -T 10.0.205.89
traceroute to 10.0.205.89 (10.0.205.89), 30 hops max, 60 byte packets
1 10.17.208.39 (10.17.208.39) 0.353 ms 0.362 ms 0.403 ms
2 192.168.6.254 (192.168.6.254) 2.276 ms 2.314 ms 2.303 ms
3 * * *
4 * * *
5 * * *
6 * * *
7 * * *
8 * * *
9 * * *
10 * * *
11 * * *
12 * * *
13 * * *
14 * * *
15 * * *
16 * * *
17 * * *
18 * * *
19 * * *
20 * * *
21 * * *
22 * * *
23 * * *
24 * * *
25 * * *
26 * * *
27 * * *
28 * * *
29 * * *
30 * * *
root@vst-PC:/home/vst/website# traceroute 10.0.205.89
traceroute to 10.0.205.89 (10.0.205.89), 30 hops max, 60 byte packets
1 10.17.208.39 (10.17.208.39) 0.246 ms 0.249 ms 0.265 ms
2 192.168.6.254 (192.168.6.254) 0.393 ms 0.386 ms 0.378 ms
3 10.0.205.89 (10.0.205.89) 0.320 ms 0.311 ms 0.330 ms
root@vst-PC:/home/vst/website# ssh -vvv 10.0.205.89
OpenSSH_9.7p1 Deepin, OpenSSL 3.2.3-dev
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug2: resolve_canonicalize: hostname 10.0.205.89 is address
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/root/.ssh/known_hosts'
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/root/.ssh/known_hosts2'
debug3: channel_clear_timeouts: clearing
debug3: ssh_connect_direct: entering
debug1: Connecting to 10.0.205.89 [10.0.205.89] port 22.
debug3: set_sock_tos: set socket 3 IP_TOS 0x10
root@vst-PC:/home/vst/website# traceroute 10.0.205.89
traceroute to 10.0.205.89 (10.0.205.89), 30 hops max, 60 byte packets
1 10.17.208.39 (10.17.208.39) 0.436 ms 0.474 ms 0.490 ms
2 192.168.6.254 (192.168.6.254) 0.475 ms 0.462 ms 0.448 ms
3 10.0.205.89 (10.0.205.89) 0.365 ms 0.352 ms 0.377 ms
root@vst-PC:/home/vst/website# traceroute -T 10.0.205.89
traceroute to 10.0.205.89 (10.0.205.89), 30 hops max, 60 byte packets
1 10.17.208.39 (10.17.208.39) 0.300 ms 0.294 ms 0.279 ms
2 192.168.6.254 (192.168.6.254) 0.384 ms 0.373 ms 0.361 ms
3 * * *
4 * * *
5 * * *
6 * * *
7 * * *
8 * * *
9 * * *
root@vst-PC:/home/vst/website# ip r
default via 192.168.23.164 dev wlp0s20f3 proto dhcp src 192.168.23.46 metric 600
10.0.0.0/16 via 10.17.208.39 dev enp45s0
10.17.0.0/16 via 10.17.208.39 dev enp45s0
10.17.202.0/23 dev enp45s0 proto kernel scope link src 10.17.203.243 metric 100
10.17.208.0/24 dev enp45s0 proto kernel scope link src 10.17.208.201 metric 100
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1 linkdown
192.168.23.0/24 dev wlp0s20f3 proto kernel scope link src 192.168.23.46 metric 600
root@vst-PC:/home/vst/website# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.23.164 0.0.0.0 UG 600 0 0 wlp0s20f3
10.0.0.0 10.17.208.39 255.255.0.0 UG 0 0 0 enp45s0
10.17.0.0 10.17.208.39 255.255.0.0 UG 0 0 0 enp45s0
10.17.202.0 0.0.0.0 255.255.254.0 U 100 0 0 enp45s0
10.17.208.0 0.0.0.0 255.255.255.0 U 100 0 0 enp45s0
172.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 docker0
192.168.23.0 0.0.0.0 255.255.255.0 U 600 0 0 wlp0s20f3
jumper 10.0.205.89
root@jumper:~# ip r
default via 10.0.205.94 dev enp1s0 proto static metric 20100
10.0.205.64/27 dev enp1s0 proto kernel scope link src 10.0.205.89 metric 100
root@jumper:~# traceroute 10.17.208.201
traceroute to 10.17.208.201 (10.17.208.201), 30 hops max, 60 byte packets
1 _gateway (10.0.205.94) 0.354 ms 0.333 ms 0.324 ms
2 10.0.207.249 (10.0.207.249) 3.070 ms 3.142 ms 3.185 ms
3 10.0.207.246 (10.0.207.246) 15.552 ms 15.716 ms 15.601 ms
4 172.16.200.138 (172.16.200.138) 21.230 ms 20.686 ms 20.734 ms
5 10.9.1.22 (10.9.1.22) 8.657 ms 9.010 ms 8.756 ms
6 10.17.208.201 (10.17.208.201) 3.734 ms 2.779 ms 2.741 ms
在INF交换机上加了一条静态路由 ,之后搞定了
cumulus@BYD-16GPU-INF01:mgmt:~$ nv set vrf default router static 10.17.208.201/32 via 192.168.6.39
cumulus@BYD-16GPU-INF01:mgmt:~$ nv conf app
applied_and_saved [rev_id: 31]
cumulus@BYD-16GPU-INF01:mgmt:~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.0.207.249 0.0.0.0 UG 20 0 0 swp64
10.0.193.0 192.168.6.39 255.255.255.0 UG 20 0 0 swp62
10.0.194.0 192.168.6.39 255.255.255.0 UG 20 0 0 swp62
10.0.195.0 192.168.6.39 255.255.255.0 UG 20 0 0 swp62
10.0.196.0 192.168.6.39 255.255.255.0 UG 20 0 0 swp62
10.0.203.190 10.0.206.166 255.255.255.255 UGH 20 0 0 vlan190
10.0.203.191 10.0.206.166 255.255.255.255 UGH 20 0 0 vlan190
10.0.203.192 10.0.206.166 255.255.255.255 UGH 20 0 0 vlan190
10.0.203.193 10.0.206.166 255.255.255.255 UGH 20 0 0 vlan190
10.0.203.194 10.0.206.166 255.255.255.255 UGH 20 0 0 vlan190
10.0.203.195 10.0.206.166 255.255.255.255 UGH 20 0 0 vlan190
10.0.203.196 10.0.206.166 255.255.255.255 UGH 20 0 0 vlan190
10.0.203.200 10.0.206.166 255.255.255.255 UGH 20 0 0 vlan190
10.0.203.202 10.0.206.166 255.255.255.255 UGH 20 0 0 vlan190
10.0.203.230 10.0.205.34 255.255.255.255 UGH 20 0 0 vlan110
10.0.205.0 0.0.0.0 255.255.255.224 U 0 0 0 vlan100
10.0.205.32 0.0.0.0 255.255.255.224 U 0 0 0 vlan110
10.0.205.64 0.0.0.0 255.255.255.224 U 0 0 0 vlan120
10.0.205.96 0.0.0.0 255.255.255.224 U 0 0 0 vlan130
10.0.205.128 0.0.0.0 255.255.255.224 U 0 0 0 vlan140
10.0.206.0 0.0.0.0 255.255.255.0 U 0 0 0 vlan190
10.0.207.248 0.0.0.0 255.255.255.248 U 0 0 0 swp64
10.0.208.0 0.0.0.0 255.255.255.0 U 0 0 0 vlan191
10.0.209.1 10.0.205.34 255.255.255.255 UGH 20 0 0 vlan110
10.17.202.0 192.168.6.39 255.255.254.0 UG 20 0 0 swp62
10.17.208.0 10.0.207.249 255.255.255.0 UG 0 0 0 swp64
10.17.208.201 192.168.6.39 255.255.255.255 UGH 20 0 0 swp62
192.168.1.0 10.0.207.249 255.255.255.0 UG 20 0 0 swp64
192.168.6.0 0.0.0.0 255.255.255.0 U 0 0 0 swp62
结果记录
root@jumper:~# ssh 10.17.208.201
The authenticity of host '10.17.208.201 (10.17.208.201)' can't be established.
ECDSA key fingerprint is SHA256:XgkA3QA+z6ra76Vna9iCIVfMDQf0uNMb9/qvXWeIQnw.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '10.17.208.201' (ECDSA) to the list of known hosts.
root@10.17.208.201's password:
root@jumper:~# ssh vst@10.17.208.201
vst@10.17.208.201's password:
验证成功
验证成功
Linux vst-PC 6.6.59-amd64-desktop-hwe #23.01.00.39 SMP PREEMPT_DYNAMIC Tue Nov 5 17:23:22 CST 2024 x86_64
Welcome to Deepin 23 GNU/Linux
* Homepage:https://www.deepin.org/
* Bugreport:https://bbs.deepin.org/
vst@vst-PC:~$ sudo su -
请输入密码:
验证成功
root@vst-PC:~# ip r
10.0.0.0/16 via 10.17.208.39 dev enp45s0
10.17.0.0/16 via 10.17.208.39 dev enp45s0
10.17.202.0/23 dev enp45s0 proto kernel scope link src 10.17.203.243 metric 100
10.17.208.0/24 dev enp45s0 proto kernel scope link src 10.17.208.201 metric 100
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1 linkdown
root@vst-PC:~# ping 10.0.205.2
PING 10.0.205.2 (10.0.205.2) 56(84) bytes of data.
64 bytes from 10.0.205.2: icmp_seq=1 ttl=62 time=0.327 ms
^C
--- 10.0.205.2 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.327/0.327/0.327/0.000 ms
root@vst-PC:~# ssh 10.0.205.89
The authenticity of host '10.0.205.89 (10.0.205.89)' can't be established.
ED25519 key fingerprint is SHA256:ZFGdOP9rRgV3SA0V1W3yikrTWDd8V+8sYxTPgyQu5WQ.
This host key is known by the following other names/addresses:
~/.ssh/known_hosts:10: [hashed name]
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '10.0.205.89' (ED25519) to the list of known hosts.
root@10.0.205.89's password:
root@vst-PC:~# ping 10.0.216.2
PING 10.0.216.2 (10.0.216.2) 56(84) bytes of data.
64 bytes from 10.0.216.2: icmp_seq=1 ttl=56 time=0.553 ms
^C
--- 10.0.216.2 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.553/0.553/0.553/0.000 ms
root@vst-PC:~# ssh 10.0.216.2
root@GPU002:~#