New custom Ubuntu 18.04 host can't connect to network

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

Post Reply
olg32
Posts: 9
Joined: Fri Sep 28, 2018 7:59 pm

New custom Ubuntu 18.04 host can't connect to network

Post by olg32 » Sat Apr 18, 2020 10:39 pm

Hi,

I have created a new custom Ubuntu 18.04 host on my EVE Community version and I was trying to connect to the web to install software required for my lab, so I connected it to a network Mahnagement(Cloud0) net, the same I used during the installation.

This time I noted that the first time I logged in the Ubuntu host after the installation, I was not getting an IP address. It's configured (like the EVE-NG server) to receive an IP address via dhcp. To rule out any problem with the physical server, I added a Cisco router in the topology and set it up to also get an IP address via dhcp from the same cloud. This time the router got an IP address immediately after the interface was turned on.

So there's nothing wrong with the physical server. Next I configured the Ubuntu host with a fixed scheme. I manually configured IP address, mask and gateway.

After applying changes, the interface status now was "connected", before, when using dhcp, it was "connecting" all the time. But in spite of that, I'm not able to ping anything, not even the gateway. But if I try to ping the same gateway from the eve-ng server, it works (they are connected to the same one).

To sum up, the Ubuntu Host's ethernet interface doesn't seem to be connecting to the physical one, but other elements in the same EV-NG topology can. Is there any way to verify that the ethernet port of the Custom Ubuntu host is in "bridge" mode with the physical ethernet port? Or, what else could I check?


Thank you.

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

Re: New custom Ubuntu 18.04 host can't connect to network

Post by Uldis (UD) » Sun Apr 19, 2020 9:16 am

Issue is your Ubuntu image is not prepared properly.
my advice try our ready to go prepared image..

https://www.eve-ng.net/index.php/docume ... ost-image/

we have bunch of linuax images collection prepared for eve use
https://mega.nz/folder/y5YCwZCA#42_S__9wwPVO0zHIfC4xow

olg32
Posts: 9
Joined: Fri Sep 28, 2018 7:59 pm

Re: New custom Ubuntu 18.04 host can't connect to network

Post by olg32 » Thu Apr 23, 2020 2:11 am

I've downloaded the Ubuntu 18.04.2 image from the Mega site, I have followed step by step the instructions to setup this prepared image, but once I try to get network connection, I face the same problem: interface ens3 can't talk to the gateway either with dhcp or with manual IP address.

It seems that the issue is not the image but something else. Any clues?

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

Re: New custom Ubuntu 18.04 host can't connect to network

Post by Uldis (UD) » Thu Apr 23, 2020 5:40 am


Post Reply