From owner-freebsd-net Mon Dec 21 20:14:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA19118 for freebsd-net-outgoing; Mon, 21 Dec 1998 20:14:35 -0800 (PST) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from mail.pinboard.com (mail.pinboard.com [194.209.195.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA19112 for ; Mon, 21 Dec 1998 20:14:32 -0800 (PST) (envelope-from Kurt@pinboard.com) Received: (from uucp@localhost) by mail.pinboard.com (8.9.1/8.9.1/19980920-01/KK) with UUCP id FAA29054 for net@FreeBSD.ORG; Tue, 22 Dec 1998 05:14:28 +0100 (CET) (envelope-from: Kurt@pinboard.com) Received: from beaver.pbdhome.pinboard.com ([192.168.0.7]) by squirrel.pbdhome.pinboard.com (8.9.1/8.9.1-19980817-01/KK) with SMTP id XAA01540 for ; Mon, 21 Dec 1998 23:00:58 +0100 (CET) (envelope-from: Kurt@pinboard.com) Message-Id: <3.0.5.16.19981221225911.439f4d8a@pop.pbdhome.pinboard.com> Organization: PINBOARD - http://www.pinboard.com/ X-Sender: kurt@pop.pbdhome.pinboard.com X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (16) Date: Mon, 21 Dec 1998 22:59:11 To: net@FreeBSD.ORG From: Kurt Keller Subject: IP aliases Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id UAA19114 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On my FreeBSD 2.2.5 server I need to assign at least one more IP address to the ethernet card (only one, not even a slot free for an additional card). So I did ifconfig ed1 inet 192.168.0.8 alias ifconfig -a shows the additional address together with the already assigned one (192.168.0.1) and from other stations, I can also access it. However, on the server itself no route is created (netstat -nr) for this new virtual interface, neither can the server access itself (ping, telnet or anything) on this virtual address. Both addresses, .1 and .8 are on the same subnet. Did I miss something or is this the way FreeBSD is supposed to behave? I often do this kind of stuff on Solaris because there are not enough sbus slots for the number of token ring interfaces required. On Solaris the new virtual interface gets a name of its own (tr0 for the physical interface, tr0:1, tr0:2, tr0:3 etc. for the added virtual ones) and also the route entries are created accordingly. Kurt -- -------------------------------------------------------------------- ¦ Kurt@pinboard.com http://www.pinboard.com/ business ¦ ¦ http://www.pinboard.com/kurt/ private ¦ ¦--------------------------------------------------------------------¦ ¦ Unix and Internet Specialist ¦ -------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message