LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help on networking? (https://www.linuxquestions.org/questions/linux-newbie-8/help-on-networking-802318/)

linuxunix 04-16-2010 12:32 AM

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.

paulsm4 04-16-2010 12:51 AM

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

cola 04-16-2010 12:54 AM

Quote:

Originally Posted by linuxunix (Post 3937193)
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


linuxunix 04-16-2010 12:54 AM

what do yu mean by "By IP address returned by "ping"
I am little confused..can yu elaborate?

linuxlover.chaitanya 04-16-2010 01:17 AM

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.

linuxunix 04-16-2010 01:56 AM

How do we prioritize?

linuxlover.chaitanya 04-16-2010 01:57 AM

man route.

linuxunix 04-16-2010 03:15 AM

Code:

Are all the three cards configured with addresses on the same network or different?
same network

onebuck 04-16-2010 07:58 AM

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

:hattip:
The above links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!


All times are GMT -5. The time now is 11:20 PM.