set generic ip

This commit is contained in:
Jörg Thalheim 2013-10-02 21:51:43 +02:00
parent 0cbec4bf35
commit f0c77c819a
1 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
#!/bin/sh
echo "add your ip to this file!"
exit 1
ifconfig $INTERFACE 10.42.1.10 netmask 255.255.255.255
ifconfig $INTERFACE <YOUR IP> netmask 255.255.255.255
route del -net <YOUR IP> netmask 255.255.255.255 dev $INTERFACE
route add -net 10.42.0.0 netmask 255.255.0.0 dev $INTERFACE