Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jun 2000 15:28:55 -0400
From:      root oh yeah <root@babel.serve.com>
To:        freebsd-questions@freebsd.org
Subject:   static route / interface question
Message-ID:  <20000616152855.A559@babel.serve.com>

next in thread | raw e-mail | index | archive | help
I'm trying to set up what I think should be straightforward, but
I can't seem to get it to work.

I have two ethernet cards, one connected to local network & my
internet gateway.  I have another card connected to a seperate local
network (which a number of the same machines are connected to).
Each has its own ip.  I need to enter the proper route command to
be able to access a particular machine only on the second local network, 
through the second interface (xl0).  


route add -host xxx.xxx.xxx.xxx -interface xl0

doesn't work,

route add -host xxx.xxx.xxx.xxx yyy.yyy.yyy.yyy 
where yyy.yyy.yyy.yyy is the ip assigned to xl0,  

doesn't work,

route add -host xxx.xxx.xxx.xxx yyy.yyy.yyy.yyy -interface xl0

also doesn't work.

What's the correct syntax for this, or am I just confused?
--j 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000616152855.A559>