Re: Multihomed hosts and virtual web hosts

Will Partain <[email protected]> Tue, 06 May 2003 19:31:59 +0100
Newsgroups gmane.comp.sysutils.ark.devel
Message-ID <[email protected]>
More mumblings about proposed Shprentz changes...

>   <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>

Don't broadcast, netmask, etc., also need to move into this?
Also, I'm thinking "aliases" might be better than
"local-name"...? so perhaps

    <network-interfaces> <!-- proposed rename... -->
     <entry name="hme0"><table>
       <entry name="ip-address">192.168.1.1</entry>
       <entry name="netmask">255.255.255.0</entry>
       <entry name="broadcast">192.168.1.127</entry>
       <entry name="aliases"><list>
         <item>gold-hme0</item>
         <item>gold-hme0-another-alias</item>
       </list></entry>
     </table></entry>
   </network-interfaces>

Of course, with the lovely ARK table merging, you could just
put

    <network-interfaces> <!-- proposed rename... -->
     <entry name="hme0"><table>
       <entry name="netmask">255.255.255.0</entry>
       <entry name="broadcast">192.168.1.127</entry>
     </table></entry>
   </network-interfaces>

in a prototype and all the conforming machines would come
right.

Anyone see any horrible, horrible messes I'm making :-)?

Will


-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com