From owner-freebsd-questions Wed Nov 15 05:29:50 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id FAA27647 for questions-outgoing; Wed, 15 Nov 1995 05:29:50 -0800 Received: from gw.muc.ditec.de (gw.muc.ditec.de [194.120.126.3]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id FAA27638 for ; Wed, 15 Nov 1995 05:29:42 -0800 Received: from tartufo.muc.ditec.de (tartufo.muc.ditec.de [134.98.18.2]) by gw.muc.ditec.de (8.6.11/8.6.9) with SMTP id OAA13669; Wed, 15 Nov 1995 14:29:25 +0100 Received: by tartufo.muc.ditec.de (/\=-/\ Smail3.1.16.1 #16.39) id ; Wed, 15 Nov 95 14:30 MET Message-Id: Date: Wed, 15 Nov 95 14:30 MET From: me@tartufo.muc.ditec.de (Michael Elbel) To: wollman@lcs.mit.edu Cc: questions@freebsd.org Subject: Re: How do I setup IP aliases? Newsgroups: lists.freebsd.questions References: <199511132338.SAA18438@iii1.iii.net> <9511141818.AA23322@halloran-eldar.lcs.mit.edu> Reply-To: me@gw.muc.ditec.de X-Newsreader: NN version 6.5.0 #1 (NOV) Sender: owner-questions@freebsd.org Precedence: bulk In lists.freebsd.questions you write: >This should be in the FAQ. >To support multiple IP addresses on a single interface, you must first >examine the situation closely. In almost every situation, you will >fall into one of these two cases: >1) Multiple logical IP subnets on a single wire. In this case, use >the following commands: > ifconfig de0 inet xxx.yyy.zzz.aaa netmask mmm.nnn.ooo.ppp > ifconfig de0 alias inet bbb.ccc.ddd.eee netmask qqq.rrr.sss.ttt >2) Multiple logical IP hosts on the same IP subnet. In this case, use >the following commands: > ifconfig de0 inet xxx.yyy.zzz.aaa netmask mmm.nnn.ooo.ppp > ifconfig de0 alias inet xxx.yyy.zzz.bbb netmask 255.255.255.255 That's interesting. I'm running multiple logical subnets on the same wire with netmask 0xffffffff with no problem. I.e. ifconfig de0 134.98.17.10 netmask 0xffffff00 ifconfig de0 alias 134.98.18.10 netmask 0xffffffff ifconfig de0 alias 134.98.19.10 netmask 0xffffffff Should I expect problems, or am I understanding something wrong? Michael -- Michael Elbel, DITEC, Muenchen, Germany - me@muc.ditec.de Fermentation fault (coors dumped)