In article <linux.kernel.Pine.LNX.4.21.0003281756130.25774-100000@james.kalifornia.com>,
Blu3Viper <david@killerlabs.com> wrote:
>On Tue, 28 Mar 2000, david parsons wrote:
>> On Cisco routers, yes, which are most certainly NOT Unix machines.
>
>No, they aren't. But ifconfig and route simply can't deal with the immense
>amount of network capabilities we have now.
They're not supposed to.
There's certainly nothing wrong with writing some all-singing
all-dancing (just where did that expression come from?) code to deal
with proprietary ip extensions in the Linux kernel, but ifconfig,
route, and the rest of the BSD networking suite deal with the
network configuration that 99% of the network attached machines out
there have.
>> ifconfig and route, on the other hand, are pretty common; that's
>> why I'm mot, umm, ``upgrading'' my network utilities to use ip --
>> I like to not have to have my brain hurt too much when switching
>> from one Unix box to another.
>
>It won't hurt much, it actually gets easier IMO :)
>
>Instead of: ifconfig eth0 1.2.3.4 netmask 5.6.7.8 broadcast a.b.c.d ...
>it becomes: ip a a 1.2.3.4/nn brd + dev eth0
Okay. Lets try this on one of my FreeBSD servers...
# ip a a 1.2.3.4/nn brd + dev eth0
ksh: ip: not found
Hmm. How about on an Irix build machine...
root@mo(/)# ip a a 1.2.3.4/nn brd + dev eth0
ksh: ip: not found
O-kay. Maybe OSF-1?
# ip a a 1.2.3.4/nn brd + dev eth0
ksh: ip: not found
That's three strikes. I guess I could telnet to one of my cisco
routers and try it there, but vi doesn't run on IOS, so what's the
point?
>The CIDR usage is great, complemented with the calculated broadcast.
Mastodon's admintool allows me to manipulate netmasks via cidr's,
but it sensibly writes the device configuration out in a script
that can be used to bring the device up by a combination of
ifconfig and route.
>> david parsons \bi/ I think I prefer Linux to be a Unix clone instead
>> \/ of an IOS clone.
>
>And a good bit of the current NET4 code is modelled after a lot of IOS.
And I'm just waiting for the inevitable ``must tweak a magic variable
before the zero subnet is usable'' patch.
____
david parsons \bi/ FreeBSD isn't any better about ifconfig, because it
\/ also pastes in routes without a by your leave.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Fri Mar 31 2000 - 21:00:24 EST