sysctl vs ifconfig vs other
sthaug at nethelp.no
sthaug at nethelp.no
Sun Oct 7 15:16:48 UTC 2012
> > Seconded; but compare to Linux which has mutiple different commands to
> > do networking, as well as 'net'. :-)
>
> we do too -- we have arp, route, ifconfig, sysctl and possibly
> more that i am not aware of.
Note that at least arp, route and ifconfig have been there since very
early BSD releases (they predate FreeBSD, as far as I know). sysctl
is from BSD 4.4 (I think, but I'm very willing to be corrected here).
What I'm trying to say here is that arp, route and ifconfig are in
some sense the original BSD commands to set/change networking params.
The Linux camp saw the need to introduce a new command ("ip") to do a
lot of what we do with ifconfig (e.g. VLAN manipulation) while FreeBSD
chose to add to the ifconfig command. I prefer the FreeBSD way - but
this is a matter of personal taste.
Steinar Haug, Nethelp consulting, sthaug at nethelp.no
More information about the freebsd-current
mailing list