named-data / YaNFD

Yet another Named Data Networking Forwarding Daemon
https://pkg.go.dev/github.com/named-data/YaNFD
MIT License
12 stars 10 forks source link

`ether://` face creation not working #51

Open malldisaesar opened 1 year ago

malldisaesar commented 1 year ago

nfdc face create ether://[98:28:A6:3B:86:02] local dev://ens3

zjkmxy commented 1 year ago

The current version of YaNFD only supports creating TCP and UDP faces after startup. You may use the yanfd.toml file to let YaNFD create the Ethernet face when starting up. I don't think I can add this feature because I lack devices to test. People who are able to do so are welcome to submit Pull Requests.

malldisaesar commented 1 year ago

Can you tell me how to make face ether from yanfd.toml ?

zjkmxy commented 1 year ago

YaNFD supports multicast Ethernet face. Set faces.ethernet.enabled to be true, put the multicast address, and YaNFD will create a face on every interface using that address. There is no need to specify a host's MAC address or Ethernet interface.

malldisaesar commented 1 year ago

It will make looping packet when more than 2 node or not? Because on nfd forwarder it make looping when i'm add route to multicast id

zjkmxy commented 1 year ago

It will make looping packet when more than 2 node or not? Because on nfd forwarder it make looping when i'm add route to multicast id

I don't think it will. There is Interest aggregation preventing it.