Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Trivial setup question

3 views
Skip to first unread message

Christoph Lechleitner

unread,
Jan 9, 2004, 10:15:59 AM1/9/04
to
On Sun, 14 Sep 2003, Charles Burnett wrote:

>
>Home:
> Ethernet adapter LAN:
> IP Address. . . . . . . . . . . . : 192.168.0.2
> Subnet Mask . . . . . . . . . . . : 255.255.255.0
> Default Gateway . . . . . . . . . : 192.168.0.1
>
> Ethernet adapter TINC:
> IP Address. . . . . . . . . . . . : 192.168.1.1
> Subnet Mask . . . . . . . . . . . : 255.255.0.0
> Default Gateway . . . . . . . . . :
>
> tinc host file (relevant part):
> Subnet = 192.168.0.0/16
>
>Laptop:
> Ethernet adapter LAN:
> IP Address. . . . . . . . . . . . : 10.24.32.16
> Subnet Mask . . . . . . . . . . . : 255.0.0.0
> Default Gateway . . . . . . . . . : 10.54.99.1
>
> Ethernet adapter TINC:
> IP Address. . . . . . . . . . . . : 192.168.1.2
> Subnet Mask . . . . . . . . . . . : 255.255.0.0
> Default Gateway . . . . . . . . . :
>
> tinc host file (relevant part):
> Subnet = 192.168.1.2/32
>
>Both systems will normally be on different networks, of course, which are
>firewalled and masqueraded. I've set them both up for TCPOnly, and I can get
>them connected (Laptop -> Home). They can ping one another and communicate
>(192.168.1.1 <-> 192.168.1.2) with no problems, however, the Laptop machine
>cannot see the rest of the Home network. i.e., from the laptop, I want to be
>able to connect to 192.168.0.5, which is another machine on the Home network.
>
>I've tried most logical setups, spent 6+ hours on it, read the help
>documentation and examples over and over and over, etc, but can anyone give
>me advice as to how to change my setup to make this work?

Have you set a routing to your home lan?

route add -net 192.168.0.0 netmask 255.255.255.0 gw 192.168.1.1

kr

Christoph
Tinc: Discussion list about the tinc VPN daemon
Archive: http://mail.nl.linux.org/lists/
Tinc site: http://tinc.nl.linux.org/

Guus Sliepen

unread,
Jan 9, 2004, 10:16:00 AM1/9/04
to
On Sun, Sep 14, 2003 at 06:03:56PM -0000, Charles Burnett wrote:

> Both systems will normally be on different networks, of course, which are
> firewalled and masqueraded. I've set them both up for TCPOnly, and I can get
> them connected (Laptop -> Home). They can ping one another and communicate
> (192.168.1.1 <-> 192.168.1.2) with no problems, however, the Laptop machine
> cannot see the rest of the Home network. i.e., from the laptop, I want to be
> able to connect to 192.168.0.5, which is another machine on the Home network.

Did you run tinc in router (the default) or switch mode? In the latter
mode you have create a bridge interface and make the TINC and LAN
interfaces slaves of the bridge interface. In router mode you need to do
proxy-arp on the Home network for the laptop.

If you do not want to bridge or proxy-arp, you should give the laptop
its own subnet outside of the subnet of the Home network.

--
Met vriendelijke groet / with kind regards,
Guus Sliepen <gu...@sliepen.eu.org>

Charles Burnett

unread,
Jan 9, 2004, 10:15:58 AM1/9/04
to

Hello. I apologize in advance for my question -- it's seemingly trivial, but
I've spent countless hours on its solution to no avail. Basically, I have
two tinc servers:

Home:
Ethernet adapter LAN:
IP Address. . . . . . . . . . . . : 192.168.0.2
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.1

Ethernet adapter TINC:
IP Address. . . . . . . . . . . . : 192.168.1.1
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :

tinc host file (relevant part):
Subnet = 192.168.0.0/16

Laptop:
Ethernet adapter LAN:
IP Address. . . . . . . . . . . . : 10.24.32.16
Subnet Mask . . . . . . . . . . . : 255.0.0.0
Default Gateway . . . . . . . . . : 10.54.99.1

Ethernet adapter TINC:
IP Address. . . . . . . . . . . . : 192.168.1.2
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :

tinc host file (relevant part):
Subnet = 192.168.1.2/32

Both systems will normally be on different networks, of course, which are

firewalled and masqueraded. I've set them both up for TCPOnly, and I can get
them connected (Laptop -> Home). They can ping one another and communicate
(192.168.1.1 <-> 192.168.1.2) with no problems, however, the Laptop machine
cannot see the rest of the Home network. i.e., from the laptop, I want to be
able to connect to 192.168.0.5, which is another machine on the Home network.

I've tried most logical setups, spent 6+ hours on it, read the help

documentation and examples over and over and over, etc, but can anyone give
me advice as to how to change my setup to make this work?

Thank you.
Charles Burnett

0 new messages