From owner-freebsd-hackers Fri Oct 22 0:14:46 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from relay.ucb.crimea.ua (UCB-Async4-CRISCO.CRIS.NET [212.110.129.130]) by hub.freebsd.org (Postfix) with ESMTP id B7DB514A2E for ; Fri, 22 Oct 1999 00:12:55 -0700 (PDT) (envelope-from ru@ucb.crimea.ua) Received: (from ru@localhost) by relay.ucb.crimea.ua (8.9.3/8.9.3/UCB) id UAA86885; Thu, 21 Oct 1999 20:29:57 +0300 (EEST) (envelope-from ru) Date: Thu, 21 Oct 1999 20:29:57 +0300 From: Ruslan Ermilov To: Graham Wheeler Cc: hackers@FreeBSD.org Subject: Re: aliasing a point-to-point interface Message-ID: <19991021202957.C83927@relay.ucb.crimea.ua> Mail-Followup-To: Graham Wheeler , hackers@FreeBSD.org References: <99102118512208.17915@cequrux.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <99102118512208.17915@cequrux.com>; from Graham Wheeler on Thu, Oct 21, 1999 at 06:50:07PM +0200 X-Operating-System: FreeBSD 3.3-STABLE i386 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 Cheers, -- Ruslan Ermilov Sysadmin and DBA of the ru@ucb.crimea.ua United Commercial Bank, ru@FreeBSD.org FreeBSD committer, +380.652.247.647 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message