Displaying 1 result from an estimated 1 matches for "ariel2".
Did you mean:
ariel
2000 Oct 15
1
IP tunneling
...I wrote this two scripts (I use RedHat 6.1 on both routers with kernel 2.2.12)
file rc.ipip on router A
#!/bin/sh
PATH=/sbin:/usr/sbin
echo installing modul...
modprobe ip_gre
echo setting tunl0...
ip tunnel add neta mode gre remote 145.35.160.94 local 145.35.162.44 ttl 255
echo adding network ariel2...
ip addr add 192.168.1.1 dev neta
ip route add 192.168.2.0/24 dev neta
in file rc.local
.
.
.
/etc/rc.d/rc.ipip
file rc.ipip on router B
#!/bin/sh
PATH=/sbin:/usr/sbin
echo installing modul...
modprobe ip_gre
echo setting tunl0...
ip tunnel add netb mode gre remote 145.35.162.44 local 145.35.1...