Timeline for Ubuntu static IP alias (dhcp/router independent)
Current License: CC BY-SA 2.5
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 12, 2009 at 13:47 | vote | accept | Dave McClelland | ||
Aug 27, 2009 at 19:44 | history | edited | jtimberman | CC BY-SA 2.5 |
good idea to bring up the interface
|
Aug 27, 2009 at 19:04 | comment | added | Dave McClelland | Don't bother trying to decipher the file in the comment. I edited my OP and added the interfaces file | |
Aug 27, 2009 at 19:00 | comment | added | Dave McClelland | 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? | |
Aug 27, 2009 at 18:35 | comment | added | jtimberman | Updated with an alias interface, see the interfaces(5) man page for more information on options you can set in the file. | |
Aug 27, 2009 at 18:35 | history | edited | jtimberman | CC BY-SA 2.5 |
add virtual/alias interface
|
Aug 27, 2009 at 18:32 | comment | added | Dave McClelland | 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? | |
Aug 27, 2009 at 18:26 | history | answered | jtimberman | CC BY-SA 2.5 |