From owner-freebsd-hackers Fri Oct 22 1: 6:14 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 8AF2D14ECB for ; Fri, 22 Oct 1999 01:06:02 -0700 (PDT) (envelope-from gram@cequrux.com) Received: (from nobody@localhost) by citadel.cequrux.com (8.9.3/8.9.3) id KAA29061; Fri, 22 Oct 1999 10:04:30 +0200 (SAST) Received: by citadel.cequrux.com via recvmail id 29058; Fri Oct 22 10:03:41 1999 From: Graham Wheeler To: Ruslan Ermilov , Graham Wheeler Subject: Re: aliasing a point-to-point interface Date: Fri, 22 Oct 1999 09:58:44 +0200 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain Cc: hackers@FreeBSD.ORG References: <99102118512208.17915@cequrux.com> <19991021202957.C83927@cequrux.com> In-Reply-To: <19991021202957.C83927@cequrux.com> MIME-Version: 1.0 Message-Id: <9910220959290C.17915@cequrux.com> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 21 Oct 1999, Ruslan Ermilov wrote: > On Thu, Oct 21, 1999 at 06:50:07PM +0200, Graham Wheeler wrote: > > Hi all > > > > Is it possible to assign an IP alias to a point to point interface (in my case, > > a sync PPP interface)? It doesn't seem to be possible, but perhaps I'm > > missing something... > > Yup, that's possible but is somewhat tricky: > > # ifconfig ptpN inet X.X.X.X X.X.X.X alias > # route delete -host X.X.X.X > # route add -host X.X.X.X -gateway 127.1 > # ping X.X.X.X I should have mentioned that ip forwarding is turned off so that routing via the loopback interface is not an option... -- 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