From owner-freebsd-questions Sun Sep 29 00:22:10 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA21006 for questions-outgoing; Sun, 29 Sep 1996 00:22:10 -0700 (PDT) Received: from quagmire.ki.net (root@quagmire.ki.net [205.150.102.1]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id AAA20964 for ; Sun, 29 Sep 1996 00:22:06 -0700 (PDT) Received: from spirit.ki.net (root@spirit.ki.net [205.150.102.51]) by quagmire.ki.net (8.7.5/8.7.5) with ESMTP id DAA14770 for ; Sun, 29 Sep 1996 03:22:13 -0400 (EDT) Received: from localhost (scrappy@localhost) by spirit.ki.net (8.7.5/8.7.3) with SMTP id DAA01340 for ; Sun, 29 Sep 1996 03:22:04 -0400 (EDT) X-Authentication-Warning: spirit.ki.net: scrappy owned process doing -bs Date: Sun, 29 Sep 1996 03:22:01 -0400 (EDT) From: "Marc G. Fournier" Reply-To: "Marc G. Fournier" To: questions@freebsd.org Subject: ifconfig alias question... Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi... I've just moved into a new office, that has an existing network/C-class. I'm trying to get my FreeBSD boxes to use some of the available IPs on this network, on top of my existing C-class, and seem to be failing miserably at getting it to work... The scenario is similar to: <---Internet---[Ascend P50]----[My Network] | | <---Internet---[Cisco 2500]----[Office Network] Okay, so ascii diagrams are *not* my strong point :( Basically, we have it setup so that my network can talk to their network, I can nfs-mount drives from their network to my machines, and, if its faster for them to go out my P50 to get to a site on the net, it routes properly... If I try to 'ifconfig alias' one of their IPs onto one of my machines, it will work...but, if I try: /etc/start_if.ed0: #!/bin/sh # Initial configuration ifconfig ed0 inet 205.150.102.51 netmask 255.255.255.0 # Aliases ifconfig ed0 alias 204.101.125.200 netmask 255.255.255.255 when it boots up, I get the following two error messages just after it is doing the "route add default" on boot up, after which it just hangs there: Sep 29 01:56:52 spirit /kernel: arp info overwritten for 205.150.102.1 by \ 00:00:0c:42:66:50 Sep 29 01:56:52 spirit /kernel: arp info overwritten for 205.150.102.254 by \ 00:00:0c:42:66:50 So I'm figuring that I'm missing something in how I'm trying to configure things, but can't seem to narrow it down :( Essentially, we'd like to dual-IP all the boxes on the network so that getting to them remotely can go through either Internet route, at our discretion... Can anyone point out what I'm missing? As I stated, I can do the ifconfig alias commands from the prompt, and they work fine...but I can't have the system boot up and auto-configure them for some reason... thanks for any help/advice in advance... Marc G. Fournier scrappy@ki.net Systems Administrator @ ki.net scrappy@freebsd.org