Results 1 to 3 of 3

Thread: custom /etc/network/interfaces causes eth0 to not auto-start

  1. #1
    Join Date
    Feb 2008
    Beans
    25

    custom /etc/network/interfaces causes eth0 to not auto-start

    I'm running Ubuntu 9.10 inside a VMWare Workstation VM using the NAT networking settings. Per the instructions here, I tried to configure a static IP setup for my Ubuntu system on the virtual network of the host by changing the /etc/network/interfaces file. Here's what mine looks like:
    Code:
    auto lo
    iface lo inet loopback
    
    iface eth0 inet static
    address 192.168.67.100
    netmask 255.255.255.0
    gateway 192.168.67.2
    Here is the output of "route":
    Code:
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    192.168.67.0    *               255.255.255.0   U     1      0        0 eth0
    link-local      *               255.255.0.0     U     1000   0        0 eth0
    default         192.168.67.2    0.0.0.0         UG    0      0        0 eth0
    Can anybody spot what I'm doing wrong in the config file? I am certain that it is the issue as eth0 starts up fine when I comment out my changes.

    P/S: the DHCP range of the virtual network adapter in question is 192.168.67.[128-254]

  2. #2
    Join Date
    Jan 2006
    Location
    Not heaven... Iowa
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: custom /etc/network/interfaces causes eth0 to not auto-start

    Try adding a line:
    Code:
    auto eth0
    Linux User #415691 Ubuntu User #8629
    Iowa Team (LoCo): [Wiki] [Launchpad]
    IRC channel: #ubuntu-us-ia on irc.freenode.net

  3. #3
    Join Date
    Feb 2008
    Beans
    25

    Re: custom /etc/network/interfaces causes eth0 to not auto-start

    Quote Originally Posted by Iowan View Post
    Try adding a line:
    Code:
    auto eth0
    Thanks! That worked!

Tags for this Thread

Bookmarks

Posting Permissions

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