ip vs. if{up,down}
Paul Lussier
p.lussier at comcast.net
Tue Mar 15 11:31:49 EST 2005
Ben Scott <dragonhawk at gmail.com> writes:
> Well, I wrote that in the sense that "ifconfig" will likely be
> closer to other nixes then "ip blah blah blah" will be. At least one
> can type "man ifconfig" and get answers. :)
This is one the things that annoyed me with the ip suite of tools.
The last time I remember playing with them (admittedly some time ago)
there were no man pages, no info pages, nothing! The only
documentation, albeit quite complete, was in the form of a postscript
file. Not bad if you've got X running, but if your ssh'ed into a host
over a slow connection, it's rather a pain to access the .ps file on
the other end, if you don't have the tools/docs installed locally.
>> Their syntax for ifconfig (IIRC) is quite different than that for Linux.
>
> It has been some time, but I've fumbled my way through an "ifconfig"
> command on some flavor of BSD before, and it wasn't that different
> then Linux, IIRC.
ifconfig syntax, AFAIK, is pretty standard across almost all flavors
of UNIX. There might be a few different options here and there, but
the basics are all the same. I know NetBSD and OpenBSD are mostly the
same as Linux and SunOS, and I don't recall the Solaris version being
overly different. One nice thing about the Linux version of ifconfig
is it's willingness to show all currently configured interfaces when
run without options. Every other variant of UNIX seems to require at
least one option (-a) or the name of an interface, or some such.
The BSDs have a nice feature to allow you see either ipv4 or ipv6
interfaces by specifying the address family. Something the Linux
ifconfig doesn't yet have. But of course, the BSDs seem to have ipv6
configured out of the box by default now-a-days.
--
Seeya,
Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://mail.gnhlug.org/mailman/private/gnhlug-discuss/attachments/20050315/e5daae73/attachment.bin
More information about the gnhlug-discuss
mailing list