Blog
Projects
About
Backtrack:
Blog
›
Bring up a network interface w…
›
Comments
Comments
Bring up a network interface without an IP address in Debian
posted on January 1st 1970, at 01:00
by
lunarg
It is possible to automatically bring up a network interface without any IP address configuration in Debian. This can be useful for e.g. traffic flow monitoring where the interface is subsequently placed in promiscuous mode by software such as tcpdump.
Like always, all network interface configuration is stored in the file /etc/network/interfaces. For the interface you want to bring up without an IP address, add these lines:
iface eth0 inet manualpre-up ifconfig $IFACE uppost-down ifconfig $IFACE down
If the interface is a VLAN interface, the up/down commands must be executed after/before the VLAN hooks, so it should then read:
iface eth0.2 inet manualpost-up ifconfig $IFACE uppre-down if
...
read more
Add a new comment
Your name:
Your e-mail:
Your comment:
Basic BBcode is supported.
Captcha:
Type the letters and numbers as shown.
Not readable?
Get another
.
Tags
computer
windows
software
vmware
microsoft
linux
exchange
hardware
network
news
mac
powershell
home
office365
msoffice
ad
server
sqlserver
dell
soaring
esx
internet
mssql
rds
sbs
events
powercli
terminalserver
virtualization
antivirus
Archive
«
‹
November 2024
›
»
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
Links
-
@harkx
-
Cats & Dogs
-
Jargon-free Security Guide
Quote
«
Safety is not a coincidence.
»
Contact
© 2009-2024 Black Manticore – all rights reserved
code by
lunarg
, design by
SuriAmanah
, hosted at Cats&Dogs