Project

General

Profile

Actions

Bug #1475

closed

UDP multicast sends on wrong NIC

Added by Junxiao Shi over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Faces
Target version:
Start date:
04/13/2014
Due date:
% Done:

100%

Estimated time:

Description

UDP multicast face for an NIC should send packets on the chosen NIC only, instead of onto all NICs.

Topology

 /----\
A      B
 \----/
  • Each host has two NICs.
  • A/eth0 and B/eth0 are on one VLAN.
  • A/eth1 and B/eth1 are on another VLAN.

Steps to reproduce:

  1. Start NFD on A and B.
  2. Execute nfd-status -f on A, find out the FaceId of UDP multicast faces.
  3. Invoke nfdc add-nexthop /Z $faceid on A, where $faceid is the FaceId for the UDP multicast face on eth1.
  4. Start ndnpingserver /Z on B.
  5. Execute ndnping -c 30 /Z on A.
  6. Invoke nfd-status -f on A and B.

Expected:

  • On host A, UDP multicast face on eth0 has 0 incoming Interests, 0 incoming Datas, 0 outgoing Interests, 0 outgoing Datas.
  • On host A, UDP multicast face on eth1 has 0 incoming Interests, 30 incoming Datas, 30 outgoing Interests, 0 outgoing Datas.
  • On host B, UDP multicast face on eth0 has 0 incoming Interests, 0 incoming Datas, 0 outgoing Interests, 0 outgoing Datas.
  • On host B, UDP multicast face on eth1 has 30 incoming Interests, 0 incoming Datas, 0 outgoing Interests, 30 outgoing Datas.

Actual:

  • On host A, UDP multicast face on eth0 has 0 incoming Interests, 30 incoming Datas, 0 outgoing Interests, 0 outgoing Datas.
  • On host A, UDP multicast face on eth1 has 0 incoming Interests, 30 incoming Datas, 30 outgoing Interests, 0 outgoing Datas.
  • On host B, UDP multicast face on eth0 has 30 incoming Interests, 0 incoming Datas, 0 outgoing Interests, 0 outgoing Datas.
  • On host B, UDP multicast face on eth1 has 30 incoming Interests, 0 incoming Datas, 0 outgoing Interests, 30 outgoing Datas.
Actions

Also available in: Atom PDF