summaryrefslogtreecommitdiffstats
path: root/recipes-connectivity/ipsec-demo/ipsec-demo/test_setkey/setup_right
diff options
context:
space:
mode:
authorAdrian Dudau <adrian.dudau@enea.com>2016-01-15 17:30:44 +0100
committerAdrian Dudau <adrian.dudau@enea.com>2016-01-15 17:30:44 +0100
commit7a99472f8509aad0799895d75e1326b76d332e21 (patch)
tree52e2e907a4bccafd45b248f1354b8093e6652253 /recipes-connectivity/ipsec-demo/ipsec-demo/test_setkey/setup_right
downloadmeta-fsl-ppc-7a99472f8509aad0799895d75e1326b76d332e21.tar.gz
initial commit for Enea Linux 5.0-ppc
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'recipes-connectivity/ipsec-demo/ipsec-demo/test_setkey/setup_right')
-rwxr-xr-xrecipes-connectivity/ipsec-demo/ipsec-demo/test_setkey/setup_right13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes-connectivity/ipsec-demo/ipsec-demo/test_setkey/setup_right b/recipes-connectivity/ipsec-demo/ipsec-demo/test_setkey/setup_right
new file mode 100755
index 0000000..f0e333e
--- /dev/null
+++ b/recipes-connectivity/ipsec-demo/ipsec-demo/test_setkey/setup_right
@@ -0,0 +1,13 @@
1# board on right setup
2set -v
3ifconfig eth0 down
4ifconfig eth0 hw ether 00:E0:0C:00:01:FD
5ifconfig eth0 192.168.2.130 netmask 255.255.255.0
6ifconfig eth0 up
7ifconfig eth1 down
8ifconfig eth1 hw ether 00:E0:0C:00:00:FD
9ifconfig eth1 200.200.200.20 netmask 255.255.255.0
10ifconfig eth1 up
11arp -s 192.168.2.21 00:00:00:00:00:02
12route add default dev eth1
13echo 1 > /proc/sys/net/ipv4/ip_forward