I have a class B subnet, the range is 172.16.0.1 - 172.16.31.254, how can I configre DRBL to fit this range ? |
By default, DRBL only allows you to do range: 172.16.0.1 - 172.16.0.254. However, you still can make it by the following:
- When run drblpush, select DRBL SSI mode and Clonezilla box mode, this will save the disk space, otherwise drblpush will generate a lot of files, take a huge space. Or just run this command::
drblpush -i -r 1 -z 1 (Then accept all the default values)
- Modify /etc/dhcpd.conf (or /etc/dhcp3/dhcpd.conf) as:
subnet 172.16.0.0 netmask 255.255.0.0 {
option subnet-mask 255.255.0.0;
option routers 172.16.0.2;
next-server 172.16.0.2;
pool {
# allow members of "DRBL-Client";
range 172.16.0.1 172.16.31.254;
}
}
- Modify /etc/exports, append the following:
/tftpboot/node_root 172.16.*.*(ro,sync,async,no_root_squash,subtree_check)
/usr 172.16.*.*(ro,sync,async,no_root_squash,subtree_check)
/opt 172.16.*.*(ro,sync,async,no_root_squash,subtree_check)
/home 172.16.*.*(rw,sync,async,no_root_squash,no_subtree_check)
/var/spool/mail 172.16.*.*(rw,sync,async,root_squash,no_subtree_check)
4. Run "drbl-all-service restart" to restart the services.
|
|