From owner-freebsd-hackers@FreeBSD.ORG Wed Apr 13 17:25:37 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 16C1F16A4CE for ; Wed, 13 Apr 2005 17:25:37 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id A05E843D54 for ; Wed, 13 Apr 2005 17:25:36 +0000 (GMT) (envelope-from mrparsons@gmail.com) Received: by rproxy.gmail.com with SMTP id a41so205806rng for ; Wed, 13 Apr 2005 10:25:36 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=bFq752yPDJVl4+JXY6U4ediK2ne/LU53+TzCGlhAjWieEMz3hLzJAa8sdomf3Gt/XjtTgSHbVu85XlB1/Xb0Y/gBsd4I/cJlEiUsBbaEeb6oTjhhaj/3SC4KmkG58LZAUhJphME1KOcurRJgCaS7s4aWvQTGvB+Y9iyjkT++eKw= Received: by 10.38.68.47 with SMTP id q47mr765511rna; Wed, 13 Apr 2005 10:25:12 -0700 (PDT) Received: by 10.38.86.22 with HTTP; Wed, 13 Apr 2005 10:25:11 -0700 (PDT) Message-ID: Date: Wed, 13 Apr 2005 13:25:11 -0400 From: "M. Parsons" To: freebsd-hackers@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Route/arp help? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "M. Parsons" List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2005 17:25:37 -0000 To access my dsl modem's line stats page, I have to create an arp entry and a route for it, under linux this was done as: (eth1 connected directly to dsl modem) ifconfig eth1 10.0.0.2 netmask 255.255.255.0 route add 10.0.0.1 dev eth1 arp -s 10.0.0.1 ffffffffffffffffff (not really fffff, but the MAC address of the dsl modem, NOT the nic). unfortunately, I cant seem to figure out the commands to get this to work under FreeBSD 5.3 Ifconfig is simple enough (replace eth1 with de0 in my case) Arp seems the same (except it needs colons) But the route command I have no clue. It doesnt seem to follow the same syntax as linux, and I havent figured out the correct syntax yet. Any help? Thanks, Mark