I have a new Gentoo server installed on virtual, with virtual lan interface. When booting from live CD, network (eth0) is available. When booting into the newly-created system, the network is missing at startup. The interface is shown in dmesg. In ifconfig, eth0 is missing.

What's wrong?

enter image description here enter image description here

  • use ip link show and put your output here. – PersianGulf Jul 24 '19 at 14:15
  • I can't get text only output... i must inserted here as a picture... for this time... Later I investigate how get text output from ms virtual machine. – exo Jul 24 '19 at 14:21
  • ip likn show is in the picture up. – exo Jul 24 '19 at 14:23
  • Hi and welcome! Thanks for contributing! But please, don't post images of text (read this for reasons why). – Kusalananda Jul 24 '19 at 19:29
  • I understand difference bwtween picture and text output.. But it's no way how to get text from ms virtual without network and ssl acces to putty or some other external consolas. – exo Aug 5 '19 at 7:09

The problem was in the poorly translated kernel. Bad config file caused that the changes associated with enabling virtualization options did not take effect.

After repairing and rebuilding the new kernel, eth0 is available and the net working perfect.


your interface is bond0 just use this command dhclient to get the IP from your VM's DHCP server

  • uf... In installation process there was thre interfaces, lo, bound0, eth0. After reboot eth0 missined... I thinked, that bound0 is for network bounding... Ok. I test configure bond0 as eth0 and see if it will be ok. Thx. – exo Jul 24 '19 at 14:35
  • you're welcome if you have any problem to your interface name you can change this vim /etc/sysconfig/network-scripts/ifcfg-bound0 and change the DEVICE name to eth0 and reset the networks service – jaberansariali Jul 24 '19 at 14:42
  • Did you (both) mean bond0 instead of bound0? – Jeff Schaller Jul 24 '19 at 14:46
  • Yes. bond0. (bound0 was my mistake) – exo Jul 24 '19 at 14:47
  • I have no path /etc/sysconfig... – exo Jul 24 '19 at 14:48

Your ethernet is bond0, You can do it:
ip address add NEW_IP dev bond0
Of course you need to specify gateway such as :
ip route add default via YOUR_DEFAULT_GATEWAY dev bond0

Or if you have DHCP server you need to run dhclient bond0

  • Even if bonding is enabled, why would the raw interface disappear? (I mean, that's not how it worked when I've used it.) Or, alternatively, why would something rename the interface? – ilkkachu Jul 24 '19 at 19:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.