Linux VLAN interfaces and samba

Andrew Bird (Sphere Systems) ajb at spheresystems.co.uk
Tue Dec 20 14:38:26 GMT 2005


Hi all
	I have a Linux system which I have just switched to using VLAN interfaces. I 
am now finding the following message occuring in syslog and nmbd is bound to 
both the 192.168.3.10 and the wildcard 0.0.0.0 addresses. I would like it to 
be bound only to the 192.168.3.10 address

 Dec 20 14:27:44 maggie nmbd[2626]: [2005/12/20 14:27:44, 0] 
lib/interface.c:load_interfaces(225)
Dec 20 14:27:44 maggie nmbd[2626]:   WARNING: no network interfaces found
Dec 20 14:27:49 maggie nmbd[2626]: [2005/12/20 14:27:49, 0] 
lib/interface.c:load_interfaces(225)
Dec 20 14:27:49 maggie nmbd[2626]:   WARNING: no network interfaces found
Dec 20 14:27:54 maggie nmbd[2626]: [2005/12/20 14:27:54, 0] 
lib/interface.c:load_interfaces(225)
Dec 20 14:27:54 maggie nmbd[2626]:   WARNING: no network interfaces found

The system has one VLAN trunk card configured with two VLAN interfaces they 
are;

eth1      Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx
          inet6 addr:  xxxx::xxxx:xxxx Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:49841 errors:0 dropped:0 overruns:0 frame:0
          TX packets:57764 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:29194616 (27.8 MiB)  TX bytes:29355746 (27.9 MiB)
          Interrupt:10 Base address:0xb400

eth1.0    Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx
          inet addr:192.168.3.10  Bcast:192.168.3.255  Mask:255.255.255.0
          inet6 addr:  xxxx::xxxx:xxxx Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:16865 errors:0 dropped:0 overruns:0 frame:0
          TX packets:27755 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3641894 (3.4 MiB)  TX bytes:24079068 (22.9 MiB)

eth1.1    Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx
          inet addr:xx.xx.xx.xx  Bcast:xx.xx.xx.xx  Mask:255.255.255.248
          inet6 addr: xxxx::xxxx:xxxx Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:32976 errors:0 dropped:0 overruns:0 frame:0
          TX packets:30004 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:24854948 (23.7 MiB)  TX bytes:5254564 (5.0 MiB)

I am trying to bind Samba to the local interface only and as such have a 
smb.conf that looks like this;

# Global parameters
[global]
        netbios name = MAGGIE
        workgroup = INTRANET
        interfaces = eth1.0
        server string = Samba Server
        log file = /var/log/samba/%m.log
        max log size = 0
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

Best Regards


Andrew




More information about the samba-technical mailing list