[buug] which ip to send from

johnd john at jjdev.com
Fri Aug 8 11:08:32 PDT 2003


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]

?

On Fri, Aug 08, 2003 at 11:10:33AM -0700, Aaron T Porter wrote:
> On Fri, Aug 08, 2003 at 10:57:52AM -0700, johnd wrote:
> > If I have a box with one nic and it has two IPs.  Can I specify which
> > one to use?
> > 
> > I have this situation,  the fire wall is set to allow on ip to get to one place
> > and the other ip to another place.  Being that everything goes out on
> > one ip that's a problem.
> 
> 	Google up on static routes.

-- 
Those who do not understand Unix are condemned to reinvent it, poorly.
--Henry Spencer (Usenet signature, November 1987)




More information about the buug mailing list