Re: Multihomed hosts and virtual web hosts
Will Partain <[email protected]> Tue, 06 May 2003 11:58:08 +0100
| Newsgroups | gmane.comp.sysutils.ark.devel |
|---|---|
| Message-ID | <[email protected]> |
Joel S writes:
> I see two (small) challenges: How do we specify the interface information
> with Ark's lists, tables, parameters, etc.? ...
>
> <interfaces><table>
> <entry name="hme0"><table>
> <entry name="ip-address">192.168.1.1</entry>
> <entry name="local-name">gold-hme0</entry>
> </table></entry>
> <entry name="qfe1"><table>
> <entry name="ip-address">192.168.2.1</entry>
> <entry name="local-name">gold-qfe1</entry>
> </table></entry>
> </table></interfaces>
I am basically cool with this, except I would like to add
<entry name="mac-address">00:02:e3:1f:a7:0b</entry>
so I can generate DHCP entries, too.
Anybody else want to chip in before the hacking starts :-?
(Sound of sleeves rolling up...)
(Before going further: I should probably apologize for the
over-simple <ip-addresses> field. I *knew* it wouldn't
"scale" to realistic situations, but I decided to wait 'til
those arose, rather than pre-guess what people would want to
do.)
> [out of order] How do we use the hostname.if0.tmpl
> template more than once?
I'll need to think about this a bit. A hack would be to
have hostname.if1.tmpl, hostname.if2.tmpl, ... where they
just bottle out ("raise ark.error.TemplateSkipped") if the
machine doesn't actually have that many interfaces.
Will
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf