From owner-freebsd-hackers Thu Oct 10 15:08:52 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA20091 for hackers-outgoing; Thu, 10 Oct 1996 15:08:52 -0700 (PDT) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id PAA20080 for ; Thu, 10 Oct 1996 15:08:43 -0700 (PDT) Received: from current1.whistle.com (current1.whistle.com [207.76.205.22]) by alpo.whistle.com (8.7.5/8.7.3) with SMTP id PAA02399; Thu, 10 Oct 1996 15:05:17 -0700 (PDT) Message-ID: <325D72A3.1CFBAE39@whistle.com> Date: Thu, 10 Oct 1996 15:03:15 -0700 From: Julian Elischer Organization: Whistle Communications X-Mailer: Mozilla 3.0b6 (X11; I; FreeBSD 2.2-CURRENT i386) MIME-Version: 1.0 To: Nate Williams CC: "Eric J. Chet" , Ollivier Robert , hackers@freebsd.org Subject: Re: IP ALIASING References: <199610101644.SAA25875@keltia.freenix.fr> <199610101851.MAA16619@rocky.mt.sri.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Nate Williams wrote: > > > Why does this not work with ppp0 under -current? > > > > >ifconfig ppp0 alias 206.103.246.162 netmask 0xffffffff > > >ifconfig: ioctl (SIOCAIFADDR): Destination address required > > I'm guessing point-point links like sl0/ppp0 require two addresses. I > don't think you can alias point-point links, but Bill and/or Garrett > would be better qualified to answer. > you can alias a P2P link if (and only if) the LOCAL address is differnt..... e.g.p0: flags=8010 mtu 1500 inet 1.1.1.1 --> 2.2.2.2 netmask 0xff000000 inet 3.3.3.3 --> 2.2.2.2 netmask 0xff000000 of course this is stupid to hav ehte remote addresses the same, except possibly for multi-link ppp. but that is achieved differntly anyhow.. making Both addresses differnt also workd.. p0: flags=8010 mtu 1500 inet 1.1.1.1 --> 2.2.2.2 netmask 0xff000000 inet 3.3.3.3 --> 4.4.4.4 netmask 0xff000000 what DOESN'T work and should is the following: p0: flags=8010 mtu 1500 inet 1.1.1.1 --> 2.2.2.2 netmask 0xff000000 inet 1.1.1.1 --> 4.4.4.4 netmask 0xff000000 which would be really useful for FRAME RELAY interfaces. > Nate