up, add new config files and delete old tar conf file
[arrow.git] / conf_slk120 / bin / .bin / shell / arrow-bridge-pc-as-route-lap
blob6cad48a1f6faee96509e670c0a9e2ff872ef63c5
1 #!/bin/bash
3 sudo ifconfig lo 0
4 sudo ifconfig lo 127.0.0.1
5 sudo route add -net 127.0.0.0 netmask 255.0.0.0 dev lo
7 sudo ifconfig eth0 0
8 sudo ifconfig eth0 192.168.2.2
9 sudo route add -net default gw 192.168.2.1 dev eth0
11 echo "configure success"