Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Apr 2002 08:52:50 +0200 (CEST)
From:      Martin.Kraemer@Fujitsu-Siemens.com
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/37173: ifconfig ... alias has problems setting aliases
Message-ID:  <200204170652.g3H6qooc002683@deejai2.mch.fsc.net>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204170652.g3H6qooc002683>