Re: to route a source address

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rimas,

I have noticed you asking a few questions to the list in the last few days 
about the use of "ip route".

The short answer on this one is:

# ip route add $DESTINATION from $SOURCE via $GATEWAY

Might I suggest the following:

My doc:

  http://plorf.net/linux-ip/   See appendix F -- "ip route"

The iproute2 manual:

  http://defiant.coinet.com/iproute2/ip-cref/   here, as HTML

Good luck,

-Martin

 : Hi folks,
 : 
 : How with "ip route" to route source address?
 : 
 : for example I want to route an internal (local) address to go via
 : specific gateway?
 : 
 : Thank you
 : 
 : Rimas
 : 

-- 
Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux