From 2e10d532c5f52a558886b195708a40604fa31a5c Mon Sep 17 00:00:00 2001
From: Lionel Gauthier <lionel.gauthier@eurecom.fr>
Date: Mon, 10 Feb 2014 13:27:15 +0000
Subject: [PATCH] Depending on OS version, need to do ifconfig up

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5058 818b1a75-f10b-46b9-bf7c-635c3b92a50f
---
 targets/PROJECTS/GENERIC-LTE-EPC/start_router.bash | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/targets/PROJECTS/GENERIC-LTE-EPC/start_router.bash b/targets/PROJECTS/GENERIC-LTE-EPC/start_router.bash
index 95a57c100f9..e9fd0a1f303 100755
--- a/targets/PROJECTS/GENERIC-LTE-EPC/start_router.bash
+++ b/targets/PROJECTS/GENERIC-LTE-EPC/start_router.bash
@@ -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'
-- 
GitLab