Beruflich Dokumente
Kultur Dokumente
Lab Objectives:
After this lab students should be able to: Install VirtualBox Boot a copy of Damn Small Linux ( DSL ) Confi ure multiple net!or"s in VirtualBox
!te& 2: %nstall Virtual'ox and (ires)ar* in +our )ost O! !te& 3: ,reate a Virtual -ac)ine "or +our $!L Damn Small Linux is a %ery S+ALL %ersion of Linux$ &e !ill be usin it as a client to test our ser%er ser%ices$ *peratin System:
+emory:
,ard Dri%e ( -eep all your hard dri%es in the same location )
.o! you should be able to boot the ne! machine In order to !or" properly8 you may need to disable 9+ouse Inte ration:
.otice that 9DSL: refers to the name of your V+$ If need it8 chan e the name for the one you are usin $ Sho! information about your V+ confi uration:
root@Luna:~# VBoxManage showvminfo DSL ! DSL"NAT#txt
Sa%e the information output in a file DSL"NAT#txt$ >lease notice that command i%e abo%e is in Linux8 and it sa%es the output into the file DSL"NAT#txt8 this command should !or" in D*S ( !indo!s command prompt ) too$ Be sure that the file is stored in the appropriate directory$ Start DSL Capture some IC+> pac"ets *pen a terminal >in the host *S ( assumin your host is @ (A1$(BC$)$()) )
root@Luna:~# $ing %& ' ()*#(+,#-#(--
0he Linux pin 8 sends B' bytes pac"ets until you stop it usin DC$ &indo!s8 sends four 21 bytes pac"ets8 and then stops$ 0he abo%e commands sends Eust 2 pac"ets ( 6c 2 ) Stop DSL
./0 1))2 3 )(4Virtuali5ation 6 % ($7 6 2 # 7
!te& 2: ,on"i/ure $!L to use 'rid/ed as t)e net#or* mode Fsin the settin menu8 chan e your net!or"in mode from .A0 to brid ed$ Brid ed your .IC to one of your host .IC cards$ /nable pac"et capture in your DSL V+$
root@Luna:~# VBoxManage modifyvm "DSL" --nictrace1 on --nictracefile1 DSL_Bridged.pcap
Be sure that the file is stored in the appropriate directory$ Start DSL >in the host *S8 and oo le$ca Stop DSL Disable pac"et capture ?e%ie! your capture file !ith &ireshar"
!te& 3: ,on"i/ure $!L001 and +our $!L002 to use %nternal Net#or*in/ as t)e net#or* mode Fsin the settin menu8 chan e your net!or"in mode to Internal .et!or"in 8 for both your DSL6)( and DSL6)1 %ms$ /nable a D,C> ser%er for the Internal net!or"in 8 use the follo!in parameters: .et!or" Address: B1$22$1)7$) # 1C D,C> ser%er: B1$22$1)7$( Lo!er I>: B1$22$1)7$7 ,i h I>: B1$22$1)7$(2 /nable pac"et capture for DSL8 use internal#$&a$ as your capture file$ Start both DSL6)( and DSL6)1 =ind the I> address for your DSL6)1 V+ =rom DSL6)(: >in DSL6)1 >in the host *S Stop the machines Disable pac"et capture ?e%ie! your capture file !ith &ireshar"
!te& .: ,on"i/ure $!L001 and $!L002 to use 1ost Onl+ as t)e net#or* mode Fsin the settin menu8 chan e your net!or"in mode to ,ost *nly8 for both the DSLs Chec" the ,ost *nly settin s$ =ile G >references G .et!or" G Settin s /nable pac"et capture in your DSL6)(8 use hostonl/#$&a$ as your capture file$ =rom DSL6)(: >in DSL6)1 >in the host *S Stop the %ms Disable pac"et capture ?e%ie! your capture file !ith &ireshar" !te& 2: 3&load +our "iles to '' Compress all your directory !ith all the files Submit your files to BB