On 02.06.09 02:45, EQMaker wrote: > I'm trying to make a 'IPIP Tunnel' between 2 linux-boxes > > What should I study to make IPIP-Tunnel?
google ;) > This is my plan. > > [Side A] - Client > eth0 : 192.168.154.1 (A-side local) > eth1 : 121.131.132.32 (to Side B / real IP for ex.) > ipip1 : 10.10.1.1 (tunnel IP - for eth0s of side-A and side-B) > > [Side B] - Server > eth0 : 192.168.10.4 (B-side local) > eth1 : 64.13.24.5 (going to A-side / real IP for ex.) > ipip1 : 10.10.1.2 (tunnel IP - for eth0s of side-A and side-B) I have this in my interfaces file: iface tunnel0 inet static address <local_private> netmask 255.255.255.255 mtu 1480 pre-up iptunnel add tunnel0 mode ipip remote <remote_public> local <local_public> post-up route add -host <remote_private> dev tunnel0 post-down iptunnel del tunnel0 However this is just for running ipip links between two hosts (don't ask). However I think that using subnet remote_private should work... And of course remember to exchange ips on other host... -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. Boost your system's speed by 500% - DEL C:\WINDOWS\*.* -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org