Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 May 2015 07:27:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 200359] ifconfig(8) alias and -alias behave differently
Message-ID:  <bug-200359-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200359

            Bug ID: 200359
           Summary: ifconfig(8) alias and -alias behave differently
           Product: Base System
           Version: 10.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: pi@FreeBSD.org

This works:
# ifconfig re0 alias 192.168.1.12/24

The inverse does not work:
# ifconfig re0 -alias 192.168.1.12/24
ifconfig: 192.168.1.12/24: bad value

It only works without the netmask:
# ifconfig re0 -alias 192.168.1.12

- it should probably work if a netmask is given
- the netmask could be ignored
- or the alias would only be removed if the proper netmask is given

-- 
You are receiving this mail because:
You are the assignee for the bug.



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