Assume that you want to have 2 machine with IP like this setup on different Vbox on ur system:
BackTrack: 192.168.20.11
Target OS( e.g. Win XP sp2) : 192.168.11.27
===================
Back Track
===================
Network adapter setting:
Adapter 1:
Attached to: Internal network
Name: [make up something]
Promiscuous mode: Allow VM
Adapter 2:
Attached to: NAT
Start BT 2 without network
and type the following commands to setup up the internet
$ifconfig eth0 192.168.20.11/19
$dhclient eth1
$/etc/init.d/networking start
$/etc/init.d/apache2 start
===================
Targeted System
===================
Network adapter setting:
Adapter 1:
Attached to: Internal network
Name: [make up something]
Promiscuous mode: Allow VM
Set static IP in windows
IP: 192.168.11.27
Mask:255.255.224.0
-------------------------------------------------------
Validate the settings
1. use the target system 's internet browse 192.168.20.11 and you should expect to see the "It works" page
2. the BackTrack system should be able to ping www.google.com
No comments:
Post a Comment