Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Mar 2008 14:23:20 +0100
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        FreeBSD-Net mailing list <freebsd-net@freebsd.org>
Subject:   7.0 - ifconfig create is not working as expected?
Message-ID:  <47EE42C8.3070100@quip.cz>

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

I was using following command in FreeBSD 6.2:

# ifconfig lo1 create inet 172.16.16.2 netmask 255.255.255.0

In FreeBSD 7.0 I got an error:

# ifconfig lo1 create inet 172.16.16.2 netmask 255.255.255.0
ifconfig: inet: bad value

But it is working splitted in to two commands:
# ifconfig lo1 create
# ifconfig lo1 inet 172.16.16.2 netmask 255.255.255.0

Is this expected behavior or should I file a PR?

Miroslav Lachman



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