From owner-freebsd-hackers@FreeBSD.ORG Wed Apr 13 23:38:55 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 A3C1F16A4CE for ; Wed, 13 Apr 2005 23:38:55 +0000 (GMT) Received: from wattres.watt.com (wattres.watt.com [66.93.133.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5480843D54 for ; Wed, 13 Apr 2005 23:38:55 +0000 (GMT) (envelope-from steve@Watt.COM) Received: from wattres.watt.com (localhost.watt.com [127.0.0.1]) by wattres.watt.com (8.13.3/8.13.1) with ESMTP id j3DNctr4072516 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 13 Apr 2005 16:38:55 -0700 (PDT) (envelope-from steve@wattres.watt.com) Received: (from steve@localhost) by wattres.watt.com (8.13.3/8.13.3/Submit) id j3DNctL8072515; Wed, 13 Apr 2005 16:38:55 -0700 (PDT) (envelope-from steve) Message-Id: <200504132338.j3DNctL8072515@wattres.watt.com> X-Newsgroups: local.freebsd-hackers In-Reply-To: References: <425D87CD.2020504@OTEL.net> Organization: Watt Consultants From: steve@Watt.COM (Steve Watt) Date: Wed, 13 Apr 2005 16:38:55 -0700 X-Mailer: Mail User's Shell (7.2.6 beta(5) 10/07/98) To: mrparsons@gmail.com X-Archived: 1113435535.107883441@wattres.Watt.COM X-Virus-Scanned: ClamAV 0.83/827/Wed Apr 13 14:02:27 2005 on wattres.Watt.COM X-Virus-Status: Clean cc: freebsd-hackers@freebsd.org Subject: Re: Route/arp help? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list 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 23:38:55 -0000 In article you write: >On 4/13/05, Iasen Kostov wrote: >> M. Parsons wrote: >> > >> >Honestly I have no clue why its not working, it should be simple, but >> >it isnt.. Here is what the arp cache shows and the routing table (and >> >its ed0, not de0, my mistake in original message). >> > >> >arp: (after doing the arp -s command) >> > >> >modem (10.0.0.1) at 00:0b:23:2a:b0:c4 on ed0 permanent [ethernet] >> > >> Why do you set mac address static at all ? > >Huh? I dont understand what youre saying. He's wondering why ARP doesn't just work. >The only command I typed was arp -s 10.0.0.1 00:0b:23:2a:b0:c4 , which >creates the arp address I should want. (my modems mac address is >00:0b:etc) > >The only thing I can possibly seeing as being screwed up, is seeing as >I have a default gateway, when I do a "telnet 10.0.0.1" its using my >internet gateway instead of the ed0 device. Which is why I thought I >needed a route command to force a 10.0.0.1 connection to go through >ed0. (linux needed the route command...) > >Oh well, Ive probably confused you, and myself as well. :-) I think you're trying to over-complexify the problem. All you really need to do is: # ifconfig ed0 alias 10.0.0.2/24 # telnet 10.0.0.1 No silly route commands, no forcing of ARP. Just add the IP address to the interface and do your connect. My guess is that the same is true in Linux, but I don't know the exact syntax there. -- Steve Watt KD6GGD PP-ASEL-IA ICBM: 121W 56' 57.8" / 37N 20' 14.9" Internet: steve @ Watt.COM Whois: SW32 Free time? There's no such thing. It just comes in varying prices...