Commit 2e10d532 authored by Lionel Gauthier's avatar Lionel Gauthier

Depending on OS version, need to do ifconfig up

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5058 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent e6337546
......@@ -3,8 +3,8 @@
#############################################################
#Setting the EXTERNAL and INTERNAL interfaces for the network
#############################################################
declare EXTIF="eth0"
declare INTIF="eth3"
declare EXTIF="eth1"
declare INTIF="eth2"
IPTABLES=/sbin/iptables
DEPMOD=/sbin/depmod
......@@ -169,6 +169,7 @@ done
for i in 5 6 7 8 9 10 11 12 13 14 15
do
bash_exec "vconfig add $INTIF $i"
bash_exec "ifconfig $INTIF.$i up"
sync
NET=$(( $i + 200 ))
CIDR='10.0.'$NET'.1/8'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment