Subject: RE: Configuring mltiple interfaces.
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: Nitin P Mahajan <Nitin@soc-soft.com>
List: tech-net
Date: 03/08/2004 12:17:35
Hi!

	Could u please specify more such programs.
I am not able to do it with the -r option.

Regards

nitin

-----Original Message-----
From: der Mouse [mailto:mouse@Rodents.Montreal.QC.CA]=20
Sent: Monday, March 08, 2004 11:36 AM
To: Nitin P Mahajan
Cc: tech-net@NetBSD.org
Subject: Re: Configuring mltiple interfaces.

> If we have two network interfaces configured on a NetBSD system,
> How will we select that a particular operation on network has to be
> performed through a desired interface.

> Suppose if I have to do ftp or ping thru a desired interface how will
> I select the interface to be used.

Normally this is controlled by the routing table - packets will leave
via the interface indicated by the route selected for the destination
address.

Some programs, particularly those intended for network debugging, have
options that can control this in more detail (for example, ping's -r
can sometimes do what you want).  Check the individual program's
manpages for details.

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML	       mouse@rodents.montreal.qc.ca
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B