From owner-freebsd-questions Sun Apr 19 15:29:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA26584 for freebsd-questions-outgoing; Sun, 19 Apr 1998 15:29:38 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ri.vh.choin.net (ri.vh.choin.net [194.64.24.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA26496 for ; Sun, 19 Apr 1998 22:29:20 GMT (envelope-from turnwald@orange.ma.choin.net) Received: from orange.ma.choin.net (turnwald@orange.ma.choin.net [194.64.24.81]) by ri.vh.choin.net (8.8.7/8.8.7) with ESMTP id AAA03311 for ; Mon, 20 Apr 1998 00:29:20 +0200 (CEST) Received: (from turnwald@localhost) by orange.ma.choin.net (8.8.7/8.8.7) id AAA15188; Mon, 20 Apr 1998 00:27:15 +0200 (CEST) Message-ID: <19980420002715.39343@orange.ma.choin.net> Date: Mon, 20 Apr 1998 00:27:15 +0200 From: Robert Turnwald To: freebsd-questions@FreeBSD.ORG Subject: arp -s only for one ed-interface Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88e X-Disclaimer: nothing to say here: read the mail. Organisation: What _I_ say is what _I_ think Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi FreeBSD-people, on a Linux-system there is a -i option for the "arp"-command. With this option I can specify an interface, e. g. # arp -i eth0 pub How can I do this with FreeBSD? my problem: I have to route a few IPs to an internal network. The router has to know which packets he has to route, so I use the "arp" command. 1. route add -host -interface ed1 2. # arp -s pub But now the route (1.) shows to ed0, and I can not specify a certain Interface with the arp-command (this works with Linux) Is there any solution? thanks bye robert. -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-= r o b e r t t u r n w a l d r.turnwald@choin.net or reply ! -=-=-=-=-=-=-=-=-=-=-=-=-=-=-= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message