Ajout des tp

This commit is contained in:
2026-02-04 17:27:49 +01:00
parent 38d424e819
commit 1ee438d5be
23 changed files with 2308 additions and 8 deletions

24
TP_SCR3.2/TP03/dhcpd.conf Normal file
View File

@@ -0,0 +1,24 @@
default-lease-time 600;
max-lease-time 7200;
option rfc-3442-classless-static-routes code 121 = array of integer 8;
subnet 192.168.0.0 netmask 255.255.240.0 {
range 192.168.10.20 192.168.10.40;
option rfc-3442-classless-static-routes 24,172,16,2,192,168,10,254;
}
host GW-eth0{
hardware ethernet 42:00:aa:00:00:02;
fixed-address 172.16.2.254;
}
host GW-eth1{
hardware ethernet 42:00:aa:00:00:04;
fixed-address 192.168.10.254;
}
subnet 172.16.2.0 netmask 255.255.255.0 {
range 172.16.2.20 172.16.2.254;
}