From owner-freebsd-questions Tue Aug 27 01:25:31 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA23704 for questions-outgoing; Tue, 27 Aug 1996 01:25:31 -0700 (PDT) Received: from yoss.canweb.net (root@yoss.canweb.net [207.0.185.8]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id BAA23699 for ; Tue, 27 Aug 1996 01:25:26 -0700 (PDT) From: satan@yoss.canweb.net Received: (from satan@localhost) by yoss.canweb.net (8.6.12/8.6.12) id EAA18066 for questions@freebsd.org; Tue, 27 Aug 1996 04:17:18 -0400 Date: Tue, 27 Aug 1996 04:17:18 -0400 Message-Id: <199608270817.EAA18066@yoss.canweb.net> To: questions@freebsd.org Subject: having trouble with ip aliasing Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi! I am having trouble configuring my server for virtual ips. Its 'main' ip is 152.160.182.16 (ifconfig) I do the following ifconfig ed0 inet 152.160.5.1 alias route add -host 152.160.5.1 localhost The route command fails with 'file exists' error, and I cant ping the server on 152.160.5.1, even from a local machine (same LAN). Now, I have no problem aliasing to ips on same subnet, ie., aliasing to 152.160.182.224, for example. So I suspect this is a problem with netmask on ifconfig, but I cant figure out what it should be. Thanks, --Stan