Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, when I run a virtual machine (User Mode Linux with FedoraCore5) the ethernet interface (eth0) is not working and even not visible with "ifconfig". Its configuration file (ifcfg-eth0) is ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2008
    Posts
    2

    Ethernet interface (Virtual machine) missing


    Hi,
    when I run a virtual machine (User Mode Linux with FedoraCore5) the ethernet interface (eth0) is not working and even not visible with "ifconfig".
    Its configuration file (ifcfg-eth0) is present, but when running "ifup" I got this message.
    "Device eth0 does not seem to be present, delaying initialization"
    How can I enable it?

  2. #2
    Just Joined!
    Join Date
    Mar 2008
    Location
    Hyderabad
    Posts
    20

    To bring up interface in UML

    Setup Network Connection:

    Download uml_utilities_20040406.tar file for UML utilities.

    do the following on the host
    #chmod 666 /dev/net/tun
    #tunctl -u root -t uml (root or any username , uml is the name of n/w interface )

    #ifconfig uml inet 192.168.1.107 up ( same as host's eth0 interface )

    run UML with network interface
    #./vmlinux ubda=rootfs.i686.ext2 eth0=tuntap,uml

    UML#ifconfig eth0 inet 192.168.1.108 up

    Host#route add -host 192.168.1.108 dev uml

    UML#ping 192.168.1.107

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •