Performance problems on solaris x86

Martin Andersson martin.se.andersson at telia.com
Mon May 17 14:21:20 CEST 2004


Hi!

I've successfully installed tinc on Solaris 8 x86. Everything seem to 
work ok except for one thing, I get 5kb/s transfer rates over a 100mbit 
TP connection. Is this a known problem or have I made some mistakes?

My setup is really simple:

anna(Win XP - Tinc 1.0.2 using the Win32-TAP driver) <=> LAN <=> sara
(Solaris 8 x86 - Tinc 1.0.2 using the TUN/TAP 1.1 driver, OpenSSL 
0.9.7d)

Another funny thing is that tincd core dumps when I use the "-d<N>" 
argument on the Solaris machine.

My setup:
root at sara# ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
elx0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 
2
        inet 172.16.17.1 netmask ffffff00 broadcast 172.16.17.255
        ether 0:20:af:bd:cf:72
elxl0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 
index 3
        inet XXX.XXX.XXX.XXX netmask ffffff00 broadcast XXX.XXX.XXX.XXX
        ether 0:4:76:90:62:f9
elxl1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 
index 4
        inet 172.16.16.1 netmask ffffff00 broadcast 172.16.16.255
        ether 0:10:5a:20:b3:b7
tun0: flags=10008d1<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST,IPv4> mtu 
1500 index 55
        inet 172.17.1.1 --> 0.0.0.0 netmask ffff0000
        ether 0:0:0:0:0:0

root at sara# netstat -rn
Routing Table: IPv4
  Destination           Gateway           Flags  Ref   Use   Interface
-------------------- -------------------- ----- ----- ------ ---------
XXX.XXX.XXX.XXX        XXX.XXX.XXX.XXX          U        1   1267  elxl0
172.16.16.0          172.16.16.1           U        1    115  elxl1
172.16.17.0          172.16.17.1           U        1   2662  elx0
172.16.18.0          172.16.16.1           U        1   1191  elxl1
172.17.0.0           172.17.1.1            U        1      1  tun0
224.0.0.0            172.16.16.1           U        1      0  elxl1
default              XXX.XXX.XXX.XXX           UG       1  20542
127.0.0.1            127.0.0.1             UH       1   2543  lo0

root at sara# modinfo | grep tun
142 fe99e3b9   13c0  87   1  tun (TUN/TAP driver 1.1 05/13/2004)

root at sara# cat tinc.conf
Name = sara
Device = /dev/tun

root at sara# cat tinc-up
#!/bin/ksh

/usr/sbin/ifconfig $INTERFACE 172.17.1.1 netmask 255.255.0.0 up
/usr/sbin/route add -net 172.17 172.17.1.1 255.255.0.0 -interface

root at sara# cat hosts/sara
Address = 172.16.16.1
Subnet = 172.17.1.1/32
-----BEGIN RSA PUBLIC KEY-----
REMOVED
-----END RSA PUBLIC KEY-----

root at sara# cat hosts/anna
Address = 172.16.16.2
Subnet = 172.17.3.1/32
-----BEGIN RSA PUBLIC KEY-----
REMOVED
-----END RSA PUBLIC KEY-----

Regards,
Martin Andersson


More information about the tinc mailing list