Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • With this, will I also be able to use the automatic interfaces that detect what network I'm on and set up proper internet access as well as keep the alias that I set up? Commented Aug 27, 2009 at 18:32
  • Updated with an alias interface, see the interfaces(5) man page for more information on options you can set in the file.
    – jtimberman
    Commented Aug 27, 2009 at 18:35
  • I know this shouldn't be so complicated, but the following isn't working: auto eth0 iface eth0 inet dhcp iface eth0:0 inet static address 10.0.0.100 network 10.0.0.0 netmask 255.255.255.0 broadcast 10.0.0.255 gateway 10.0.0.1 After I edit the file, I run sudo /etc/init.d/networking restart, but the new interface does not show up. Any thoughts? Commented Aug 27, 2009 at 19:00
  • Don't bother trying to decipher the file in the comment. I edited my OP and added the interfaces file Commented Aug 27, 2009 at 19:04