<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi,<div><br></div><div>We are going to test ethernet face using ndncon. But we are not sure how to register this face.</div><div><br></div><div>The command we use now: nfdc register / ether://<span style="font-size: 12pt;">34:36:3b:d2:48:38 (mac address of the other machine)</span></div><div><span style="font-size: 12pt;">And failed :"ERROR: FaceUri parse failed".</span></div><div>We refer to:<a href="http://named-data.net/wp-content/uploads/2014/07/NFD-developer-guide.pdf" target="_blank" style="font-size: 12pt;">http://named-data.net/wp-content/uploads/2014/07/NFD-developer-guide.pdf</a> page8</div><div><a href="http://redmine.named-data.net/projects/nfd/wiki/FaceMgmt#Ethernet" target="_blank">http://redmine.named-data.net/projects/nfd/wiki/FaceMgmt#Ethernet</a> </div><div>We do not see command example about registering ethernet face.</div><div><br></div><div>And in the nfdc usage, there is not any information about ethernet face:</div><div><div><i><font size="1">REMAPMacBookPro:NFD remap$ nfdc register</font></i></div><div><i><font size="1">Usage:</font></i></div><div><i><font size="1">nfdc [-h] [-V] COMMAND [<Command Options>]</font></i></div><div><i><font size="1">       -h print usage and exit</font></i></div><div><i><font size="1">       -V print version and exit</font></i></div><div><i><font size="1"><br></font></i></div><div><i><font size="1">   COMMAND can be one of the following:</font></i></div><div><i><font size="1">       register [-I] [-C] [-c cost] [-e expiration time] [-o origin] name <faceId | faceUri></font></i></div><div><i><font size="1">           register name to the given faceId or faceUri</font></i></div><div><i><font size="1">           -I: unset CHILD_INHERIT flag</font></i></div><div><i><font size="1">           -C: set CAPTURE flag</font></i></div><div><i><font size="1">           -c: specify cost (default 0)</font></i></div><div><i><font size="1">           -e: specify expiration time in ms</font></i></div><div><i><font size="1">               (by default the entry remains in FIB for the lifetime of the associated face)</font></i></div><div><i><font size="1">           -o: specify origin</font></i></div><div><i><font size="1">               0 for Local producer applications, 128 for NLSR, 255(default) for static routes</font></i></div><div><i><font size="1">       unregister [-o origin] name <faceId | faceUri></font></i></div><div><i><font size="1">           unregister name from the given faceId</font></i></div><div><i><font size="1">       create [-P] <faceUri> </font></i></div><div><i><font size="1">           Create a face in one of the following formats:</font></i></div><div><i><font size="1">           UDP unicast:    udp[4|6]://<remote-IP-or-host>[:<remote-port>]</font></i></div><div><i><font size="1">           TCP:            tcp[4|6]://<remote-IP-or-host>[:<remote-port>] </font></i></div><div><i><font size="1">           -P: create permanent (instead of persistent) face</font></i></div><div><i><font size="1">       destroy <faceId | faceUri> </font></i></div><div><i><font size="1">           Destroy a face</font></i></div><div><i><font size="1">       set-strategy <name> <strategy> </font></i></div><div><i><font size="1">           Set the strategy for a namespace </font></i></div><div><i><font size="1">       unset-strategy <name> </font></i></div><div><i><font size="1">           Unset the strategy for a namespace </font></i></div><div><i><font size="1">       add-nexthop [-c <cost>] <name> <faceId | faceUri></font></i></div><div><i><font size="1">           Add a nexthop to a FIB entry</font></i></div><div><i><font size="1">           -c: specify cost (default 0)</font></i></div><div><i><font size="1">       remove-nexthop <name> <faceId | faceUri> </font></i></div><div><i><font size="1">           Remove a nexthop from a FIB entry</font></i></div><div><i><font size="1"><br></font></i></div><div><i><font size="1">REMAPMacBookPro:NFD remap$ </font></i></div></div><div>(NFD is NFD-0.4.0-rc1)</div><div><br></div><div><span style="font-size: 12pt;">How to register ethernet face?</span></div>







<div><br>Thanks,<div>Jiachen</div><div><br></div><div>//tel: 424-365-2415</div><div>//email: wangjiachen0@outlook.com</div></div>                                         </div></body>
</html>