LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-20-2006, 02:17 PM   #1
psychobyte
Member
 
Registered: Sep 2003
Location: Central Coast, California
Posts: 179

Rep: Reputation: 30
arpwatch on dual-homed PC


Hi,

I know that you can specify an interface with the -i switch on arpwatch. Is it possible to have arpwatch listen on 2 interfaces at once. I didn't see anything in the man pages about this.

Thanks
 
Old 01-20-2006, 03:18 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Which distro are you using?

I have Gentoo here, and it seems you need to start the program once for each interface. ie:
Code:
IFACES="eth0 eth1"
for IFACE in ${IFACES}
do
        DATAFILE=/var/lib/arpwatch/${IFACE}.dat
        arpwatch -i $IFACE -f /var/lib/arpwatch/$IFACE.dat
done
 
  


Reply



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
dual homed network cards hrmwinn Linux - Networking 1 08-17-2005 01:51 PM
Linux routing on a dual homed pc friendklay Linux - Networking 4 06-08-2005 09:01 AM
Dual-homed machine gubak Linux - Newbie 4 07-28-2004 01:53 AM
Dual Homed server / Two ISPs GuitsBoy Linux - Networking 3 01-13-2004 03:37 PM
Quick dual-homed networking question... WeNdeL Linux - Networking 19 05-21-2003 04:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:16 AM.

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
Open Source Consulting | Domain Registration