pstavirs / ostinato

Ostinato - Packet/Traffic Generator and Analyzer
https://ostinato.org
755 stars 136 forks source link

Resolve not automatically started when opening a session #311

Open ghost opened 4 years ago

ghost commented 4 years ago

Ostinato 1.0/1.1

When opening a session, which uses device emulation, an error is shown in the log, that mac resolve failed.

Timestamp   Level   Port    Message 
12:10:21.336    Error   1-* Port 0: Destination mac resolve failed for one or more streams - possible ARP/ND failure

The device information window shows no ARP/NDP resolution.

Mac         Vlans   IPv4 Address    IPv4 Gateway    IPv6 Address    IPv6 Gateway    ARP NDP 
6C:00:01:19:40:EB   None    10.1.1.100/24   10.1.1.1    2001:1::100/64  2001:1::1   0/0 0/0

Manually starting the ARP/ND resolution fixes the issue. It would be nice, when ARP/ND resolution is automatically started, when a session is opened.

pstavirs commented 4 years ago

@b-ehlers Do you know if ARP/ND was not tried or whether it was tried and it failed? Can you start a wireshark capture on that port before you open session to confirm?

btw nice to see the new v1.1 copy paste feature in action in this issue :-)

ghost commented 4 years ago

The PCAP trace (zipped): noresolve_session_open.zip I opened the session at 14:55:37 CET / 12:55:37 UTC, the PCAP trace shows no traffic from Ostinato. At 14:56:12 CET / 12:56:12 UTC I manually started the MAC/ND resolution.

The session file (zipped): test_ossn.zip

And yes, I really like the new cut/copy/paste feature.