Multiple interfaces

Perry Couprie perry at couprie.net
Sun Oct 3 18:54:59 CEST 2010


When using the following tinc node names.
To setup 2 vpn's to a seconde server:

tinc10703003005
tinc10703003004

I get duplicate interfaces.

But when i change tinc10703003005 to linc10703003005.
So that the name for the tincd nodes become:

linc10703003005
tinc10703003004

Then i don't haven multiple interfaces.

Is this because of a maximum size for the netname ?

Or somethingh else ?

Perry

On 10/01/2010 11:22 AM, Perry Couprie wrote:
> Hi,
>
> When is start one vpn i get the following result:
>
> tinc10703003005 Link encap:Ethernet  HWaddr C2:F7:7B:75:47:1A
>           inet addr:192.168.3.20  Bcast:192.168.3.255  Mask:255.255.255.0
>           inet6 addr: fe80::c0f7:7bff:fe75:471a/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:500
>           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
>
> When i start the second vpn to the same server, but with a different 
> port.
>
> Then i get the following:
>
> tinc10703003005 Link encap:Ethernet  HWaddr C2:F7:7B:75:47:1A
>           inet addr:192.168.3.20  Bcast:192.168.3.255  Mask:255.255.255.0
>           inet6 addr: fe80::c0f7:7bff:fe75:471a/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:500
>           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
>
> tinc10703003004 Link encap:Ethernet  HWaddr 86:8A:DF:D9:12:A6
>           inet addr:192.168.2.8  Bcast:192.168.2.255  Mask:255.255.255.0
>           inet6 addr: fe80::848a:dfff:fed9:12a6/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:500
>           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
>
> tinc10703003005 Link encap:Ethernet  HWaddr C2:F7:7B:75:47:1A
>           inet addr:192.168.3.20  Bcast:192.168.3.255  Mask:255.255.255.0
>           inet6 addr: fe80::c0f7:7bff:fe75:471a/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:500
>           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
>
> tinc10703003004 Link encap:Ethernet  HWaddr 86:8A:DF:D9:12:A6
>           inet addr:192.168.2.8  Bcast:192.168.2.255  Mask:255.255.255.0
>           inet6 addr: fe80::848a:dfff:fed9:12a6/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:500
>           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
>
> I use port 10004 for one vpn and port 10005 for the second vpn.
>
> What am i doing wrong ? :-(
>
> Ik you need more informatie, let me know :-)
>
> Perry



More information about the tinc mailing list