Hello all, We have a few aliased Ethernet addresses on our server and if I do not use the Bind statement in the "Global" section then the NMBD seems to try to bind to all of the addresses. We are actually using OpenVPN which make the connections just fine on a 172.16.x.x subnet to "tun0" device. The problem is that Samba does not seem to find the tun0 device and reports that there are no network cards available if I use the: Bind Interfaces Only = True Interfaces tun0 172.16.0.1 How can I just bind Samba to the tun0 device? Also, with my home machine on the 192.168.x.x subnet and can see another Samba server just fine in the "WORKGROUP" but I cannot see the workgroup on the 172.16.x.x subnet through the VPN connection. Any ideas on how to be able to see the other workgroup as well? -- Cheers, Lonnie Cumberland OutStep Technologies Incorporated
Lonnie wrote:> Hello all, > > We have a few aliased Ethernet addresses on our server and if I do not > use the Bind statement in the "Global" section then the NMBD seems to > try to bind to all of the addresses. > > We are actually using OpenVPN which make the connections just fine on > a 172.16.x.x subnet to "tun0" device. > > The problem is that Samba does not seem to find the tun0 device and > reports that there are no network cards available if I use the: > > Bind Interfaces Only = True > Interfaces tun0 172.16.0.1 > > How can I just bind Samba to the tun0 device? > > Also, with my home machine on the 192.168.x.x subnet and can see > another Samba server just fine in the "WORKGROUP" but I cannot see the > workgroup on the 172.16.x.x subnet through the VPN connection. > > Any ideas on how to be able to see the other workgroup as well? >Lonnie, The cleanest way to do this is to set up a single WINS server for all your subnets and domains. also, check out the remote announce parameter in smb.conf . Maybe a search on the openvpn list will help you with the other problem. regards, Ian -- Ian Clancy IT Systems Engineer Connaught Electronics Ltd. Dunmore Rd, Tuam, Co. Galway, Ireland. P : ++353 93 23151 F : ++353 93 23110 E : mailto:clancyian@cel.ie W : http://www.cel-europe.com
Lonnie schrieb:> Hello all, > > We have a few aliased Ethernet addresses on our server and if I do not > use the Bind statement in the "Global" section then the NMBD seems to > try to bind to all of the addresses. > > We are actually using OpenVPN which make the connections just fine on > a 172.16.x.x subnet to "tun0" device. > > The problem is that Samba does not seem to find the tun0 device and > reports that there are no network cards available if I use the: > > Bind Interfaces Only = True > Interfaces tun0 172.16.0.1 > > How can I just bind Samba to the tun0 device? > > Also, with my home machine on the 192.168.x.x subnet and can see > another Samba server just fine in the "WORKGROUP" but I cannot see the > workgroup on the 172.16.x.x subnet through the VPN connection. > > Any ideas on how to be able to see the other workgroup as well? >as far i know you have to use the tap interface for samba as tun is not a "real" ethernet nic ( but i may fail here ) if you use openvpn read the faqs on their website about differents between tun and tap i have found no problems using samba with tap interfaces so i recommed to use them insted of tun Best Regards