Re: 7.0 - ifconfig create is not working as expected?



On Sat, Mar 29, 2008 at 02:23:20PM +0100, Miroslav Lachman wrote:
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?

This expected. There's some argument it's wrong, but filing a PR is
unlikely to cause it to change any time soon.

-- Brooks

Attachment: pgpKkgsc7Nq7q.pgp
Description: PGP signature



Relevant Pages

  • 7.0 - ifconfig create is not working as expected?
    ... I was using following command in FreeBSD 6.2: ... ifconfig: inet: bad value ...
    (freebsd-net)
  • Re: 2nd try : tap SIOCIFCREATE failure
    ... FreeBSD FreeBSD 6.2-RELEASE ... FreeBSD# ifconfig tap0 create ... ifconfig: SIOCIFCREATE: Invalid argument ... I never had to manually issue the create command, ...
    (freebsd-questions)
  • Re: Network Problem on FreeBSD-4.8 : Cannot ping LAN hosts
    ... see dmesg, ifconfig and netstat below... ... Copyright 1992-2003 The FreeBSD Project. ... 2 ports with 2 removable, ... The output of dmesg and ifconfig would be helpful in diagnosing this. ...
    (freebsd-questions)
  • Re: The Myth of the secure Mac
    ... >> Good to see that you can interpret the command I wrote. ... >> which means it is a fork of FreeBSD. ... >> the implication that Os X somehow transcends the need for a mere CLI. ...
    (comp.sys.mac.advocacy)
  • FreeBSD Security Advisory FreeBSD-SA-05:01.telnet
    ... For general information regarding FreeBSD Security Advisories, ... The telnetcommand is a TELNET protocol client, ... establish terminal sessions across a network. ... fixed-sized buffer. ...
    (Bugtraq)