LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-19-2008, 09:40 PM   #1
Tons of Fun
Member
 
Registered: Dec 2004
Location: Orlando, Florida
Distribution: Debian Wheezy / BackTrack 5/ Linux Mint 17
Posts: 379

Rep: Reputation: 37
What is eth2:avah


I have recently installed Debian Etch on a Laptop. Tonight, when I was in a public wifi hotspot, I was looking at ifconfig and noticed an interface that looked odd. I have googled this and can not find an answer to what it is. The interface is eth2:avah. I have eth1 which is my wireless adapter, and eth2 which is my wired ethernet port. I am using eth1 and occasionally use eth2, but not tonight. Does anyone know what eth2:avah is?

Thanks,
 
Old 06-19-2008, 10:16 PM   #2
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
The ':' notation is for "virtual interfaces". I've never seen anyone use alpha characters before though; usually it's just single digits like 'eth0:0'.

Basically, once an interface is up (like 'eth0') you can bring up other interfaces on the same NIC - but different IP/subnet/etc:

auto eth0 eth0:0
iface eth0 inet dhcp
iface eth0:0 inet static
(put in the address, netmask, etc for eth0:0)

It's strange, but it has its uses.
 
Old 06-20-2008, 07:44 AM   #3
Tons of Fun
Member
 
Registered: Dec 2004
Location: Orlando, Florida
Distribution: Debian Wheezy / BackTrack 5/ Linux Mint 17
Posts: 379

Original Poster
Rep: Reputation: 37
Thanks for the reply. I have seen interfaces set up like that (didn't know what it was), but if I didn't set it up, what could have set it up? It just appeared after about 3 weeks after install. Also, if I had a use for this, such as a few IP addresses listening on the same nic, how would I set this up?
 
Old 06-20-2008, 08:28 AM   #4
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
You might have installed some software which set up the virtual interface for something else. To set up your own, just add more line to /etc/network/interfaces like in the previous post. The only condition is that the real interface (like 'eth0') must be configured before any virtual interfaces can be brought 'up'.
 
Old 06-20-2008, 11:51 AM   #5
LordAnta
Member
 
Registered: Apr 2008
Location: Bucharest, Romania
Distribution: Slackware current
Posts: 126

Rep: Reputation: 17
Weird. I was reading your post and, guess what, i found a ath0:avah configured on my system. Weird, cause a few days ago it wasn't there. I have VirtualBox installed, but i installed it ages ago and there wasn't any ath0:avah.

Running Debian 4.0rc2 Etch, kernel 2.6.22-4-686.
 
Old 06-20-2008, 06:03 PM   #6
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
Well, the culprit is "Avahi"; from the description in the Debian package:

(quote)
Avahi is a fully LGPL framework for Multicast DNS Service Discovery.
It allows programs to publish and discover services and hosts running on a local network with no specific configuration. For example you can plug into a network and instantly find printers to print to, files to look at and people to talk to.
(endquote)
 
Old 06-21-2008, 10:15 AM   #7
Tons of Fun
Member
 
Registered: Dec 2004
Location: Orlando, Florida
Distribution: Debian Wheezy / BackTrack 5/ Linux Mint 17
Posts: 379

Original Poster
Rep: Reputation: 37
Very nice, thank you. I tried Google and Google/linux and found many listings with ethx:avah, but none describing what it was. The 'not knowing' was bothering me.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
failed to bring up eth2 mwagz Linux - Networking 1 01-31-2007 02:41 AM
[SOLVED] eth1 and eth2 keeps interchanging vharishankar Debian 6 03-08-2006 03:46 AM
need eth2 to be eth0 frkstein Linux - Networking 1 04-27-2005 07:17 PM
add eth2 varun_saa Mandriva 9 01-14-2005 09:04 AM
eth2 briankb713 Linux - Hardware 0 01-04-2005 08:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration