« VirtualCenter 2.5 Update 4 - Performance Overview PluginGood layman's explanation of 'nix make routines »

Bring Up Interface in Debian/Ubuntu Without an IP

02/19/09 | by Brian Fitzhugh [mail] | Categories: Virtualization, Linux

Again, this is one of those simple configs once you've seen it, but it is a bear to track down and find this info. Basically what I want to do here is tell the OS to bring up the interface regardless of it not having an IP assigned to it. Typically linux systems only bring up their interfaces if they have addresses configured for them. Bringing up an address free interface can be handy for network sniffing, virtualization projects, and various bridging configs.

Here's what you need to place in /etc/network/interfaces for the interface you need to bring up (X = your interface number):

auto ethX
iface ethX inet manual
up ifconfig ethX up

No feedback yet

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)
July 2010
Sun Mon Tue Wed Thu Fri Sat
 << <   > >>
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

Search

Friend Connect

XML Feeds

multiblog