Internal Network Unreachable

Discussions about using Linux guests in VirtualBox.
Post Reply
Stan3
Posts: 2
Joined: 9. Jan 2016, 21:38

Internal Network Unreachable

Post 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
KelvinSmith
Posts: 8
Joined: 24. Apr 2015, 13:46
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Linux
Location: Suite 1, 7 Commercial Street, Morley, Leeds, West Yorkshire, UK
Contact:

Re: Internal Network Unreachable

Post by KelvinSmith »

Did you setup any default gateway ?
WHUK
Stan3
Posts: 2
Joined: 9. Jan 2016, 21:38

Re: Internal Network Unreachable

Post 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
KelvinSmith
Posts: 8
Joined: 24. Apr 2015, 13:46
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Linux
Location: Suite 1, 7 Commercial Street, Morley, Leeds, West Yorkshire, UK
Contact:

Re: Internal Network Unreachable

Post by KelvinSmith »

Refer the following discussion thread. Hope it will help you.
https://bbs.archlinux.org/viewtopic.php?id=165720
WHUK
Post Reply