Hi All,
I am running the latest EVENG community edition
I would to know the procedure for providing internet access to devices running inside EVENG
I have a dell server with ESXI installed
A windows PC connected to internet via wifi and has a direct LAN connection to the ESXI (Dell) server where I am running EVENG as a VM and inside EVENG I am running Palo Alto firewall and other devices
I am able to access the devices running inside EVENG via ssh, rdp and https from the windows laptop using management cloud and from the devices running inside EVENG I am able to access the windows laptop LAN interface IP
Dell ESXI Server LAN IP : 10.0.0.1/8
EVENG VM IP : 10.0.0.2/8
Windows Laptop LAN IP : 10.0.0.3/8
Windows Laptop wifi IP : 192.168.1.2/24
Note : Promiscuous mode and all 3 security settings are enabled
Thank You
How to provide internet access to devices in EVENG by sharing the PC wifi internet via LAN connection to ESXI server
Moderator: mike
-
- Posts: 2
- Joined: Sun Jun 04, 2023 10:37 am
-
- Posts: 5177
- Joined: Wed Mar 15, 2017 4:44 pm
- Location: London
- Contact:
Re: How to provide internet access to devices in EVENG by sharing the PC wifi internet via LAN connection to ESXI server
You simply did not read eve community coocbook
https://www.eve-ng.net/index.php/docume ... -cookbook/
chapter 9
https://www.eve-ng.net/index.php/docume ... -cookbook/
chapter 9
-
- Posts: 2
- Joined: Thu Jun 22, 2023 9:31 am
Re: How to provide internet access to devices in EVENG by sharing the PC wifi internet via LAN connection to ESXI server
If you want to access to the Internet from your lab, one of your routers' internet connections must be set to use the Cloud0 interface's evening-ng NAT setting.
PNET1 is the local area network.
You will need to set an ACL if you do not want your lab network to be able to communicate with other networks.
If you want to use Pdrift bossnet1, for instance, you'll need to add one more router to Cloud0.
R1-----PNET1---(Intranet - Router Upgrade IOL) ---Cloud
Router Gig1 on INET will be connected to PNET1, whereas Router Gig0 will be connected to Cloud0 (this is where NAT is performed).
PNET1 is the local area network.
You will need to set an ACL if you do not want your lab network to be able to communicate with other networks.
If you want to use Pdrift bossnet1, for instance, you'll need to add one more router to Cloud0.
R1-----PNET1---(Intranet - Router Upgrade IOL) ---Cloud
Router Gig1 on INET will be connected to PNET1, whereas Router Gig0 will be connected to Cloud0 (this is where NAT is performed).
H510M-geometry dash liteA PRO (MS-7D22)
-
- Posts: 2
- Joined: Sun Jun 04, 2023 10:37 am
Re: How to provide internet access to devices in EVENG by sharing the PC wifi internet via LAN connection to ESXI server
Hi Uldis (UD) and auctionshrimp,
Thank You for the support, following your post and eve community coocbook chapter 9 I am able to access internet from the devices runing inside EVENG.
My friend Jenish helped me set up the ESXI server. Thank You Jenish.
Shared below the steps I followed for other users
Settings from windows laptop
For Accessing ESXI Server, EVENG : Direct connection from the laptop LAN to Dell Server NIC
For Accessing Internet used laptop wifi adapter and enabled Internet sharing in the wifi adapter, slected the LAN connection
While enabling Internet sharing you will get the IP range 192.168.137.0/24, set the ESXI server IP, EVENG and all the virtual devices running inside EVENG in this IP range, gateway as 192.168.137.1
No need to set gateway in ESXI Server
For setting IP address to ESXI Server
Step 1 : Access the ESXI server vis ssh
Step 2 : Use the command to set ESXI server IP with the range esxcli network ip interface ipv4 set -i vmk0 -I 192.168.137.2 -N 255.255.255.0 -t static
Step 3 : You will lose connection to ESXI server, restart the server physically for restarting the services and access the ESXI with the new IP
Incase if the server is reachable follow the below for restarting services
Step3 : Restart the ESXi host daemon and vCenter Agent services using these commands:
/etc/init.d/hostd restart
/etc/init.d/vpxa restart
Under Security policy enable all the security settings
Allow promiscuous mode Yes
Allow forged transmits Yes
Allow MAC changes Yes
ESXI Server IP : 192.168.137.2/24
evengVM IP : 192.168.137.4/24
Windows Laptop LAN IP : 192.168.137.1/24
Enable DNS manually for accessing Internet
Thank You.
Thank You for the support, following your post and eve community coocbook chapter 9 I am able to access internet from the devices runing inside EVENG.
My friend Jenish helped me set up the ESXI server. Thank You Jenish.
Shared below the steps I followed for other users
Settings from windows laptop
For Accessing ESXI Server, EVENG : Direct connection from the laptop LAN to Dell Server NIC
For Accessing Internet used laptop wifi adapter and enabled Internet sharing in the wifi adapter, slected the LAN connection
While enabling Internet sharing you will get the IP range 192.168.137.0/24, set the ESXI server IP, EVENG and all the virtual devices running inside EVENG in this IP range, gateway as 192.168.137.1
No need to set gateway in ESXI Server
For setting IP address to ESXI Server
Step 1 : Access the ESXI server vis ssh
Step 2 : Use the command to set ESXI server IP with the range esxcli network ip interface ipv4 set -i vmk0 -I 192.168.137.2 -N 255.255.255.0 -t static
Step 3 : You will lose connection to ESXI server, restart the server physically for restarting the services and access the ESXI with the new IP
Incase if the server is reachable follow the below for restarting services
Step3 : Restart the ESXi host daemon and vCenter Agent services using these commands:
/etc/init.d/hostd restart
/etc/init.d/vpxa restart
Under Security policy enable all the security settings
Allow promiscuous mode Yes
Allow forged transmits Yes
Allow MAC changes Yes
ESXI Server IP : 192.168.137.2/24
evengVM IP : 192.168.137.4/24
Windows Laptop LAN IP : 192.168.137.1/24
Enable DNS manually for accessing Internet
Thank You.