From owner-freebsd-net Sun Nov 17 14:20:40 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 43F4337B404 for ; Sun, 17 Nov 2002 14:20:38 -0800 (PST) Received: from mets.tcimet.net (news.tci.east-lansing.mi.us [198.109.160.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6FF4C43E91 for ; Sun, 17 Nov 2002 14:20:37 -0800 (PST) (envelope-from timmerk@tcimet.net) Received: from tcimet.net ([207.75.255.59]) by mets.tcimet.net (8.10.2/8.10.2) with ESMTP id gAHMNWJ38086; Sun, 17 Nov 2002 17:23:32 -0500 (EST) Date: Sun, 17 Nov 2002 17:20:33 -0500 Subject: Re: Arp and Route Commands [sorry] Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v548) Cc: freebsd-net@freebsd.org To: "Martin J. Muench" From: Karl Timmermann In-Reply-To: <20021117225844.D280-100000@codito.mine.nu> Message-Id: Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.548) 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 Sorry, I should have tried this out before sending the other email. Your new route comand works, but the arp command says: set: can only proxy for 10.10.10.0 Any ideas? Thanks again, Karl set: can only proxy for 10.10.10.0 On Sunday, November 17, 2002, at 04:59 PM, Martin J. Muench wrote: >> 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? > > arp -s 10.10.10.0 00:00:ca:13:4b:54 > route add -net 0.0.0.0 10.10.10.0 255.255.255.0 > > These should work just fine. > > Btw: reading the manpages arp(8) and route(8) might be a good idea. > > - mjm > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message