Configuration Help. Ping says Destination unreachable.
Shashank Khanvilkar
shashank at mia.ece.uic.edu
Mon Jun 9 19:41:59 CEST 2003
On Sun, 8 Jun 2003, Guus Sliepen wrote:
> > http://mia.ece.uic.edu/~papers/volans/networksetup.jpg
>
> You don't need to have a seperate subnet for the tunnel, just use the
> same address you have on the private subnet for the tunnel endpoints.
> So no need for 192.168.254.200 and 192.168.254.201, just use 192.168.0.1
> and 192.168.2.1.
>
> Use Subnet = 192.168.0.0/24 for mia and Subnet = 192.168.2.0/24 for
> zidler. Since the whole VPN is larger than a /24, you should use
> something like this in tinc-up on both sides:
>
> ifconfig $INTERFACE 192.168.0.0 netmask 255.255.0.0
Since mia already has 192.168.0.1 assigned to eth1, I will use 192.168.0.2
(or anything else...).. Same thing for Zidler (192.168.2.2).
I have never used the "ifconfig $INTERFACE 192.168.0.0 netmask
255.255.0.0" command that u have mentioned. So I am a bit confused.
So just to be clear the tinc-up script on mia and zidler should look like:
ZIDLER:
-------
#!/bin/sh
ifconfig $INTERFACE hw ether fe:fe:0:0:0:0
#How do I assign 192.168.2.2 for this virtual interface.Should I add the
#below line
#ifconfig $INTERFACE 192.168.2.2 netmask 255.255.255.0
ifconfig $INTERFACE 192.168.0.0 netmask 255.255.0.0
ifconfig $INTERFACE -arp
MIA:
----
#!/bin/sh
ifconfig $INTERFACE hw ether fe:fd:0:0:0:0
#How do I assign 192.168.2.2 for this virtual interface.Should I add the
#below line
#ifconfig $INTERFACE 192.168.0.2 netmask 255.255.255.0
ifconfig $INTERFACE 192.168.0.0 netmask 255.255.0.0
ifconfig $INTERFACE -arp
Thanks for your help.. I will try to get on the IRC channel and see if I
can get some help.
Tinc: Discussion list about the tinc VPN daemon
Archive: http://mail.nl.linux.org/lists/
Tinc site: http://tinc.nl.linux.org/
More information about the Tinc
mailing list