Subject: $ifaliases_* vs p2p interfaces
To: None <tech-net@netbsd.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-net
Date: 02/10/2000 17:52:29
I just noticed something (the hard way): the rc.conf scheme for
specifying alias addresses for interfaces is severely broken for
point-to-point interfaces.

In my specific case, I want to set up sl0.  Using ifconfig manually,
the commands would be

ifconfig sl0 216.46.5.9 216.46.5.8 netmask 255.255.255.255 -link0 -link1 -link2 mtu 1500 up
ifconfig sl0 alias 132.206.78.33 132.206.78.32 netmask 255.255.255.255

but there's nothing I can put in ifaliases_sl0 that will get that alias
configuration done right!

What's the Right Fix?  Personally, I'm inclined to set ifalias_sl0_1,
ifalias_sl0_2, ifalias_sl0_3, etc, each of which specifies exactly one
alias, holding ifconfig arguments a la the ifconfig_* variables.  (Of
course, supporting ifaliases_* variables for the sake of compatability
would be good, and fortunately not incompatible with this.)

What think y'all?

					der Mouse

			       mouse@rodents.montreal.qc.ca
		     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B