<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
<div>
<div><br>
</div>
</div>
</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
Jiachen,</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
The format in the developer guide appears outdated – try: </div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
ether://[34:36:3b:d2:48:38]</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
See, for example: </div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
<a href="https://github.com/named-data/NFD/blob/f9572e8439e018c9a0d06fe0d64fbfe114b2339e/tests/daemon/face/ethernet.t.cpp#L106">https://github.com/named-data/NFD/blob/f9572e8439e018c9a0d06fe0d64fbfe114b2339e/tests/daemon/face/ethernet.t.cpp#L106</a></div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
This is the format given in the wiki, too: <a href="http://redmine.named-data.net/projects/nfd/wiki/FaceMgmt#Ethernet">http://redmine.named-data.net/projects/nfd/wiki/FaceMgmt#Ethernet</a></div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
However, I get a different error:</div>
<div style="color: rgb(0, 0, 0);">
<div style="font-family: Calibri, sans-serif; font-size: 14px;"><br>
</div>
<div><span style="font-size: 12px;"><font face="Courier New">jerboa:~ jburke$ nfdc register / ether://[6c:70:9f:d1:36:75]</font></span></div>
<div><span style="font-size: 12px;"><font face="Courier New">ERROR: Face creation failed : Face creation failed: EthernetFactory does not support 'createFace' operation (code 500)</font></span></div>
</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
Reported as issue #3276. <a href="http://redmine.named-data.net/issues/3276">http://redmine.named-data.net/issues/3276</a></div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
Thanks,</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
Jeff</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
<br>
</div>
<span id="OLK_SRC_BODY_SECTION" style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
<div><br>
</div>
<blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<div><style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div 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: <a href="mailto:wangjiachen0@outlook.com">wangjiachen0@outlook.com</a></div>
</div>
</div>
</div>
</div>
</blockquote>
</span>
</body>
</html>