LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux > 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

Tags used in this thread
Popular LQ Tags , , ,

Reply
 
Thread Tools
Old 10-22-2009, 02:50 AM   #1
sfohelp
LQ Newbie
 
Registered: Oct 2009
Posts: 2
Thanked: 0
how to setup 2 separate net cards


[Log in to get rid of this advertisement]
I am building a network monitor/analyser in a linux box (Ubuntu server 8). It basically logs ip traffic.

I have installed two network cards, and they are identified by the system
as eth0 and eth2. My problem is I want them to be completely independent of each other - each with its own ip, etcetera. When I
try to do this, it looks like it should work, but the physical cards
respond to each others ip address. This is confusing. I want one
card to be my regular LAN connection, the other to be dedicated
to data collection (promiscuous mode).

Any ideas on why this might be happening, and where I should look to
fix it? Thanks for your attention.

Last edited by sfohelp; 10-22-2009 at 02:53 AM..
windows_xp_2003 sfohelp is offline  
Tag This Post , , ,
Reply With Quote
Old 10-22-2009, 04:59 AM   #2
business_kid
Member
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware 122/Slamd64
Posts: 727
Thanked: 45
Let me clarify: your problem is that

1. the shortest route between your 2 cards is along the pci bus, and the pc has noticed that.
or
2. card a responds to the ip for card b?
Suggestions
1. Maybe a virtual box for eth2? Maybe another box for eth2?
2. Have you ethernet bridging set up? Are they both logged into the same server? What does your routing table show?
linux business_kid is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
How do you have separate wallpapers on GNOME w/ multimonitor setup? Thaidog Linux - Desktop 6 01-02-2009 04:58 PM
Two Separate Hostnames and IP Addresses on two NIC cards kaplan71 Suse/Novell 3 04-21-2006 06:24 PM
RH Hosting on two separate NIC cards mikerock Red Hat 2 05-09-2005 09:57 PM
Two screens on separate graphic-cards. Possible on linux? Ac1db0rN Linux - Software 2 03-13-2005 10:16 AM
I have two net cards but only shows eth0 dexter_modem Slackware 3 07-04-2003 01:10 AM


All times are GMT -5. The time now is 09:24 AM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration