mandriva

Ticket #170 (new defect)

Opened 11 months ago

Last modified 11 months ago

dhcp shared-network support

Reported by: manuel.zach-oss@zach.st Assigned to: cdelfosse@mandriva.com
Priority: normal Milestone:
Component: python-mmc-network Version: 2.2.0
Severity: normal Keywords: dhcp, sharednetwork, shared-network
Cc:

Description

Hello,

With version 2.2, it is not possible to manage different subnets with dhcpd, if you have not for each subnet a own Nic, because isc-dhcpd wants that the subnets are located in a shared-network. If the subnets are not in a shared network dhcpd refuses to start, with following error: "Interface eth0 matches multiple shared networks".

With the following steps I get a working configuration:


1. Install MDS with the network plugin according the documentation.

2. Setup an address (alias) of the dhcpd for each subnet, e.g. 10.5.0.1 and 10.6.0.1.

3. Create with MDS the DHCP-Subnets, this will have following result:

cn=DHCP config,ou=DHCP,dc=mandriva,dc=com
+ - cn=10.5.0.0
+ - cn=10.6.0.0 

4. Create a shared-network:

dn: cn=MYNET,cn=DHCP config,ou=DHCP,dc=mandriva,dc=com
cn: MYNET
objectClass: top
objectClass: dhcpSharedNetwork

5. Move the subnets to the shared-network:

cn=MYNET, cn=DHCP config,ou=DHCP,dc=mandriva,dc=com
+ - cn=10.5.0.0
+ - cn=10.6.0.0

6. After this step you can (according my tests) normally add static hosts, edit the subnets und start dhcpd.

According to my tests only adding new subnets in an shared-network does not work.
So perhaps we can fix this, if MDS creates one default shared-network, this should fit for MDS users.

Attachments

Change History

02/22/08 11:28:58 changed by manuel.zach-oss@zach.st

  • component changed from general to python-mmc-network.

Add/Change #170 (dhcp shared-network support)




Change Properties
Action