Project

General

Profile

Task #1444

Updated by Junxiao Shi over 10 years ago

Topology 

     B---A---R---D 

 A,B,D are NDN hosts.   
 R is an IP router Test hub discovery client and is not NDN host; R does not forward multicast packets. 

 Script is invoked producer with NFD, on host A. It can control other hosts via ssh. 

 1.    On host A, 
     1. start NFD 
     2. start `ndn-autoconfig-server`, set FaceUri to `udp4://10.63.18.1` 
     3. start `bind` to serve these records 
         * `_ndn._udp.autoconfig-test.named-data.net` => 10.63.18.2 
         * `_ndn._udp.autoconfig-test.tmp._homehub._autoconf.named-data.net` => 10.63.18.3 
 2.    On host B 
     1. invoke `ndnsec-keygen /tmp/autoconfig-test | ndnsec-install-cert -` 
     2. in `/etc/resolv.conf`, set two separate machines. For DNS Server to A's IP address on A-B link, set DNS search domain to `autoconfig-test-none.named-data.net` 
     3. start NFD 
     4. invoke `nfd-autoconfig` 
     5. execute `nfd-status -f`, 
         * search output for `10.63.18.1`, fail if not found. 
         * search output for `10.63.18.2`, fail if found. 
         * search output for `10.63.18.3`, fail if found. 
     6. stop NFD 
 3.    On host C, invoke `ndnsec-keygen /tmp/autoconfig-test | ndnsec-install-cert -` 
 4.    On host C, 
     1. in `/etc/resolv.conf`, set DNS Server to A's IP address on A-R link, set DNS search domain to `autoconfig-test.named-data.net` 
     2. start NFD 
     3. invoke `nfd-autoconfig` 
     4. execute `nfd-status -f`, 
         * search output for `10.63.18.1`, fail if found. 
         * search output for `10.63.18.2`, fail if not found. 
         * search output for `10.63.18.3`, fail if found. 
     5. stop NFD 
 4.    On host C, 
     1. in `/etc/resolv.conf`, set DNS Server to A's IP address on A-R link, set DNS search domain to `autoconfig-test-none.named-data.net` 
     2. start NFD 
     3. invoke `nfd-autoconfig` 
     4. execute `nfd-status -f`, 
         * search output for `10.63.18.1`, fail if found. 
         * search output for `10.63.18.2`, fail if found. 
         * search output for `10.63.18.3`, fail if not found. 
     5. stop NFD 
 server, Alex has one configured.

Back