| From | Sent On | Attachments |
|---|---|---|
| Kevin Way | Feb 9, 2007 9:35 pm | |
| Jeremy Chadwick | Feb 9, 2007 9:48 pm | |
| Brooks Davis | Feb 9, 2007 10:54 pm | |
| JoaoBR | Feb 10, 2007 1:00 am | |
| Kevin Way | Feb 10, 2007 2:13 am | |
| Jeremy Chadwick | Feb 10, 2007 2:47 am | |
| Ian Smith | Feb 10, 2007 5:12 am | |
| JoaoBR | Feb 10, 2007 10:16 am | |
| Michael Nottebrock | Feb 10, 2007 12:15 pm | |
| Ian Smith | Feb 10, 2007 2:19 pm | |
| Bruce M. Simpson | Feb 11, 2007 1:35 am | |
| Oliver Fromme | Feb 12, 2007 2:26 pm | |
| Brooks Davis | Feb 12, 2007 2:42 pm | |
| Jeremy Chadwick | Feb 12, 2007 3:36 pm | |
| Oliver Fromme | Feb 12, 2007 4:22 pm | |
| Brooks Davis | Feb 12, 2007 4:36 pm | |
| JoaoBR | Feb 12, 2007 5:27 pm | |
| Oliver Fromme | Feb 12, 2007 5:39 pm | |
| Brooks Davis | Feb 12, 2007 5:59 pm | |
| Oliver Fromme | Feb 12, 2007 6:09 pm | |
| Oliver Fromme | Feb 12, 2007 6:23 pm | |
| Brooks Davis | Feb 12, 2007 6:40 pm | |
| Jeremy Chadwick | Feb 12, 2007 7:16 pm | |
| Brooks Davis | Feb 12, 2007 7:27 pm | |
| John Hay | Feb 12, 2007 7:32 pm | |
| Jeremy Chadwick | Feb 12, 2007 7:34 pm | |
| Brooks Davis | Feb 12, 2007 7:43 pm | |
| Freddie Cash | Feb 12, 2007 7:47 pm | |
| JoaoBR | Feb 12, 2007 7:54 pm | |
| JoaoBR | Feb 12, 2007 9:17 pm | |
| Oliver Fromme | Feb 12, 2007 10:04 pm | |
| J. T. Farmer | Feb 12, 2007 11:14 pm | |
| Kevin Way | Feb 12, 2007 11:26 pm | |
| Joerg Pernfuss | Feb 13, 2007 2:01 am | |
| Brooks Davis | Feb 13, 2007 2:23 am | |
| Sam Leffler | Feb 13, 2007 4:00 am | |
| Freddie Cash | Feb 13, 2007 6:08 am | |
| JoaoBR | Feb 13, 2007 7:43 am | |
| Oliver Fromme | Feb 13, 2007 7:57 am | |
| JoaoBR | Feb 13, 2007 8:52 am | |
| Oliver Fromme | Feb 13, 2007 10:38 am | |
| Oliver Fromme | Feb 13, 2007 10:47 am | |
| Bruce M. Simpson | Feb 13, 2007 1:17 pm | |
| Freddie Cash | Feb 13, 2007 5:14 pm | |
| Pete French | Feb 13, 2007 5:19 pm | |
| Freddie Cash | Feb 13, 2007 5:22 pm | |
| Freddie Cash | Feb 13, 2007 5:44 pm | |
| Jeremy Chadwick | Feb 13, 2007 6:08 pm | |
| Oliver Fromme | Feb 13, 2007 6:37 pm | |
| Oliver Fromme | Feb 13, 2007 6:41 pm | |
| Freddie Cash | Feb 13, 2007 6:55 pm | |
| sth...@nethelp.no | Feb 13, 2007 7:02 pm | |
| Joan Picanyol i Puig | Feb 13, 2007 7:04 pm | |
| Patrick M. Hausen | Feb 13, 2007 7:10 pm | |
| Oliver Fromme | Feb 13, 2007 8:06 pm | |
| Oliver Fromme | Feb 13, 2007 8:36 pm | |
| Jeremy Chadwick | Feb 13, 2007 9:32 pm |
| Subject: | Desired behaviour of "ifconfig -alias" | |
|---|---|---|
| From: | John Hay (jh...@meraka.org.za) | |
| Date: | Feb 12, 2007 7:32:01 pm | |
| List: | org.freebsd.freebsd-stable | |
On Mon, Feb 12, 2007 at 11:59:40AM -0600, Brooks Davis wrote:
On Mon, Feb 12, 2007 at 06:39:35PM +0100, Oliver Fromme wrote:
Brooks Davis wrote:
Oliver Fromme wrote:
Jeremy Chadwick wrote:
Oliver Fromme wrote: FWIW, I still use alias/-alias. Mainly because that's what has existed historically, and the term "alias" is what is used in reference to rc.conf ifconfig_iface_aliasX entries.
Maybe it would make sense to remove "alias" from the rc.conf entries and simply number them.
ipv4_addrs_<interface> is a much better replacement IMO. It's easy to use and doesn't required the hackish pseudo array traversal used by ifconfig_iface_aliasX.
That might work for simple cases, but how do you specify other parameters beside the IPs if you need to?
What do you need to set? It's sets IP and netmask. It doesn't handle broadcast, but I'd be pretty suprised if that's needed often. What else is needed? Axing ifconfig_iface_aliasX is not needed, but reducing the visiability of the interface in the documentation is probably in order particularly since it's quite fragile since you have to renumber whenever you remove an entry.
Some stuff cannot be done on a single line, so I have abused the _aliasX mechanism for that. With the bridge interface:
ifconfig_bridge0="ether 00:00:24:c0:0e:40 addm sis0 stp sis0 addm sis1 stp sis1
up"
ifconfig_bridge0_alias0="inet 146.64.84.1/24"
Also with the atheros driver I had problems in the past with some parameters that did not like to be on a single commandline.
FWIW I do not find the "ifconfig iface -alias" to be a problem... probably because I'm used to it. :-) What I do find silly is that you cannot do "ifconfig iface tunnel inet6 <inet6_addr> <inet6_addr>" anymore. It used to work and is still documented in ifconfig(8) to work. You have to swap inet6 and tunnel for it to work.
John





