New "Network" not connecting to ISP

Moderator: mike

Post Reply
gpapison
Posts: 13
Joined: Mon Nov 15, 2021 4:09 pm

New "Network" not connecting to ISP

Post by gpapison » Fri Nov 19, 2021 3:53 pm

My install is VMWorkstation 16 on a homebrew 64bit Windows 10 system running AMD Rizen2700x with 32Gb of RAM
and 1TB M2drive I am running EVE-COMMUNITY.

root@eve-ng~# uname -a
Linux eve-ng 4.20.17-eveng-ukms+ #2 SMP Wed Jun 5 08:18:06 CST 2019 x86_64 x86_64 x86_64 GRU/Linux

I am attempting to build a lab to learn Palo Alto to obtain my PCNSA/CNE. I am using a course from CBTNuggets.
The course creates a Lab Environment using EVE-NG Pro, I am using EVE-NG COMMUNITY. When I create an "Internet"
cloud in my lab (I right click on my window and Add a New Object>Network) any type provided by the Type drop down
doesn't allow me to provide Internet Access from my Cisco VIOS router. I followed the How To's and correctly
imported the router. It is available and configurable from SecureCRT it will do everything but ping anything in the
Internet when it is connected to the network I added. I have tried a variety of solutions, including reconfigureing
my Network Adapter in VMWare, all to no avail.

I guess my question is: "When I create a "Network" how is it connected to my Internet service?" Any assistance would be
appreciated

Cheers

George

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

Re: New "Network" not connecting to ISP

Post by Uldis (UD) » Mon Nov 22, 2021 2:17 am

EVE Community have Cloud0 network which is bridged with your PC NIC or NAT interface in rhe VM ware and such way you can have Internet in the EVE.
It is all described in EVE Community cookbook chpater Networks and Clouds
https://www.eve-ng.net/index.php/docume ... -cookbook/

gpapison
Posts: 13
Joined: Mon Nov 15, 2021 4:09 pm

Re: New "Network" not connecting to ISP

Post by gpapison » Thu Nov 25, 2021 2:16 pm

Thank you for the information. I have configured my EVE-NG VM in VMWorkstation 16 with an additional network adapter (Network Adapter 2) as instructed in the Cookbook. On Page 128 of the Cookbook there is a table that infers that EVE-NG Pro will associate Network Adapter 2 with Cloud 1. I created a new network in my lab using Cloud 1 and connected it to my Cisco router using gig0/0. Gig0/0 is configured "ip address dhcp". While gig0/0 is up/up it does not acquire a DHCP address. Below is the output of a route command executed on my eve-ng-pro VM.

root@eve-ng:~# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default _gateway 0.0.0.0 UG 0 0 0 pnet0
172.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 docker0
172.29.129.0 0.0.0.0 255.255.255.0 U 0 0 0 nat0
172.29.130.0 0.0.0.0 255.255.255.0 U 0 0 0 wg0
192.168.50.0 0.0.0.0 255.255.255.0 U 0 0 0 pnet0
root@eve-ng:~#

The routing table does not include pnet1 which *should* be the Network Adapter 2, ie Cloud 1...?? I'm a bit confused as the interface is up/up which indicates physical and logical connectivity to Cloud 1.

Below is the corresponding data from my IOSv router:


R1#sho ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
a - application route
+ - replicated route, % - next hop override, p - overrides from PfR

Gateway of last resort is not set

1.0.0.0/32 is subnetted, 1 subnets
C 1.1.1.1 is directly connected, Loopback0
23.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 23.1.2.0/24 is directly connected, GigabitEthernet0/1
L 23.1.2.1/32 is directly connected, GigabitEthernet0/1
R1#sho ip interface brief
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 unassigned YES DHCP up up
GigabitEthernet0/1 23.1.2.1 YES NVRAM up up
GigabitEthernet0/2 unassigned YES unset administratively down down
GigabitEthernet0/3 unassigned YES unset administratively down down
GigabitEthernet0/4 unassigned YES unset administratively down down
GigabitEthernet0/5 unassigned YES unset administratively down down
GigabitEthernet0/6 unassigned YES unset administratively down down
GigabitEthernet0/7 unassigned YES unset administratively down down
Loopback0 1.1.1.1 YES NVRAM up up
R1#

According to the cookbook pnet2/cloud1 should be bridged to my internal network and, through that network which is connected to my home ASUS mesh, I should have access to my DHCP server. My Cloud0 network, which is bridged to the first network adapter in my EVE-NG-Pro VM is providing DHCP to all my other nodes in my lab.

I'm sure I'm missing something but I don't know what...

Cheers

George

gpapison
Posts: 13
Joined: Mon Nov 15, 2021 4:09 pm

Re: New "Network" not connecting to ISP

Post by gpapison » Thu Nov 25, 2021 7:10 pm

Thanks to UD for the shared insight.

The trick is to configure Network Adapter2 as NAT not bridged. Once I changed the configuration from Bridged to NAT I had full connectivity and transport.

Cheers

George

alonkaka
Posts: 6
Joined: Thu Jan 06, 2022 11:25 am

Re: New "Network" not connecting to ISP

Post by alonkaka » Fri Jan 07, 2022 3:47 pm

Thanks to UD for sharing his knowledge.

The trick is to set Network Adapter2 to NAT rather than bridged mode.

Post Reply