ifconfig(8) syntax intuitiveness

Thomas E. Spanjaard tgen at netphreax.net
Wed Aug 24 07:39:38 PDT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Joerg Sonnenberger wrote:
~ > It's not that easy. This has nothing to do with the interface, but is a
| restriction from the routing stack. Once that restriction goes away,
| there's no reason why aliases wouldn't allow it too.
That's true, this point isn't exactly an ifconfig issue. However, is
there any objection against changing the behaviour of the routing stack
to what NetBSD does in this specific case?
|>I second your thoughts about "delete". You don't delete it, you remove
it.
| You delete the route.
Not if you remove an alias for a subnet already assigned to that
interface, then you just remove the alias address, but the route stays
(you still have an IP in that subnet assigned to that interface etc).
|>I have another suggestion for ifconfig aswell. Show netmaskes in human
|>readable format (decimal) instead of HEX. I mean, who really thinks
|>about netmasks in HEX formats?
| Me. Actually, decimal netmasks are *not* human readable, because it is
| much harder to determine the *binary* affect they have.
Agreed, but I like prefixlengths even better. Takes less space, easier
to pronounce, etc etc.
Cheers,
- --
		-- Thomas E. Spanjaard
		   tgen at xxxxxxxxxxxxx
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
iD8DBQFDDIaq6xCMwBJ+1+sRAuPeAKCEgiFxT2xDW9fPrdHkcbVozR5V6QCdFa9P
Q4wYxqrcKL7YUTX9tw5UakI=
=vMpv
-----END PGP SIGNATURE-----




More information about the Users mailing list