quic-interop / quic-network-simulator

ns3-based network simulator for QUIC testing
Other
156 stars 45 forks source link

Address collision issue #129

Open chidambar2000 opened 6 months ago

chidambar2000 commented 6 months ago

Hi @marten-seemann ,

I have configured tcp-cross-traffic to run over the network shaper between client and server, but it fails stating that

"[2Ksim | 2024-05-09T17:26:13.842535476Z Using scenario: tcp-cross-traffic --delay=15ms --bandwidth=10Mbps --queue=25 sim | 2024-05-09T17:26:13.930512428Z msg="Ipv4AddressGeneratorImpl::Add(): Address Collision: 193.167.50.1", +0.000000000s -1 file=/ns3/src/internet/model/ipv4-address-generator.cc, line=384 sim | 2024-05-09T17:26:13.930523054Z NS_FATAL, terminating"

which makes the server doesn't show up and the URL doesn't fetch anything.

I have used the already built traffic-shaper with scenario : tcp-cross-traffic keeping the image same i.e martenseemann/quic-network-simulator

marten-seemann commented 6 months ago

It seems to work on CI: https://interop.seemann.io/

chidambar2000 commented 6 months ago

Could you please pin-point the tcp-cross-traffic directory? I can only see the simple p2p here

Jazkiel commented 1 month ago

Hi,

In the tcp-cross-traffic scenario, when using the QuicPointtoPointHelper::Install function 3 times, every time the base is set as 193.167.50.0, which is leading to address collision issues. Since the route is anyways via 193.167.0.0/16, I changed the Base to different IP addresses based on each call and it works for me. Not sure how it works in the CI.