Hello, I have Fedora Core 3 linux and Samba 3.0.14a on a server that has 2 ethernet interfaces connected to the same LAN. The purpose to have such a server with 2 network cards is to serve 2 network shares with high traffic. I want the first share to be accessed trough the first network card (named drone.domain.com) and the second share trough the second card (named probe.domain.com). My DNS works correctly. The problem I see is that I can't designate the second card to be "bound" to the netbios name of "probe" and in this way, my clients to make connections on this second network interface, for example \\probe\some_share If I use this global setting " netbios aliases = probe " the name "probe" is bound like a second name for the first card, which already has netbios name "drone" associated with it. Without "netbios aliases=probe" nmblookup command can't find any information about netbios name "probe". I tried to make the following permanent mapping: netbios name <--> IP in wins.dat file but it desappears after a few seconds. Does anyone has any idea how I or samba could announce it's Netbios name which is on the second LAN card ? 10x in advance Best regards __________________________________ Nikolay Kabaivanov, ntk@ru.acad.bg University of Rousse, Bulgaria
setup override entries in your DNS. Nikolay Kabaivanov wrote:> Hello, > I have Fedora Core 3 linux and Samba 3.0.14a on a server that has 2 > ethernet interfaces connected to the same LAN. The purpose to have such > a server with 2 network cards is to serve 2 network shares with high > traffic. I want the first share to be accessed trough the first network > card (named drone.domain.com) and the second share trough the second > card (named probe.domain.com). My DNS works correctly. > The problem I see is that I can't designate the second card to be > "bound" to the netbios name of "probe" and in this way, my clients to > make connections on this second network interface, for example > \\probe\some_share > > If I use this global setting " netbios aliases = probe " > the name "probe" is bound like a second name for the first card, which > already has netbios name "drone" associated with it. > Without "netbios aliases=probe" nmblookup command can't find any > information about netbios name "probe". > I tried to make the following permanent mapping: netbios name <--> IP in > wins.dat file but it desappears after a few seconds. > Does anyone has any idea how I or samba could announce it's Netbios name > which is on the second LAN card ? > > 10x in advance > > Best regards > __________________________________ > Nikolay Kabaivanov, ntk@ru.acad.bg > University of Rousse, Bulgaria >
Nikolay Kabaivanov wrote:> Hello Michael, > I did not understand you copletely. > Can you elaborate more on this ? What setup ? > My problem is with netbios not with DNS ? > Regards > __________________________________ > Nikolay Kabaivanov, ntk@ru.acad.bgNetBIOS + Multiple Nics = PROBLEMS. DNS + Multiple Nics = OK. *PRESUMING* your clients are W2K or XP or W2K3 you can set up round robin DNS entries so that SERVERALIAS PTR A IP#1 SERVERALIAS PTR A IP#2 Then set your logon script to connect to \\SERVERALIAS\SHARE so long as DNS round robin is correctly working, you will end up with "pseudo" load balancing between the NICs/IP#'s
Nikolay Kabaivanov wrote:> Hello, I have Fedora Core 3 linux and Samba 3.0.14a on a server that > has 2 ethernet interfaces connected to the same LAN. The purpose to > have such a server with 2 network cards is to serve 2 network shares > with high traffic. I want the first share to be accessed trough the > first network card (named drone.domain.com) and the second share > trough the second card (named probe.domain.com). My DNS works > correctly. The problem I see is that I can't designate the second > card to be "bound" to the netbios name of "probe" and in this way, my > clients to make connections on this second network interface, for > example \\probe\some_share > > If I use this global setting " netbios aliases = probe " the name > "probe" is bound like a second name for the first card, which already > has netbios name "drone" associated with it. Without "netbios > aliases=probe" nmblookup command can't find any information about > netbios name "probe". I tried to make the following permanent > mapping: netbios name <--> IP in wins.dat file but it desappears > after a few seconds. Does anyone has any idea how I or samba could > announce it's Netbios name which is on the second LAN card ?It's outside of anything on Samba configuration to do what you want, but another way to use both interfaces to their fullest, would be to "bond" the two ethernet interfaces. Your network switches would have to support this and be configured, but then your two seperate 100MB/s interfaces would be one single 200MB/s connection from your server to your network with a single "logical" interface, associated ip address, and netbios name for it. Eric Feldhusen