andyah
Goto Top

Ubuntu Server 16.04 kein eth0 mehr

Hi NG,

bei dem Ubuntu Server 16.04 habe ich das Problem, dass ich keine eth0 Schittstelle mehr habe, sondern nur noch enp0s3. Ich habe Ubuntu auf VirtualBox installiert. Die Netzwerkeinstellung steht auf Netzwerkbrücke.

Wie bekomme ich einen Netzwerkverbindung?

Gruß Andy

Content-Key: 309310

Url: https://administrator.de/contentid/309310

Printed on: April 24, 2024 at 04:04 o'clock

Member: magicteddy
magicteddy Jul 08, 2016 updated at 12:54:56 (UTC)
Goto Top
Moin,

indem Du auf dem Server in /etc/network/interfaces unterhalb von

auto br0
iface br0 inet static
...
...


eth0 durch enp0s3 ersetzt.

-teddy
Member: AndyAh
AndyAh Jul 08, 2016 at 12:56:46 (UTC)
Goto Top
Hi.

Danke, ich werde es mal probieren.

Gruß
Andy
Mitglied: 129813
129813 Jul 08, 2016 updated at 14:01:13 (UTC)
Goto Top
Hi.
eth0 durch enp0s3 ersetzt.
That's not enough...You have to take care of an additional entry in the grub config (/etc/default/grub), have a look at:
Change default network name (ens33) to old “eth0” on Ubuntu 16.04

Regards
Member: magicteddy
magicteddy Jul 08, 2016 at 17:56:33 (UTC)
Goto Top
Doch das ist genug, entweder die Konfiguration der Bridge anpassen oder den Namen des Interfaces ändern. Meine VM kommen mit der ersten Methode ins Netz.

-teddy
Mitglied: 129813
129813 Jul 08, 2016 updated at 18:03:55 (UTC)
Goto Top
But this can you get into trouble in certain startup scenarios, if you do not take care of the grub setting above some system startup scripts my fail face-wink! I know what i'm talking about, i already had this kind trouble because of this.
Member: AndyAh
AndyAh Jul 12, 2016 at 11:21:31 (UTC)
Goto Top
Hi NG,

danke für die Antworten. Ich habe die Virtualisierungsumgebung gewechselt. Mit VMware Player funktioniert es.

Gruß
Andy