From owner-freebsd-questions Wed May 23 10:32:16 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.tiscalinet.it (mail-4.tiscalinet.it [195.130.225.150]) by hub.freebsd.org (Postfix) with ESMTP id 43C0737B423 for ; Wed, 23 May 2001 10:32:13 -0700 (PDT) (envelope-from ocnlba@tin.it) Received: from nuovo (62.11.1.101) by mail.tiscalinet.it (5.5.025) id 3AB891BB00DDF1D7 for freebsd-questions@FreeBSD.org; Wed, 23 May 2001 19:32:10 +0200 Message-ID: <000c01c0e3ae$b9cd0650$65010b3e@nuovo> From: "paffio" To: Subject: problems with a gateway Date: Wed, 23 May 2001 19:34:27 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 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 Hi, I hope you can help me!! I've a lan with some hosts. I want that all the packets going from the host A to the host B don't go directly to it but through the host G. I did it, but I've a problem with my configuration, it works only a time. I did this (A,B,G are the IP addresses): host A : route add B G host B : gateway_enable="YES" (/etc/rc.conf) Now, if I execute "traceroute B" on the host A, it works, that's the resulting route is A-G-B. On the contrary the second time it is: A-B. I executed also "netstat -r", the first time there is the right entry destination gateway ...... B G ...... the second time it is so splitted: destination gateway ...... B B_ethernet_address ...... G G_ethernet_address ... Can I avoid this splitting ? I'd like to have forever the first entry, is it possible ? hi paffio To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message