[Bug 200359] ifconfig(8) alias and -alias behave differently

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu May 21 07:27:21 UTC 2015


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 at FreeBSD.org
          Reporter: pi at 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.


More information about the freebsd-bugs mailing list