Windows 10:
Portanto, estou conectado via Wi-Fi a um gateway e conectado a uma LAN por cabo. Estou tentando enviar uma mensagem COAP com o Copper (através do Discover) para um determinado endereço "coap: // [fd34 :: 0017: 0d00: 0030: e3c8]: 5683 /". Este endereço está atrás do gateway, então a mensagem deve ser roteada por lá. Se a LAN estiver desconectada, as mensagens chegarão. Se a LAN está conectada, eles não fazem isso e o Wireshark revela que eles apenas são enviados pela interface Ethernet. Então é um pouco estranho. Não tenho certeza sobre como proceder. Eu olhei para as tabelas de roteamento, mas não parece errado.
Resultados do IPCONFIG:
Ethernet adapter Ethernet:
Connection-specific DNS Suffix . : dyn.cs.kuleuven.be
IPv6 Address. . . . . . . . . . . : 2a02:2c40:500:a006:919a:2a07:1a4d:d8bc
Temporary IPv6 Address. . . . . . : 2a02:2c40:500:a006:4d8a:4776:6f5c:71f3
Link-local IPv6 Address . . . . . : fe80::919a:2a07:1a4d:d8bc%11
IPv4 Address. . . . . . . . . . . : 134.58.46.173
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : fe80::100%11
Wireless LAN adapter Wi-Fi:
Connection-specific DNS Suffix . : versasense.lan
IPv6 Address. . . . . . . . . . . : fd35::f86e:85cf:d257:6ba9
Temporary IPv6 Address. . . . . . : fd35::21d6:a860:7d6:cb98
Link-local IPv6 Address . . . . . : fe80::f86e:85cf:d257:6ba9%18
IPv4 Address. . . . . . . . . . . : 192.168.42.7
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : fe80::fedb:b3ff:fe98:b6f%18
192.168.42.1
Resultado da impressão da rota: Tabelas de roteamento:
C:\Users\SvenA>route PRINT
===========================================================================
Interface List
11...34 e6 d7 84 4d c7 ......Intel(R) Ethernet Connection I218-LM
19...ac fd ce 27 9d 7d ......Microsoft Wi-Fi Direct Virtual Adapter
21...00 50 56 c0 00 01 ......VMware Virtual Ethernet Adapter for VMnet1
16...00 50 56 c0 00 08 ......VMware Virtual Ethernet Adapter for VMnet8
10...00 ff 50 f0 98 3b ......TAP-Windows Adapter V9
18...ac fd ce 27 9d 7c ......Intel(R) Dual Band Wireless-AC 7260
8...ac fd ce 27 9d 80 ......Bluetooth Device (Personal Area Network)
1...........................Software Loopback Interface 1
44...00 00 00 00 00 00 00 e0 Microsoft Teredo Tunneling Adapter
===========================================================================
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 134.58.46.254 134.58.46.173 25
127.0.0.0 255.0.0.0 On-link 127.0.0.1 331
127.0.0.1 255.255.255.255 On-link 127.0.0.1 331
127.255.255.255 255.255.255.255 On-link 127.0.0.1 331
134.58.46.0 255.255.255.0 On-link 134.58.46.173 281
134.58.46.173 255.255.255.255 On-link 134.58.46.173 281
134.58.46.255 255.255.255.255 On-link 134.58.46.173 281
192.168.80.0 255.255.255.0 On-link 192.168.80.1 291
192.168.80.1 255.255.255.255 On-link 192.168.80.1 291
192.168.80.255 255.255.255.255 On-link 192.168.80.1 291
192.168.203.0 255.255.255.0 On-link 192.168.203.1 291
192.168.203.1 255.255.255.255 On-link 192.168.203.1 291
192.168.203.255 255.255.255.255 On-link 192.168.203.1 291
224.0.0.0 240.0.0.0 On-link 127.0.0.1 331
224.0.0.0 240.0.0.0 On-link 192.168.203.1 291
224.0.0.0 240.0.0.0 On-link 192.168.80.1 291
224.0.0.0 240.0.0.0 On-link 134.58.46.173 281
255.255.255.255 255.255.255.255 On-link 127.0.0.1 331
255.255.255.255 255.255.255.255 On-link 192.168.203.1 291
255.255.255.255 255.255.255.255 On-link 192.168.80.1 291
255.255.255.255 255.255.255.255 On-link 134.58.46.173 281
===========================================================================
Persistent Routes:
None
IPv6 Route Table
===========================================================================
Active Routes:
If Metric Network Destination Gateway
11 281 ::/0 fe80::100
1 331 ::1/128 On-link
11 281 2a02:2c40:500:a006::/64 On-link
11 281 2a02:2c40:500:a006:4d8a:4776:6f5c:71f3/128
On-link
11 281 2a02:2c40:500:a006:919a:2a07:1a4d:d8bc/128
On-link
11 281 bbbb::/64 2a02:2c40:500:a006:80ad:8083:d298:f1dd
21 291 fe80::/64 On-link
16 291 fe80::/64 On-link
11 281 fe80::/64 On-link
21 291 fe80::c85:8aea:aefd:b6d8/128
On-link
11 281 fe80::919a:2a07:1a4d:d8bc/128
On-link
16 291 fe80::d9a8:b7a5:237d:178b/128
On-link
1 331 ff00::/8 On-link
21 291 ff00::/8 On-link
16 291 ff00::/8 On-link
11 281 ff00::/8 On-link
===========================================================================
Persistent Routes:
If Metric Network Destination Gateway
0 4294967295 bbbb::/64 2a02:2c40:500:a006:80ad:8083:d298:f1dd
===========================================================================