[Samba] Different IPs on a samba server #2

sgmayo at mail.bloomfield.k12.mo.us sgmayo at mail.bloomfield.k12.mo.us
Fri Oct 17 18:58:42 GMT 2008

Adam Williams wrote:
> you need a trailing dot, like
> hosts allow = 10.0. 192.168.0. localhost

Sorry, that was a TYPO.

> can your 10. network and 192.168. network ping each other?

Yes, they can ping each other.  One thing I did try was to alias a number to the NIC in my samba server.  I can ping the NIC from both networks, but I cannot ping the NIC
from either network, unless I ping it from the samba server itself.

>are you running wins server = yes and msdfs root = yes on the samba server?

Yes, both of those are on my samba server.

I am going to try and put the 192.168 network into the switch where my
10.0. network is and then have the NIC in my firewall go to
the switch also and see if that makes any difference instead of having the
192.168 network come directly into my NIC (which it is doing
now).  If I can do that and Samba will run correctly then that will be
fine with me.

> sgmayo at mail.bloomfield.k12.mo.us wrote:
>> Ok, I have played with this some more.
>> Here is my setup.
>> I have a local network 10.0.x.x/
>> I have an off site network 192.168.0.x/
>> The samba server is also my wins server and has the ip on my
>> local network.  This is the only NIC in the Samba server.
>> My firewall/router server shows the following from netstat -r
>> Destination---Gateway----------GenMask-----------Iface
>> eth1 is (in the firewall/router)
>> eth2 is (in the firewall/router)
>> Everything works fine from my local network as far as accessing the
>> samba
>> server.  From the 192.168 network, it does not though.  If I go to a
>> workstation Start->Run and type in \\samba_servername it tells me the
>> network is not found.  If I type in \\samba_ipaddress\share then it
>> gives
>> me a logon prompt, but it will never authenticate, it just keeps asking
>> for the password like I typed the wrong one.  Both of these work fine
>> from
>> the 10.0. network.
>> I added 'hosts allow = 10.0 192.168.0 localhost' in the smb.conf
>> thinking
>> that this would allow both networks, but I guess this is not the case.
>> Is there anything else that I need to do to access the samba server?  It
>> is a domain controller as well (not sure if that will make any
>> difference
>> as far as connection from the other IP addresses).
>> Any suggestions would be welcomed.  I am not sure if I need to be
>> looking
>> at some routing in my firewall, or something in my Samba server.

Scott Mayo - System Administrator
Bloomfield Schools
PH: 573-568-5669  FA: 573-568-4565

Question: Because it reverses the logical flow of conversation.
Answer: Why is putting a reply at the top of the message frowned upon?

More information about the samba mailing list