Hi all, New to Samba here so please bear with dumb questions. I have a server that's currently running SMB shares off of device 10.0.0.1 on a private network. It has a second device, 10.0.0.2 that I would like to add to the device bindings for Samba. I've tried this in the smb.conf file but it doesn't seem to work. Here's what I tried: workgroup = SOMECOMPANY netbios name = SERVERNAME server string = Servername's Samba Server interfaces = 10.0.0.1/24 10.0.0.2 127.0.0.1 bind interfaces only = Yes That's only part of the config and the names and IP addresses have been changed. Anyway, this server still only responds to the .1 address and not the .2 address at all. I would like to pull traffic off of the .1 address because it's saturated and the .2 isn't used at all. If anyone has any ideas that would be great! Thanks! Paul
So you are trying to do load balancing? There may be some software out there that will do the load balancing for you. I've done load balancing under Windows 2000 using server NIC's from 3COM. The software creates a virtual device that you assign an IP address to, then you add physical hardware to this virtual device. This way there is only one IP on the network, but the network load is balanced across the additional NICs. This also provides fail over for the NICs in the group should a link to the network switch go down for whatever reason. There might be something similar for your machine available. -Dan -----Original Message----- From: Paul Harlow [mailto:PHarlow@skld.com] Sent: Wednesday, February 27, 2002 12:12 PM To: 'samba@lists.samba.org' Subject: [Samba] IP Binding Hi all, New to Samba here so please bear with dumb questions. I have a server that's currently running SMB shares off of device 10.0.0.1 on a private network. It has a second device, 10.0.0.2 that I would like to add to the device bindings for Samba. I've tried this in the smb.conf file but it doesn't seem to work. Here's what I tried: workgroup = SOMECOMPANY netbios name = SERVERNAME server string = Servername's Samba Server interfaces = 10.0.0.1/24 10.0.0.2 127.0.0.1 bind interfaces only = Yes That's only part of the config and the names and IP addresses have been changed. Anyway, this server still only responds to the .1 address and not the .2 address at all. I would like to pull traffic off of the .1 address because it's saturated and the .2 isn't used at all. If anyone has any ideas that would be great! Thanks! Paul -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
In a way yes I am doing load balancing. Moreover I'm just trying to segregate traffic. While load balancing would work, this is a better solution for my environment. As it stands now, unless I have a viable solution by the end of today I am going to change the SMB bindings to the .2 address and leave the other traffic solely on the .1 address. Thanks for the input in any case. Paul -----Original Message----- From: Thomas, Daniel J. [mailto:Daniel.Thomas@jhuapl.edu] Sent: Wednesday, February 27, 2002 10:29 AM To: 'Paul Harlow'; 'samba@lists.samba.org' Subject: RE: [Samba] IP Binding So you are trying to do load balancing? There may be some software out there that will do the load balancing for you. I've done load balancing under Windows 2000 using server NIC's from 3COM. The software creates a virtual device that you assign an IP address to, then you add physical hardware to this virtual device. This way there is only one IP on the network, but the network load is balanced across the additional NICs. This also provides fail over for the NICs in the group should a link to the network switch go down for whatever reason. There might be something similar for your machine available. -Dan -----Original Message----- From: Paul Harlow [mailto:PHarlow@skld.com] Sent: Wednesday, February 27, 2002 12:12 PM To: 'samba@lists.samba.org' Subject: [Samba] IP Binding Hi all, New to Samba here so please bear with dumb questions. I have a server that's currently running SMB shares off of device 10.0.0.1 on a private network. It has a second device, 10.0.0.2 that I would like to add to the device bindings for Samba. I've tried this in the smb.conf file but it doesn't seem to work. Here's what I tried: workgroup = SOMECOMPANY netbios name = SERVERNAME server string = Servername's Samba Server interfaces = 10.0.0.1/24 10.0.0.2 127.0.0.1 bind interfaces only = Yes That's only part of the config and the names and IP addresses have been changed. Anyway, this server still only responds to the .1 address and not the .2 address at all. I would like to pull traffic off of the .1 address because it's saturated and the .2 isn't used at all. If anyone has any ideas that would be great! Thanks! Paul -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Paul Harlow <PHarlow@skld.com> schrieb:> interfaces = 10.0.0.1/24 10.0.0.2 127.0.0.1 > bind interfaces only = Yes > > That's only part of the config and the names and IP addresses have been > changed. Anyway, this server still only responds to the .1 address and not > the .2 address at all. I would like to pull traffic off of the .1 address > because it's saturated and the .2 isn't used at all.You've surely restarted the samba daemons after that change? Bye, Frank -- Frank F?rst, physikalische Biochemie, Universit?t Potsdam, Germany Tel.: +49-331-977-5062 Fax: +49-331-977-5062
I'm not sure I understand your question or example - is your samba server reading the shares off 10.0.0.1, or serving them to it? Also your interfaces parameter seems odd to me. I think that interfaces is supposed to refer to a whole network, or can refer to a single ip number. Your example 10.0.0.1/24 doesn't seem to make sense - try 10.0.0.0/24 (ie the whole of 10.0.0.0 network with a 24 bit netmask (255.255.255.0)) If you just want to allow individual IPs to use your server, then don't specify a mask size (the /24). See the smb.conf man page for an explanation of what bind interfaces only does too ... ----- Original Message ----- From: "Paul Harlow" <PHarlow@skld.com> To: <samba@lists.samba.org> Sent: Wednesday, February 27, 2002 5:12 PM Subject: [Samba] IP Binding> Hi all, > > New to Samba here so please bear with dumb questions. > > I have a server that's currently running SMB shares off of device 10.0.0.1 > on a private network. It has a second device, 10.0.0.2 that I would liketo> add to the device bindings for Samba. I've tried this in the smb.conf file > but it doesn't seem to work. Here's what I tried: > > workgroup = SOMECOMPANY > netbios name = SERVERNAME > server string = Servername's Samba Server > interfaces = 10.0.0.1/24 10.0.0.2 127.0.0.1 > bind interfaces only = Yes > > That's only part of the config and the names and IP addresses have been > changed. Anyway, this server still only responds to the .1 address and not > the .2 address at all. I would like to pull traffic off of the .1 address > because it's saturated and the .2 isn't used at all. > If anyone has any ideas that would be great! Thanks! > > Paul > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba
10.0.0.1/24 is the server's eth0 address. 10.0.0.2/24 is the server's eth1 address. I've inherited this server and this is the way it was originally set up with the .1/24 address in that 'interfaces' string. I simply added the .2/24 to that thinking that I could get it to use .2 to serve up the Samba shares as well but it doesn't respond to a second address in that field. ie- last night I changed the smb.conf from this: interfaces = 10.0.0.1/24 127.0.0.1 To this: interfaces = 10.0.0.1/24 10.0.0.2/24 127.0.0.1 And it would only respond to the .1 address. When I reversed the order: interfaces = 10.0.0.2/24 10.0.0.1/24 127.0.0.1 It would only respond to requests made to the .2 address. Ultimately I would like it to respond to both addresses. Does that help? Paul -----Original Message----- From: Steven Mackenzie [mailto:sjm@activenavigation.com] Sent: Wednesday, February 27, 2002 10:48 AM To: Paul Harlow; samba@lists.samba.org Subject: Re: [Samba] IP Binding I'm not sure I understand your question or example - is your samba server reading the shares off 10.0.0.1, or serving them to it? Also your interfaces parameter seems odd to me. I think that interfaces is supposed to refer to a whole network, or can refer to a single ip number. Your example 10.0.0.1/24 doesn't seem to make sense - try 10.0.0.0/24 (ie the whole of 10.0.0.0 network with a 24 bit netmask (255.255.255.0)) If you just want to allow individual IPs to use your server, then don't specify a mask size (the /24). See the smb.conf man page for an explanation of what bind interfaces only does too ... ----- Original Message ----- From: "Paul Harlow" <PHarlow@skld.com> To: <samba@lists.samba.org> Sent: Wednesday, February 27, 2002 5:12 PM Subject: [Samba] IP Binding> Hi all, > > New to Samba here so please bear with dumb questions. > > I have a server that's currently running SMB shares off of device 10.0.0.1 > on a private network. It has a second device, 10.0.0.2 that I would liketo> add to the device bindings for Samba. I've tried this in the smb.conf file > but it doesn't seem to work. Here's what I tried: > > workgroup = SOMECOMPANY > netbios name = SERVERNAME > server string = Servername's Samba Server > interfaces = 10.0.0.1/24 10.0.0.2 127.0.0.1 > bind interfaces only = Yes > > That's only part of the config and the names and IP addresses have been > changed. Anyway, this server still only responds to the .1 address and not > the .2 address at all. I would like to pull traffic off of the .1 address > because it's saturated and the .2 isn't used at all. > If anyone has any ideas that would be great! Thanks! > > Paul > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba
Yeah...stopped it twice. Once just to see the 'Failed' message after stopping it the first time. Then I started it, verified that it was working, and tried a connection. To no avail... -----Original Message----- From: ffrank@rz.uni-potsdam.de [mailto:ffrank@rz.uni-potsdam.de] Sent: Wednesday, February 27, 2002 10:41 AM To: samba@lists.samba.org Subject: Re: [Samba] IP Binding Paul Harlow <PHarlow@skld.com> schrieb:> interfaces = 10.0.0.1/24 10.0.0.2 127.0.0.1 > bind interfaces only = Yes > > That's only part of the config and the names and IP addresses have been > changed. Anyway, this server still only responds to the .1 address and not > the .2 address at all. I would like to pull traffic off of the .1 address > because it's saturated and the .2 isn't used at all.You've surely restarted the samba daemons after that change? Bye, Frank -- Frank F?rst, physikalische Biochemie, Universit?t Potsdam, Germany Tel.: +49-331-977-5062 Fax: +49-331-977-5062 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Unless you have more then those two adapters, you might want to try a wild card for the ip address. Samba might accept "*" or "10.0.0.*" for the binding IP address. You may need to check the samba documentation, but I thought it bound to all available interfaces by default unless you specified otherwise. -Dan -----Original Message----- From: Paul Harlow [mailto:PHarlow@skld.com] Sent: Wednesday, February 27, 2002 12:45 PM To: Samba List (E-mail) Subject: RE: [Samba] IP Binding In a way yes I am doing load balancing. Moreover I'm just trying to segregate traffic. While load balancing would work, this is a better solution for my environment. As it stands now, unless I have a viable solution by the end of today I am going to change the SMB bindings to the .2 address and leave the other traffic solely on the .1 address. Thanks for the input in any case. Paul -----Original Message----- From: Thomas, Daniel J. [mailto:Daniel.Thomas@jhuapl.edu] Sent: Wednesday, February 27, 2002 10:29 AM To: 'Paul Harlow'; 'samba@lists.samba.org' Subject: RE: [Samba] IP Binding So you are trying to do load balancing? There may be some software out there that will do the load balancing for you. I've done load balancing under Windows 2000 using server NIC's from 3COM. The software creates a virtual device that you assign an IP address to, then you add physical hardware to this virtual device. This way there is only one IP on the network, but the network load is balanced across the additional NICs. This also provides fail over for the NICs in the group should a link to the network switch go down for whatever reason. There might be something similar for your machine available. -Dan -----Original Message----- From: Paul Harlow [mailto:PHarlow@skld.com] Sent: Wednesday, February 27, 2002 12:12 PM To: 'samba@lists.samba.org' Subject: [Samba] IP Binding Hi all, New to Samba here so please bear with dumb questions. I have a server that's currently running SMB shares off of device 10.0.0.1 on a private network. It has a second device, 10.0.0.2 that I would like to add to the device bindings for Samba. I've tried this in the smb.conf file but it doesn't seem to work. Here's what I tried: workgroup = SOMECOMPANY netbios name = SERVERNAME server string = Servername's Samba Server interfaces = 10.0.0.1/24 10.0.0.2 127.0.0.1 bind interfaces only = Yes That's only part of the config and the names and IP addresses have been changed. Anyway, this server still only responds to the .1 address and not the .2 address at all. I would like to pull traffic off of the .1 address because it's saturated and the .2 isn't used at all. If anyone has any ideas that would be great! Thanks! Paul -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Would it matter that I already registered the second IP address in our DNS server as SERVERNAME2? That and I did edit the hosts file on the client in question so that there wasn't any question on the issue. I think it's a configuration issue on this server that I will get to test in an hour. Thanks for the input! -----Original Message----- From: Herb Lewis [mailto:herb@sgi.com] Sent: Wednesday, February 27, 2002 3:54 PM To: Paul Harlow Subject: Re: [Samba] IP Binding This is a name resolution issue. I'm not sure if samba only registers the first interface or the client only uses the first one it sees on the subnet it wants. You can test this out by adding the server name to a client lmhosts file with the second interface IP address and that client should then use the second interface (after the obligatory reboot of the client that is). Paul Harlow wrote:> > 10.0.0.1/24 is the server's eth0 address. 10.0.0.2/24 is the server's eth1 > address. > I've inherited this server and this is the way it was originally set upwith> the .1/24 address in that 'interfaces' string. I simply added the .2/24 to > that thinking that I could get it to use .2 to serve up the Samba sharesas> well but it doesn't respond to a second address in that field. > ie- last night I changed the smb.conf from this: > interfaces = 10.0.0.1/24 127.0.0.1 > To this: > interfaces = 10.0.0.1/24 10.0.0.2/24 127.0.0.1 > And it would only respond to the .1 address. > When I reversed the order: > interfaces = 10.0.0.2/24 10.0.0.1/24 127.0.0.1 > It would only respond to requests made to the .2 address. > Ultimately I would like it to respond to both addresses. > Does that help? > > Paul-- =====================================================================Herb Lewis Silicon Graphics Networking Engineer 1600 Amphitheatre Pkwy MS-510 Strategic Software Organization Mountain View, CA 94043-1351 herb@sgi.com Tel: 650-933-2177 http://www.sgi.com Fax: 650-932-2177 ======================================================================
I think there's a misunderstanding here. All of the IP addresses on this 10.0.0.0 subnet can already get to this server's SMB shares. This server won't respond with SMB on any interface other than the 10.0.0.1 interface and I need it to respond with whatever interface that a client can get to. Be it 10.0.0.1 or 10.0.0.2. Thanks for the help though! -----Original Message----- From: Steven J Mackenzie [mailto:sjm@activenavigation.com] Sent: Wednesday, February 27, 2002 4:29 PM To: Paul Harlow Subject: Re: [Samba] IP Binding> interfaces = 10.0.0.1/24 10.0.0.2 127.0.0.1I think you just want interfaces = 10.0.0.0/24 127.0.0.1 I think that will let the 254 computers (10.0.01 to 10.0.0.254) on your 10.0.0.0/24 subnet talk to your samba server (if they want to).