Configuration issues, causing inter subnet pings to fail.

Scott Mohekey scott.mohekey at telogis.com
Thu May 6 14:16:04 CEST 2004


I have the following configuration, each ip with a subnet of
255.255.255.0.

With the current configuration files I am able to ping back and forth
between the two gateways at any of their 3 ips, but I am unable to ping
between an appx host on one subnet to an appx host or the gateway on the
other subnet. What am I doing wrong?

Host
Private IP (eth0)
Public IP (eth1)
VPN IP (tun0)
gateway.la
192.168.1.254
192.168.10.5
192.168.1.253
app1.la
192.168.1.1


app2.la
192.168.1.2






gateway.tx
192.168.2.254
192.168.10.6
192.168.2.253
app1.tx
192.168.2.1


app2.tx
192.168.2.2




[/etc/tinc]$ cat tinc.conf
Name = la
Device = /dev/tun
ConnectTo = tx
PrivateKeyFile = /etc/tinc/rsa_key.priv
[/etc/tinc]$ cat tinc-up
#!/bin/sh

echo "Configuring VPN..."

ifconfig $INTERFACE hw ether fe:fd:0:0:0:0

ifconfig $INTERFACE 192.168.1.253 netmask 255.255.255.0

ifconfig $INTERFACE -arp

route add -net 192.168.2.0 netmask 255.255.255.0 dev $INTERFACE
[/etc/tinc]$ cat tinc-down
#!/bin/bash

route del -net 192.168.2.0 netmask 255.255.255.0 dev $INTERFACE

ifconfig $INTERFACE down
[/etc/tinc]$ cat hosts/la
Address = gateway.la
Subnet = 192.168.1.0/24
PublicKeyFile = /etc/tinc/rsa_key.pub
[/etc/tinc]$ cat hosts/tx
Address = gateway.tx
Subnet = 192.168.2.0/24
PublicKeyFile = /etc/tinc/rsa_key.pub
[/etc/tinc]$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://brouwer.uvt.nl/pipermail/tinc/attachments/20040507/9f78cd61/attachment.htm


More information about the tinc mailing list