Nested VMs - IP Configuration

Moderator: mike

Post Reply
tammy9931
Posts: 9
Joined: Wed Jan 30, 2019 4:54 pm

Nested VMs - IP Configuration

Post by tammy9931 » Fri Jan 08, 2021 3:21 pm

I have a nested VM set up and am wondering if there are recommendations about the IP config. I can't find too much about nesting VM's so thought I would put my question here.

I am using a mac book pro and plan to be on the go with my lab. The vmnet8 Ip on my mac is 192.168.231.1. The IP assigned to EVE-NG was 192.168.231.130. I set up the VM and then worried I might not have set it up correctly and wiped it out. So before I mess this up and get too far down the rabbit hole and need to redo a million things I thought I would ask.

First Question:
I have Fusion 12 running a Window's 7 Pro vm that is running workstation player 14, that is running the Eve NG vm. My assumption is to use NAT with DHCP since I don't see the IP between the Workstation vm and EVE changing. Or is even using NAT over kill given the set up.

Second question:
I am anticipating moving to a windows lap top to help eliminate the layers of complication I've gotten into here. Not sure I'm comfortable with running EVE on Fusion and having to wrestle all those unknowns. The tutorial videos out there with workstation player running eve recommend NAT and Static, but the Static IP being used is from the Eth0 IP that is hard wired into the device. My assumption is that the David Bombal videos should be using the IP from their wireless lan controller to establish the Static NAT since a majority of the users with laptops use wifi for the convenience.

Many thanks and I appreciate your patience. I'm totally out of my comfort zone.
Posts and thoughts are my own irrespective of my employer.

thanks,
Tammy

Uldis (UD)
Posts: 3740
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: Nested VMs - IP Configuration

Post by Uldis (UD) » Fri Jan 08, 2021 5:42 pm

Using any NAT VMnet network gate way on the eve must be your Virtual NAT adapter IP .2 not .1
In the Windows wm ware player or workstation its such way@
Vmnet8 has ip 192.168.13.1
NAT adaptor itself is 192.168.13.2

and EVE Pnet0 (not eth0) must be configured with 192.168.13.20
255.255.255.0
192.158.13.2 (NAT IP not PC)

and do not touch eth0 interface at all
My eve output with static IP setup


root@eve-ng:~# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
iface eth0 inet manual
auto pnet0
iface pnet0 inet static
address 192.168.98.100
netmask 255.255.255.0
gateway 192.168.98.1
dns-domain eve-ng.net
dns-nameservers 8.8.8.8 8.8.4.4
bridge_ports eth0
bridge_stp off

# Cloud devices
iface eth1 inet manual
auto pnet1
iface pnet1 inet manual
bridge_ports eth1
bridge_stp off

tammy9931
Posts: 9
Joined: Wed Jan 30, 2019 4:54 pm

Re: Nested VMs - IP Configuration

Post by tammy9931 » Mon Jan 11, 2021 2:52 pm

Let me see if I understand your directions correctly.

Window's has assigned vmnet8 the IP 192.168.238.1.

You are telling me to configure the EVE VM to have an admin IP of 192.168.238.20 and a gateway of 192.168.238.2. ??

I deleted the vm and created a new vm from the OVF. I chose static, but am not getting prompted for IP address assignments . EVE installs, but has a pnet0 IP of 192.168.231.132.

many thanks,
Tammy
Posts and thoughts are my own irrespective of my employer.

thanks,
Tammy

Post Reply