Hi

Backround: part of our old network is configured as static ip's and now
we are building new network and nds.
NW6.5 and dhcpsrvr.nlm Version 3.14 from 14 June 2006.

i have csv-file containing macs, ips and so on:
10.90.96.11;00 12 3F 51 3C
A6;ety-a0135-01;.ety-ws-edu-elektroniikka.dhcp.services.pk;.ety.edu.ws.metropo lia.fi
10.90.96.12;00 12 3F 51 39
4D;ety-a0135-02;.ety-ws-edu-elektroniikka.dhcp.services.pk;.ety.edu.ws.metropo lia.fi

then i have perl-file which will build next file from csv containing:
[IP Address Configuration :
"10_90_96_11.ety-ws-edu-elektroniikka.dhcp.services.pk"]
IP Address Number = 10.90.96.11
Assignment Type = 8
Host Name = ety-a0135-01
MAC Address = ff 00 12 3F 51 3C A6
Comment = ety-a0135-01

[IP Address Configuration :
"10_90_96_12.ety-ws-edu-elektroniikka.dhcp.services.pk"]
IP Address Number = 10.90.96.12
Assignment Type = 8
Host Name = ety-a0135-02
MAC Address = ff 00 12 3F 51 39 4D
Comment = ety-a0135-02

Now i'm in prosesss of creating bunch of subnets to dhcp server.

- i tried to export needed subnets and add that perlbuild info and
import it back to server. not good, i have to delete those subnets which
i have modified from server. did that. then i get lot's of cryptict
errors and imported information is missing from server.

- i export subnet by subnet to separate files to figure out what goes
wrong and which point

this will one time project in our school (atleast now ;) )

but for curiosity:

what sections are really need when importing information back to server?
i don't need to create "new" subnets, even though it would be really
nice to be able to do so.

exported subnet file contains:
; DHCP3TAB - Please DO NOT delete this signature line.

[Version]
Number = 1

[Globals]
Config Options = 00 00 00 00 05 08 C1 A7 C5 64 C3 94 90 64 06 08 C1 A7 \
C5 64 C3 94 90 64 3C 09 50 58 45 43 6C 69 65 6E 74 4E 09 01 C3 9\
4 A4 14 C3 94 6A 14 4F 06 01 4D 45 54 52 4F 56 03 41 4D 4B
Subnet Attributes = \
"10.90.28.0(ety-tykit)"

[Subnet : "10.90.28.0(ety-tykit)"]
Subnet Address = 10.90.28.0
Subnet Mask = 255.255.255.0
Lease Time = 259200
Subnet Type = 0

[Subnet Address Range : "Subnet Server.ety-tykit.dhcp.services.pk"]
Start Address = 10.90.28.0
End Address = 10.90.28.0
DHCP Server Reference = "DHCP_AMK2.servers.services.pk"
Range Type = 99

[IP Address Configuration : "10_90_28_0.ety-tykit.dhcp.services.pk"]
IP Address Number = 10.90.28.0
Assignment Type = 128

[IP Address Configuration : "10_90_28_255.ety-tykit.dhcp.services.pk"]
IP Address Number = 10.90.28.255
Assignment Type = 128

[DHCP Server : "DHCP_AMK2.servers.services.pk"]
DHCP Version = 3
IP Assignment Policy = 2
SNMP Trap Flag = 1
Subnet Address Range Attribute = \
"Subnet Server.iad-printers-staff-print.dhcp.services.pk" ,\
"Subnet Server.iad-printers-edu-print.dhcp.services.pk" ,\
"Subnet Server.iad-ws-staff.dhcp.services.pk" ,\
"Subnet Server.iad-ws-edu96.dhcp.services.pk" ,\
"Subnet Server.iad-ws-edu98.dhcp.services.pk" ,\
"Subnet Server.iad-ws-edu112.dhcp.services.pk" ,\
"Subnet Server.ety-ws-edu-perus.dhcp.services.pk" ,\
"Subnet Server.ety-print-edu.dhcp.services.pk" ,\
"Subnet Server.ety-print-staff.dhcp.services.pk" ,\
"Subnet Server.etyb-ws-staff.dhcp.services.pk" ,\
"Subnet Server.etya-ws-staff.dhcp.services.pk" ,\
"Subnet Server.ety-ws-edu-labrat.dhcp.services.pk" ,\
"Subnet Server.ety-ws-edu-kirjasto.dhcp.services.pk" ,\
"Subnet Server.ety-ws-edu-tuta.dhcp.services.pk" ,\
"Subnet Server.ety-ws-edu-media.dhcp.services.pk" ,\
"Subnet Server.ety-ws-edu-maanmittaus.dhcp.services.pk" ,\
"Subnet Server.ety-ws-edu-elektroniikka.dhcp.services.pk" ,\
"Subnet Server.ety-tykit.dhcp.services.pk" ,\
"Subnet Server.ety-ws-edu-auditoriot.dhcp.services.pk"
Primary Server Reference = "I-NWNODE1.servers.services.pk"


mikko @ metropolia