Let's start both of our virtual machines, then configure and test the network connectivity.
In Kali, open up a terminal and type the following:
# ifconfig eth1 192.168.50.10 netmask 255.255.255.0 broadcast 192.168.50.255 promisc
We set eth1
, which is on our virtual lab segment, to the IP address of 192.168.50.10
, the network mask to 255.255.255.0
, and the broadcast
address to 192.168.50.255
. As an added bonus, we also set the device into the promiscuous mode.
Open up a terminal in Ubuntu_TestMachine_1
using the top menu bar and navigating through Applications | Accessories | Terminal. Type sudo ifconfig
to check your current configuration. If everything is configured correctly, you should not have an IP address assigned to eth0
. We will rectify that situation by repeating the steps used for our Kali machine. This time, we will use eth0
rather than eth1
, and we will not place this network adapter in the promiscuous...