Subject: [netmod] ip-cfg and routing-cfg

From: Ladislav Lhotka <[email-masked]>
Date: Tue, 15 Nov 2011 16:45:31 +0800

Hi,

perhaps we could organize the IP and routing data so that:

- module "ip-common" implements everything that both hosts and routers need have,

- module "ip-host" implements everything that's required from hosts (in terms of standards and practical 
  implementation),

- module "routing" does the same for routers.

So hosts would advertise "ip-common" and "ip-host" while routers would advertise "ip-common", "routing" and then modules for supported address families, routing protocols etc.

The "ip-common" module would implement, among other things, IPv6 ND.

The "ip-host" module would implement, among other things, a single IP-only routing table, which is what every IP host needs.

The "routing" module could remain approximately as it is now, i.e. support multiple address families, multiple logical routers, multiple routing tables etc.

One thing that definitely has to be added to the "routing" module is a list of interfaces under each "router" instance specifying which logical interfaces belong to that "router" instance. This also means that router-specific interface configuration can be done there rather than under /if:interfaces. This could for example include configuration of IPv6 RAs.

Lada
 
--
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C