1

I'm currently trying setup a penetration testing lab on two machines. One machine will run the vulnerable virtual machines and the other machine will be used as the attack machine running different software and OS's.

I'm trying to connect these machines through there NIC controllers.

Both computers are using windows 10 I have already statically assigned both pc's with ip address withing the same subnet and same mask but am unable to ping each other. Network Layout

Mrose814
  • 11
  • 2
  • Are you using a crossover cable to connect the two PCs? – n8te Dec 01 '16 at 03:44
  • MDI-X allows for this to be done using a straight cable connection – Mrose814 Dec 01 '16 at 03:59
  • What did you set the gateway as on both PCs? – n8te Dec 01 '16 at 04:11
  • Okay so the solution was found, The Ethernet controller was settling the connection to no discover new networks and had sharing turned off. Banged my head against this for 4 hours. Easy fix I looked over – Mrose814 Dec 01 '16 at 04:12
  • Ahh ok. If you got a sec, go ahead and create an answer with that info so people will be able to reference this in the future. – n8te Dec 01 '16 at 04:13
  • Possible dupe http://superuser.com/questions/299901/direct-ethernet-connection-between-two-wirelessly-connected-windows-7-laptops but I don't really feel like dupe-hammering this. You really ought to post an answer talking about your problem solving process and solution so others may benefit. – Journeyman Geek Dec 01 '16 at 05:42
  • I'm going to make a in-depth response so its clear how this needs to be set up for future users. – Mrose814 Dec 01 '16 at 16:08

2 Answers2

0

Assuming that everything you say is correct; you've verified both static IPs are on the same subnet, with the same mask, and you have lights on both NICs, then the only explanation would be that the firewalls are blocking each other.

Wes Sayeed
  • 13,662
  • 6
  • 41
  • 76
0

I have my penetration lab up and running and wanted to give some details for other people that might run into this problem using windows:

  1. Static Ip assigned: Control Panel >Network and Internet > Network Sharing > Change Adapter Settings > Right Click the Port being used and select properties > IPV4

  2. Repeat step 1 for second machine make sure both assigned IPs are within the same subnet and have the same mask.

  3. Sharing Options: Control Panel >Network and Internet > Network Sharing > Change advance Sharing Settings > Turn on network discovery.

Continue these settings for any virtual machine you setup on your penetration lab. Use bridge connection and allow all machines promiscuous mode.

Mrose814
  • 11
  • 2