LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-16-2010, 01:32 AM   #1
linuxunix
Member
 
Registered: Mar 2010
Location: California
Distribution: Slackware
Posts: 235

Rep: Reputation: 18
Help on networking?


I have three different ethernet cards from three different vendors. Say I have configured three IPs on three different interfaces.Now If I ping any server how can I know which interfaces is beign used.
 
Old 04-16-2010, 01:51 AM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Uh - by the IP address returned to you by "ping"?

You didn't say whether the IP's were on the same, or different subnets.

And if you want to prefer one address over another, you can always manually configure routing (e.g. "man route").

'Hope that helps .. PSM
 
Old 04-16-2010, 01:54 AM   #3
cola
Senior Member
 
Registered: Sep 2007
Location: Dhaka,Bangladesh
Distribution: Debian
Posts: 1,031

Rep: Reputation: 63
Quote:
Originally Posted by linuxunix View Post
I have three different ethernet cards from three different vendors. Say I have configured three IPs on three different interfaces.Now If I ping any server how can I know which interfaces is beign used.
Can you post:
Code:
ifconfig -a
route -n
ping www.google.com
 
Old 04-16-2010, 01:54 AM   #4
linuxunix
Member
 
Registered: Mar 2010
Location: California
Distribution: Slackware
Posts: 235

Original Poster
Rep: Reputation: 18
what do yu mean by "By IP address returned by "ping"
I am little confused..can yu elaborate?
 
Old 04-16-2010, 02:17 AM   #5
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
You still did not tell the way you have subnetted your network. Are all the three cards configured with addresses on the same network or different?
And if you want to ping other machine from this with multiple card machine, you can either prioritize or tell ping what interface to use to ping the destination.
And if you are pinging this machine from outside, then the source can tell from the ping replies what interface is responding.
 
Old 04-16-2010, 02:56 AM   #6
linuxunix
Member
 
Registered: Mar 2010
Location: California
Distribution: Slackware
Posts: 235

Original Poster
Rep: Reputation: 18
How do we prioritize?
 
Old 04-16-2010, 02:57 AM   #7
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
man route.
 
Old 04-16-2010, 04:15 AM   #8
linuxunix
Member
 
Registered: Mar 2010
Location: California
Distribution: Slackware
Posts: 235

Original Poster
Rep: Reputation: 18
Code:
Are all the three cards configured with addresses on the same network or different?
same network
 
Old 04-16-2010, 08:58 AM   #9
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,547
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Hi,

'How to Ask Questions the Smart Way' would be my first suggestion since you don't seem to know how to compile or respond to queries.

Then look at some of the following links to aid you;

Linux Documentation Project
Rute Tutorial & Exposition <<< Look here first
Linux Command Guide
Utimate Linux Newbie Guide
LinuxSelfHelp
Getting Started with Linux
Advanced Bash-Scripting Guide
Linux Home Networking <<< Second
Virtualiation- Top 10


The above links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!
 
1 members found this post helpful.
  


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
Permissions on script sudo ln -s ../init.d/start-networking S90start-networking cnolasco Ubuntu 3 04-03-2007 09:27 AM


All times are GMT -5. The time now is 02:09 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration