From owner-freebsd-questions Mon Jul 16 18:18:26 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.guest-tek.com (mail.guesttek.com [139.142.1.74]) by hub.freebsd.org (Postfix) with ESMTP id 0EFBB37B409 for ; Mon, 16 Jul 2001 18:15:43 -0700 (PDT) (envelope-from peter@guest-tek.com) Received: from localhost ([139.142.135.115]) by mail.guest-tek.com (8.9.3/8.8.7) with ESMTP id TAA30503 for ; Mon, 16 Jul 2001 19:12:47 -0600 Message-Id: <200107170112.TAA30503@mail.guest-tek.com> Date: Mon, 16 Jul 2001 19:15:42 -0600 Content-Type: text/plain; format=flowed; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v388) From: Peter Warrick To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.388) Content-Transfer-Encoding: 7bit Subject: Routing Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Ok.. Hopefully I have sent this to the right place. I sent in a question to freebsd-net earlier but maybe some clarification here might help. I am trying to reproduce the same functionality that I have achieved on Redhat Linux on a BSD box. In Redhat linux if I issue these commands.. ifconfig eth1:0 1.2.3.1 netmask 255.255.255.255 route add -host 1.2.3.4 dev eth1:0 A computer connected to my BSD box (1.2.3.4) can then start pinging 1.2.3.1 immediately. Additionally this does NOT bring the entire 1.2.3.x subnet onto my BSD box and this is what I want. I simply want to route these two IPs together so they can talk to each other. On BSD I have tried the following without success... ifconfig en1 1.2.3.1 netmask 255.255.255.255 broadcast 1.255.255.255 alias route add -host 1.2.3.4 -interface en1 I added the broadcast to the ifconfig line in BSD because I noticed in linux my broadcast was 1.255.255.255 by default and BSD wasn't doing this. Yet this still did not help. Is there anything else someone may suggest that I need to do to get this working? Again I have this working on my Redhat Linux box but not my BSD box and I am kind of under the gun to prove that it can be done in BSD as it has been done in Redhat. Thanks guys for any help. Pete To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message