From owner-freebsd-net Sun Nov 17 14: 0: 0 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1222737B404 for ; Sun, 17 Nov 2002 13:59:59 -0800 (PST) Received: from tokyo.ccrle.nec.de (tokyo.ccrle.nec.de [195.37.70.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3041243E42 for ; Sun, 17 Nov 2002 13:59:57 -0800 (PST) (envelope-from Martin.Stiemerling@ccrle.nec.de) Received: from ftp.ccrle.nec.de (ftp.ccrle.nec.de [195.37.70.21]) by tokyo.ccrle.nec.de (8.11.6/8.11.6) with ESMTP id gAHLxtY71657; Sun, 17 Nov 2002 22:59:56 +0100 (CET) (envelope-from Martin.Stiemerling@ccrle.nec.de) Received: from ccrle.nec.de ([204.42.66.197]) (authenticated bits=0) by ftp.ccrle.nec.de (8.12.6/8.12.3) with ESMTP id gAHLxckh025095; Sun, 17 Nov 2002 21:59:51 GMT (envelope-from Martin.Stiemerling@ccrle.nec.de) Message-ID: <3DD8110D.7020904@ccrle.nec.de> Date: Sun, 17 Nov 2002 22:58:37 +0100 From: Martin Stiemerling Organization: NEC User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0rc3) Gecko/20020619 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Karl Timmermann Cc: freebsd-net@FreeBSD.ORG Subject: Re: Arp and Route Commands References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Karl, try man arp man route on your FreeBSD system. Martin Karl Timmermann wrote: > Hello, > > I'm new to the list and was hoping maybe someone could help me. These > commands work in Linux (and in this order), but not in FreeBSD/Mac OS X > as the arp and route commands are different: > > arp -s 10.10.10.0 00:00:ca:13:4b:54 -i eth1 > arp -s 10.10.10.0 00:00:ca:13:4b:54 -i eth1 > route add -net 10.10.10.0 netmask 255.255.255.0 dev eth1 > route add default gw 10.10.10.0 dev eth1 > > anyone know how i would change these commands to work with the FreeBSD > versions of arp and route? > > > Thanks! > > Karl > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message