2 nic's = 2 netbios names wanted!
I have been struggling with this for quite some time now:
I have a samba-server (FC4) with 2 network cards. Naturally, they shall have different names and this is the problem - both names are tied to same IP. /etc/sysconfig/network-scripts/ and /etc/sysconfig/networking/defaults/ ifcfg-eth0 and eth1 clearly states: Code:
ifcfg-eth0: Pinging these two names from server returns correct IP's, but from any other workstation in any subnet both are assigned to 172.16.1.6 The two subnets use the same DHCP, DNS and WINS-server. So how on earth do I get one name per nic??? |
As a test, try this:
Echo 1 >/proc/sys/net/ipv4/conf/all/arp_filter Here's the snipit of documentation from the kernel doc's: Quote:
|
Thaks for the suggestion, but it didn't help.
Actually, Quote:
The interfaces are and must be on different subnets. This should be a simple setup according to samba's doc You add "netbios aliases = name1 name2", "include = /etc/samba/smb.conf-%L" and create two config files: /etc/samba/smb.conf-name1 and /etc/samba/smb.conf-name2. "testparm" reads smb.conf.name1 but ignores smb.conf.name2 completely. It isn't even mentioned. It could be a samba-problem, but I do believe the real problem is computer has only one netbios-name. |
All times are GMT -5. The time now is 11:03 PM. |