From owner-freebsd-bugs Wed Apr 17 0: 0:15 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D23B837B417 for ; Wed, 17 Apr 2002 00:00:04 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3H704v74445; Wed, 17 Apr 2002 00:00:04 -0700 (PDT) (envelope-from gnats) Received: from nixpbe.pdb.sbs.de (nixpbe.pdb.siemens.de [192.109.2.33]) by hub.freebsd.org (Postfix) with ESMTP id 011DC37B419 for ; Tue, 16 Apr 2002 23:52:54 -0700 (PDT) Received: from trulli.pdb.fsc.net (ThisAddressDoesNotExist [172.25.96.20] (may be forged)) by nixpbe.pdb.sbs.de (8.11.2/8.11.2) with ESMTP id g3H6qpL25842 for ; Wed, 17 Apr 2002 08:52:51 +0200 Received: from deejai2.mch.fsc.net (deejai2.mch.fsc.net [172.25.124.236]) by trulli.pdb.fsc.net (8.9.3/8.9.3) with ESMTP id IAA21410 for ; Wed, 17 Apr 2002 08:52:52 +0200 Received: from deejai2.mch.fsc.net (localhost6 [IPv6:::1]) by deejai2.mch.fsc.net (8.12.2/8.12.2) with ESMTP id g3H6qpK2002684 for ; Wed, 17 Apr 2002 08:52:51 +0200 (CEST) (envelope-from martin@deejai2.mch.fsc.net) Received: (from martin@localhost) by deejai2.mch.fsc.net (8.12.2/8.12.2/Submit) id g3H6qooc002683; Wed, 17 Apr 2002 08:52:50 +0200 (CEST) Message-Id: <200204170652.g3H6qooc002683@deejai2.mch.fsc.net> Date: Wed, 17 Apr 2002 08:52:50 +0200 (CEST) From: Martin.Kraemer@Fujitsu-Siemens.com Reply-To: To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/37173: ifconfig ... alias has problems setting aliases Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 37173 >Category: kern >Synopsis: ifconfig ... alias has problems setting aliases >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Apr 17 00:00:04 PDT 2002 >Closed-Date: >Last-Modified: >Originator: >Release: FreeBSD 4.5-STABLE i386 >Organization: Fujitsu-Siemens Computers >Environment: System: FreeBSD deejai2.mch.fsc.net 4.5-STABLE FreeBSD 4.5-STABLE #10: Wed Apr 10 13:37:25 CEST 2002 root@deejai2.mch.fsc.net:/usr/src/sys/compile/DEEJAI4B i386 >Description: Using FreeBSD-4.5-STABLE from ~2 months ago, I had no problems setting several IP aliases on my xl0 interface by setting the following in /etc/rc.conf: ifconfig_xl0="inet 172.25.124.236 netmask 255.255.255.0" ifconfig_xl0_alias0="inet 172.25.124.237 netmask 255.255.255.0" ifconfig_xl0_alias1="inet 172.25.124.238 netmask 255.255.255.0" ifconfig_xl0_alias2="inet 192.168.172.1 netmask 255.255.255.0" With a current kernel however, after reboot only one or two of these IP addresses are actually set. The other IP addresses are unset. >How-To-Repeat: See above... On my -STABLE system, at least :-( >Fix: Manual execution (after the machine has booted) of: # ifconfig xl0 down # ifconfig xl0 inet 172.25.124.237 netmask 255.255.255.0 alias # ifconfig xl0 down # ifconfig xl0 inet 172.25.124.238 netmask 255.255.255.0 alias # ifconfig xl0 down # ifconfig xl0 inet 192.168.172.1 netmask 255.255.255.0 alias # route add -net 172.25.124.0 -interface xl0 seems to help. It appears as though adding an alias was only possible while the interface has been brought down. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message