[buug] which ip to send from

Bill Honeycutt wfhoney at pacbell.net
Fri Aug 8 11:50:44 PDT 2003


Aaron T Porter wrote:

> On Fri, Aug 08, 2003 at 11:08:32AM -0700, johnd wrote:
> 
>>they are both on the same subnet
>>
>>so I'm assuming I'll do something like
>>
>>route add -host [ip of dest box] gw [my box]
> 
> 
> or:
> route add -host destination-1.com gw my-ip.com dev eth0
> route add -host destination-2.com gw my-ip.com dev eth1

Would the following work.

route add -hose destination-2.com gw my-ip2.com dev eth0:2

... assuming the IP was set up as with my-ip2.com routing through the 
second IP set up with ifeth0:2?




More information about the buug mailing list