I can't get multiple interfaces to work
llucius at tiny.net
Sat Mar 18 01:01:45 GMT 2000
For those interested...
My problem was very simple. A while back I'd turned off all ICMP traffic
echo 1 >/proc/sys/net/ipv4/icmp_echo_ignore_all
I'd completely forgotten about it as everything was working just fine until
I put the new multiport card in. I'd been running over a hub so this didn't
affect browsing or wins on the local network. But, now that all traffic is
going through the Linux box, Windows would just give up when it couldn't
"ping" the other boxes.
I corrected the problem by removing the above and now only disallow ICMP
traffic on my external interface.
Can you believe this took my so darn long?!?! I could kick myself!
From: Cy [mailto:llucius at tiny.net]
Sent: Monday, March 13, 2000 12:45 PM
To: 'samba at samba.org'
Subject: I can't get multiple interfaces to work
I've looked through all the doc and searched the list archives, but I just
can't seem to get it to work. I have a Linux box with 5 ethernet
interfaces, 3 of which have winboxes I'd like to include in my little Samba
network. I'm able to get it far enough for each winbox to see the linbox,
but they can't see each other.
Here's my setup:
Win2k - 172.16.2.2/24 (WINS=172.16.2.1) <---> 172.16.2.1/24 (eth2)
Win98 - 172.16.3.2/24 (WINS=172.16.3.1) <---> 172.16.3.1/24 (eth3)
Win98 - 172.16.4.2/24 (WINS=172.16.4.1) <---> 172.16.4.1/24 (eth4)
And here's (most of) my latest attempt smb.conf:
workgroup = DISSEN.NET
netbios name = DESKCOP
interfaces = eth2 eth3 lo
bind interfaces only = Yes
encrypt passwords = Yes
name resolve order = lmhosts
time server = Yes
os level = 65
preferred master = Yes
local master = No
domain master = Yes
wins support = Yes
hosts allow = 172.16.
hosts deny = ALL
This last attempt allows my to map shares from one winbox to another IF I
specify the IP address, i.e., \\172.16.2.2\share1. Only the local winbox
and the linbox show up in "Network Neighborhood".
I'm willing to change anything (netmasks, wins, lmhosts,...), so ANY
pointers would be greatly appreciated!
More information about the samba