504,6 → 504,9 |
echo "RELAY_DHCP_IP=none" >> $CONF_FILE |
echo "RELAY_DHCP_PORT=none" >> $CONF_FILE |
echo "PROTOCOLS_FILTERING=off" >> $CONF_FILE |
echo "INT_DNS_DOMAIN=none" >> $CONF_FILE |
echo "INT_DNS_IP=none" >> $CONF_FILE |
echo "INT_DNS_ACTIVE=off" >> $CONF_FILE |
# network default |
[ -e /etc/sysconfig/network.default ] || cp /etc/sysconfig/network /etc/sysconfig/network.default |
cat <<EOF > /etc/sysconfig/network |
547,6 → 550,7 |
RESOLV_MODS=yes |
ONBOOT=yes |
METRIC=10 |
NOZEROCONF=yes |
MII_NOT_SUPPORTED=yes |
IPV6INIT=no |
IPV6TO4INIT=no |
1193,9 → 1197,9 |
condown $DIR_DEST_BIN/alcasar-condown.sh |
include $DIR_DEST_ETC/alcasar-uamallowed |
include $DIR_DEST_ETC/alcasar-uamdomain |
#dhcpgateway |
#dhcprelayagent |
#dhcpgatewayport |
#dhcpgateway none |
#dhcprelayagent none |
#dhcpgatewayport none |
EOF |
# create file for DHCP static ip. Reserve the second IP address for INTIF (the first one is for tun0) |
echo "$PRIVATE_MAC $PRIVATE_SECOND_IP" > $DIR_DEST_ETC/alcasar-ethers |
1517,9 → 1521,9 |
server=$DNS1 |
server=$DNS2 |
# DHCP service is configured. It will be enabled in "bypass" mode |
dhcp-range=$PRIVATE_FIRST_IP,$PRIVATE_LAST_IP,$PRIVATE_NETMASK,12h |
dhcp-option=option:router,$PRIVATE_IP |
dhcp-option=option:ntp-server,$PRIVATE_IP |
#dhcp-range=$PRIVATE_FIRST_IP,$PRIVATE_LAST_IP,$PRIVATE_NETMASK,12h |
#dhcp-option=option:router,$PRIVATE_IP |
#dhcp-option=option:ntp-server,$PRIVATE_IP |
|
# Exemple of static dhcp assignation : <@MAC>,<name>,<@IP>,<MASK>,<ttl bail> |
#dhcp-host=11:22:33:44:55:66,ssic-test,192.168.182.20,255.255.255.0,45m |