All pastes #278767 Raw Edit

Quelqu'un

public text v1 · immutable
·published 2006-12-14 11:50 UTC
rendered paste body
# option definitions common to all supported networks...
authoritative;
ddns-updates off;
ddns-update-style ad-hoc;
ignore bootp;
option domain-name "msr-inria.inria.fr" ;
option domain-name-servers 193.55.250.2;

#
# Definition of PXE-specific options
# Code 1: Multicast IP address of bootfile
# Code 2: UDP port that client should monitor for MTFTP responses
# Code 3: UDP port that MTFTP servers are using to listen for MTFTP requests
# Code 4: Number of secondes a client must listen for activity before trying
#         to start a new MTFTP transfer
# Code 5: Number of secondes a client must listen before trying to restart
#         a MTFTP transfer
#
# define Option for the PXE class
option space PXE;
option PXE.mtftp-ip code 1 = ip-address;
option PXE.mtftp-cport code 2 = unsigned integer 16;
option PXE.mtftp-sport code 3 = unsigned integer 16;
option PXE.mtftp-tmout code 4 = unsigned integer 8;
option PXE.mtftp-delay code 5 = unsigned integer 8;
option PXE.discovery-control code 6 = unsigned integer 8;
option PXE.discovery-mcast-addr code 7 = ip-address;
#
#Define options for pxelinux
option space pxelinux;
option pxelinux.magic      code 208 = string;
option pxelinux.configfile code 209 = text;
option pxelinux.pathprefix code 210 = text;
option pxelinux.reboottime code 211 = unsigned integer 32;
site-option-space "pxelinux";
#option pxelinux.configfile configs/common;
#option pxelinux.pathprefix /pxelinux/files/;
#filename /pxelinux/pxelinux.bin;
option pxelinux.magic f1:00:74:7e;
option pxelinux.reboottime 30;

#if exists dhcp-parameter-request-list {
# Always send the PXELINUX options
#       append dhcp-parameter-request-list 208, 209, 210, 211;
#       append dhcp-parameter-request-list 208,211;
#}
# create the Class PXE
class "PXE" {
    # if the vendor-class-identifier is set to PXEClient
    # in the client dhcp request
    match if substring(option vendor-class-identifier, 0, 9) = "PXEClient";

    # filename define the file retrieve by the client, there pxelinux.0
    # our tftp is chrooted so is just the path to the file
    filename "/PXEClient/pxelinux.0";

    # Set the  vendor-class-identifier field to PXEClient in dhcp answer
    # if this field is not set the pxe client will ignore the answer !
    option vendor-class-identifier "PXEClient";
    vendor-option-space PXE;
    option PXE.mtftp-ip 0.0.0.0;

    # IP of you TFTP server
    next-server 193.55.250.2;
}

# VLAN pour zorro eth0
subnet 172.18.215.0 netmask 255.255.255.224 {
}

#VLAN DMZ
subnet 172.18.214.32 netmask 255.255.255.224 {
}

#VLAN USERS
subnet 172.18.214.128 netmask 255.255.255.192 {
    range 172.18.214.129 172.18.214.189;
    option broadcast-address 172.18.214.191;
    option routers 172.18.214.190;
}

#VLAN ADMINISTRATIFS
#subnet 172.18.214.??? netmask 255.255.255.??? {
#       range 172.18.214.??? 172.18.214.??? ;
#       option broadcast-address 172.18.214.??? ;
#       option routers 172.18.214.??? ;
#}


# VLAN Interne JOINTLAB
host etoile {
    hardware ethernet 00:14:22:1C:35:59;
    fixed-address 193.55.250.2;
}
host nation {
    hardware ethernet 00:13:72:58:02:83;
    fixed-address 193.55.250.6;
}

subnet 193.55.250.0 netmask 255.255.255.240 {
    option routers 193.55.250.14;
}

# VLAN Recherche JOINTLAB
host odeon {
     hardware ethernet 00:13:72:a2:21:8a;
     fixed-address 193.55.250.65;
}
host segur {
     hardware ethernet 00:16:cb:b6:de:dd;
     fixed-address 193.55.250.66;
}
host stalingrad {
     hardware ethernet 00:13:72:27:24:57;
     fixed-address 193.55.250.67;
}
host picpus {
     hardware ethernet 00:14:22:fb:4a:a2;
     fixed-address 193.55.250.68;
}
host argentine {
     hardware ethernet 00:15:c5:3c:45:94;
     fixed-address 193.55.250.69;
}
host alesia {
     hardware ethernet 00:13:72:27:22:ad;
     fixed-address 193.55.250.70;
}
host rome {
     hardware ethernet 00:12:3f:69:db:b3;
     fixed-address 193.55.250.71;
}
host orleans {
     hardware ethernet 00:16:cb:a4:f1:02;
     fixed-address 193.55.250.72;
}
subnet 193.55.250.64 netmask 255.255.255.192 {
    range 193.55.250.92 193.55.250.125;
    option broadcast-address 193.55.250.127;
    option routers 193.55.250.126;
}

#VLAN GUEST-JOINTLAB
subnet 193.55.250.128 netmask 255.255.255.224 {
   range 193.55.250.129 193.55.250.157;
   option broadcast-address 193.55.250.159;
   option routers 193.55.250.158;
}

#VLAN DMZ-JOINTLAB
host chatelet {
     hardware ethernet 00:14:22:21:4e:fc;
     fixed-address 193.55.250.161;
}
subnet 193.55.250.160 netmask 255.255.255.248 {
    option routers 193.55.250.166;
    option broadcast-address 193.55.250.167;
}