Subject: NAT + ALTQ + Samba problem
To: None <netbsd-help@netbsd.org>
From: Dawid Busse <darthbula@o2.pl>
List: netbsd-help
Date: 07/27/2006 17:10:50
Hi All,

I'm using NetBSD as  NAT/Gateway and Samba server.
It has 2 NIC's:
fxp0 - connected to ADSL modem
wm0 - connected to LAN, IP 192.168.1.1/24 

I use ALTQ/PRIQ on wm0 to divide incoming Internet traffic - it works fine if wm0 bandwidth 
is set to DSL speed, but this results in poor Samba performance. Tried to add another NIC 
rtk0 192.168.1.254/24 only for samba. In smb.conf:

interfaces = lo0 rtk0
bind interfaces only = yes,
hosts allow = 192.168.1.  

Performance also was poor, does anybody have some tips how to solve this? 

Kind regards,
Dawid.