From owner-freebsd-hackers Fri Oct 22 5:41:13 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from citadel.cequrux.com (citadel.cdsec.com [192.96.22.18]) by hub.freebsd.org (Postfix) with ESMTP id CC28414CC0 for ; Fri, 22 Oct 1999 05:41:01 -0700 (PDT) (envelope-from gram@cequrux.com) Received: (from nobody@localhost) by citadel.cequrux.com (8.9.3/8.9.3) id OAA01011; Fri, 22 Oct 1999 14:39:56 +0200 (SAST) Received: by citadel.cequrux.com via recvmail id 944; Fri Oct 22 14:39:13 1999 From: Graham Wheeler To: Ruslan Ermilov Subject: Re: aliasing a point-to-point interface Date: Fri, 22 Oct 1999 14:33:59 +0200 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain References: <99102118512208.17915@cequrux.com> <9910221201410E.17915@cequrux.com> <19991022133244.B10699@relay.ucb.crimea.ua> In-Reply-To: <19991022133244.B10699@relay.ucb.crimea.ua> Cc: hackers@freebsd.org MIME-Version: 1.0 Message-Id: <9910221435020H.17915@cequrux.com> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 22 Oct 1999, you wrote: > What does `netstat -rn | grep ' show you after each command? > Are you running some routing software? GateD? routed? Before I begin, with the link configured with ifconfig ar0 inet 192.96.22.18 196.7.70.1 up: Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 196.7.70.1 UGSc 52 0 ar0 127.0.0.1 127.0.0.1 UH 17 516 lo0 196.7.70.1 192.96.22.18 UH 53 0 ar0 After ifconfig ar0 inet 192.96.22.21 192.96.22.21 alias: Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 196.7.70.1 UGSc 13 1 ar0 127.0.0.1 127.0.0.1 UH 15 106 lo0 192.96.22.21 192.96.22.21 UH 0 0 ar0 196.7.70.1 192.96.22.18 UH 14 0 ar0 After route delete -host 192.96.22.21: Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 196.7.70.1 UGSc 13 1 ar0 127.0.0.1 127.0.0.1 UH 15 106 lo0 196.7.70.1 192.96.22.18 UH 14 0 ar0 After route add -host 192.96.22.21 127.1: Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 196.7.70.1 UGSc 17 1 ar0 127.0.0.1 127.0.0.1 UH 17 118 lo0 192.96.22.21 127.0.0.1 UGHS 0 0 lo0 196.7.70.1 192.96.22.18 UH 18 0 ar0 I'm not running any routing daemons; all routes are static. -- Dr Graham Wheeler E-mail: gram@cequrux.com Cequrux Technologies Phone: +27(21)423-6065/6/7 Firewalls/Virtual Private Networks Fax: +27(21)24-3656 Data/Network Security Specialists WWW: http://www.cequrux.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message