Changes between Version 17 and Version 18 of NetServTutorialInstruction


Ignore:
Timestamp:
03/09/12 19:13:14 (13 years ago)
Author:
jae@cs.columbia.edu
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NetServTutorialInstruction

    v17 v18  
    228228== (Optional) Process Layer 2 frames in !NetServ ==
    229229
    230 compile with layer 2 functionality
    231 
     2301. Rebuild NetServ for layer 2 frame processing.
     231
     232{{{
     233cd /netserv-root/core/linux
    232234NETSERV_TRANSPORT=tap make all
    233 
    234 set up TAP interface
    235 
     235}}}
     236
     2372. Set up the newly created TAP interface.
     238
     239{{{
    236240ip link set netserv101 up
    237241ip add 10.0.0.1/24 dev netserv101
    238 
    239 check the interface
    240 
     242}}}
     243
     2443. Check that the TAP interface is up and running.
     245
     246{{{
    241247ifconfig
    242 
    243 set up a manual ARP table entry for a fake address
     248}}}
     249
     2504. Rebuild the UDP echo module.
     251
     252{{{
     253cd /netserv-root/apps/udpecho/modules
     254make all
     255}}}
     256
     2575. Install the UDP echo module.
     258
     259{{{
     260cd test
     261./setup.sh
     262}}}
     263
     2646. Ping a fake address in the TAP subnet.
     265
     266{{{
     267ping 10.0.0.99
     268}}}
     269
     2707. Set up a manual ARP table entry for the fake address.
    244271
    245272arp -s 10.0.0.99 01:02:03:04:05:06
    246273
    247 install udp echo
    248 
    249 ping 10.0.0.99
    250 
    251 remove and setup again
     2748. Watch UDP echo.
     275
     2769. Remove UDP echo and install it again.
    252277
    253278== Please take a quick survey ==