From owner-freebsd-net Wed Jul 3 23:35:15 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4977037B405 for ; Wed, 3 Jul 2002 23:35:01 -0700 (PDT) Received: from amur.ru (amur.ru [195.151.156.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F5EE43E31 for ; Wed, 3 Jul 2002 23:34:57 -0700 (PDT) (envelope-from dek@dt.amur.ru) Received: from anubis.my.domain (ns.dt.amur.ru [194.84.87.182]) by amur.ru (8.11.6/8.11.6) with ESMTP id g646Yru03602 for ; Thu, 4 Jul 2002 16:34:53 +1000 Received: from there (ws-0122-01.my.domain [192.168.0.110]) by anubis.my.domain (Postfix) with SMTP id 499A61544E for ; Thu, 4 Jul 2002 16:34:49 +1000 (YAKST) Content-Type: text/plain; charset="koi8-r" From: Dmitry Krasnov Organization: DT International To: freebsd-net@freebsd.org Subject: Problem with ifconfig+alias Date: Thu, 4 Jul 2002 16:35:00 +1000 X-Mailer: KMail [version 1.3] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020704063449.499A61544E@anubis.my.domain> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello! I have problem with aliases after upgrade to 4.6-STABLE. I can not assign aliases on any interface: # ifconfig cx0 cx0: flags=8051 mtu 1500 inet xxx.xx.xx.182 --> xxx.xx.xx.181 netmask 0xfffffffc # ifconfig cx0 alias xxx.xx.xx.179 netmask 0xffffffff xxx.xx.xx.181 ifconfig: ioctl(SIOCAIFADDR): File exists I tried ppp0 for the simple test and got same results: # ifconfig ppp0 ppp0: flags=8010 mtu 1500 # ifconfig ppp0 10.0.0.2 netmask 0xfffffff0 10.0.0.1 # ifconfig ppp0 alias 10.0.0.3 netmask 0xffffffff 10.0.0.1 ifconfig: ioctl(SIOCAIFADDR): File exists Before upgrade I've used 4.5-STABLE, cvsup'ed at 2002-02-15. If I boot with /kernel.old everything works fine: [...] # ifconfig cx0 cx0: flags=8051 mtu 1500 inet xxx.xx.xx.182 --> xxx.xx.xx.181 netmask 0xfffffffc inet xxx.xx.xx.179 --> xxx.xx.xx.181 netmask 0xffffffff Same with ppp0: [...] # ifconfig ppp0 ppp0: flags=8010 mtu 1500 inet 10.0.0.2 --> 10.0.0.1 netmask 0xfffffff0 inet 10.0.0.3 --> 10.0.0.1 netmask 0xffffffff What's wrong? Any suggestions? -- /Dmitry Krasnov, Systems Engineer, JV DT International E-mail: dek(at)dt.amur.ru, Mobile: +7 (4162) 359002 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message