From owner-freebsd-questions Fri Jun 16 12:29: 1 2000 Delivered-To: freebsd-questions@freebsd.org Received: from babel.serve.com (babel.serve.com [207.8.152.105]) by hub.freebsd.org (Postfix) with ESMTP id D33FC37B828 for ; Fri, 16 Jun 2000 12:28:55 -0700 (PDT) (envelope-from root@babel.serve.com) Received: by babel.serve.com (Postfix, from userid 0) id 0B8F664C0E; Fri, 16 Jun 2000 15:28:55 -0400 (EDT) Date: Fri, 16 Jun 2000 15:28:55 -0400 From: root oh yeah To: freebsd-questions@freebsd.org Subject: static route / interface question Message-ID: <20000616152855.A559@babel.serve.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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