Changes between Version 17 and Version 18 of NetServTutorialInstruction
- Timestamp:
- 03/09/12 19:13:14 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NetServTutorialInstruction
v17 v18 228 228 == (Optional) Process Layer 2 frames in !NetServ == 229 229 230 compile with layer 2 functionality 231 230 1. Rebuild NetServ for layer 2 frame processing. 231 232 {{{ 233 cd /netserv-root/core/linux 232 234 NETSERV_TRANSPORT=tap make all 233 234 set up TAP interface 235 235 }}} 236 237 2. Set up the newly created TAP interface. 238 239 {{{ 236 240 ip link set netserv101 up 237 241 ip add 10.0.0.1/24 dev netserv101 238 239 check the interface 240 242 }}} 243 244 3. Check that the TAP interface is up and running. 245 246 {{{ 241 247 ifconfig 242 243 set up a manual ARP table entry for a fake address 248 }}} 249 250 4. Rebuild the UDP echo module. 251 252 {{{ 253 cd /netserv-root/apps/udpecho/modules 254 make all 255 }}} 256 257 5. Install the UDP echo module. 258 259 {{{ 260 cd test 261 ./setup.sh 262 }}} 263 264 6. Ping a fake address in the TAP subnet. 265 266 {{{ 267 ping 10.0.0.99 268 }}} 269 270 7. Set up a manual ARP table entry for the fake address. 244 271 245 272 arp -s 10.0.0.99 01:02:03:04:05:06 246 273 247 install udp echo 248 249 ping 10.0.0.99 250 251 remove and setup again 274 8. Watch UDP echo. 275 276 9. Remove UDP echo and install it again. 252 277 253 278 == Please take a quick survey ==