Page 1 of 1

Internal Network Unreachable

Posted: 10. Jan 2016, 00:28
by Stan3
ust started a Information System Security class and have an assigned pen test lab using virtualbox, but I can't get the vm's to see each other.

virtual Box Version 5.0.6 r103037 (windows 10) (tried 5.0.10-104061 back in November but couldn't get the NAT network to work, so I rolled back to 5.0.6).


guest VM's:
Name | OS version |IP | MAC
Attack | Kali 2.0 |192.168.52.103 | unique MAC
Victim | Kali 2.0 |192.168.52.101 | unique MAC

Network info for both VM's:
Adapter 1, PCnet-FAST III (Internal Network, 'intnet')
Promiscuous Mode: Allow VM's
DHCP command:
vboxmanage dhcpserver add --netname intnet --ip 192.168.52.100 --lowerip 192.168.56.101 --upperip 192.168.56.110 --netmask 256.256.256.0 --enable

Each vm seems getting an ip from the DHCP, but I'm getting the following error on the ping command:
connect: Network is unreachable

/etc/network/interfaces doesn't show eth0, but ifconfig -a does for both guests.

Any thoughts?

Thanks in advance!
Stan

Re: Internal Network Unreachable

Posted: 11. Jan 2016, 09:41
by KelvinSmith
Did you setup any default gateway ?

Re: Internal Network Unreachable

Posted: 12. Jan 2016, 08:12
by Stan3
I didn't think I needed a gateway to use an Internal Network.

My instructor suggested:
#sudo ifconfig eth0 10.0.0.1 netmask 255.255.255.0
for both of my guest VM's. I set one to 10.0.0.1 and the second to 10.0.0.2 and that seemed to fix my problem. I was able to ping to my hearts content!

I don't understand why I have so much difficulty with the Internal Network.

Thanks for the help,
Stan

Re: Internal Network Unreachable

Posted: 12. Jan 2016, 11:04
by KelvinSmith
Refer the following discussion thread. Hope it will help you.
https://bbs.archlinux.org/viewtopic.php?id=165720