aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-escon
diff options
context:
space:
mode:
Diffstat (limited to 'sysconfig/network-scripts/ifup-escon')
-rw-r--r--sysconfig/network-scripts/ifup-escon4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysconfig/network-scripts/ifup-escon b/sysconfig/network-scripts/ifup-escon
index 1e29840b..311aeb4b 100644
--- a/sysconfig/network-scripts/ifup-escon
+++ b/sysconfig/network-scripts/ifup-escon
@@ -25,7 +25,7 @@ then
fi
[ -n "${MTU}" ] && opts="${opts} mtu ${MTU}"
-ifconfig ${DEVICE} ${IPADDR} ${opts} pointopoint ${REMIP}
+ifconfig ${DEVICE} ${IPADDR} ${opts} pointopoint ${REMIP} netmask ${NETMASK}
# Wait for the device to come up - the chandev'ified ctc driver can take
# quite a while...
@@ -39,7 +39,7 @@ while ! ping -w 30 -c 1 ${REMIP} &>/dev/null; do
done
if [ "${NETWORK}" != "" ] ; then
- route add -net ${NETWORK} netmask ${NETMASK} ${DEVICE}
+ route add -host ${REMIP} metric 1 ${DEVICE}
fi
. /etc/sysconfig/network