Hello, I am having enormous difficulty in getting samba to work correctly on the local network when the local network is on eth1. I have never had any trouble with samba when I used eth0... Here is my routing table... Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 255.255.255.255 * 255.255.255.255 UH 0 0 0 eth1 192.168.1.0 * 255.255.255.0 U 0 0 0 eth1 192.168.0.0 * 255.255.255.0 U 0 0 0 eth0 default 192.168.0.1 0.0.0.0 UG 1 0 0 eth0 This same computer works perfectly in every other area. eth0 is dedicated to the internet and masq's the network. findsmb can only see the local computer. I do not have an interfaces line in my smb.conf, and adding it apparently makes little difference. eg, without the line, it apparently defaults to eth0 With the line interfaces = eth1, the ip of the local computer changes, to the ip that eth1 uses, however, findsmb can still only see the local computer. The other computers on the network can't see this local... Any suggestions? I have recently subscribed, but since I haven't recieved any messages for the past 24 hours, I do not know if I subscribed correctly, hence, could you please 'cc' me? I do not mind having several copies of a reply... Thanks in advance!
Your route table is bad...remove first route. And missed local loopback if. ----- Original Message ----- From: "TheStar" <dogsdostink@ozemail.com.au> To: <samba@lists.samba.org> Sent: Tuesday, November 12, 2002 5:46 AM Subject: [Samba] Which list for general help?> > Hello, I am having enormous difficulty in getting samba to work correctlyon the> local network when the local network is on eth1. > > I have never had any trouble with samba when I used eth0... > > Here is my routing table... > > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref UseIface> 255.255.255.255 * 255.255.255.255 UH 0 0 0eth1> 192.168.1.0 * 255.255.255.0 U 0 0 0eth1> 192.168.0.0 * 255.255.255.0 U 0 0 0eth0> default 192.168.0.1 0.0.0.0 UG 1 0 0eth0> > > This same computer works perfectly in every other area. eth0 is dedicatedto the> internet and masq's the network. > > > findsmb can only see the local computer. > > I do not have an interfaces line in my smb.conf, and adding it apparentlymakes little> difference. > eg, > without the line, it apparently defaults to eth0 > With the line interfaces = eth1, the ip of the local computer changes, tothe ip that eth1> uses, however, findsmb can still only see the local computer. > > The other computers on the network can't see this local... > > Any suggestions? > > I have recently subscribed, but since I haven't recieved any messages forthe past 24 hours, I do not know if I subscribed correctly, hence, could you please 'cc' me? I do not mind having several copies of a reply...> > Thanks in advance! > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba
Try turn of you firewall. In fw examples is mean that eth1 is gateway to inet and is strictly filered as eth0 in your config is gateway eth0 and yuo must change this in firewall ok. Reply ipchains -L or iptables list... ----- Original Message ----- From: "TheStar" <dogsdostink@ozemail.com.au> To: "Marian Mlcoch, Ing" <mm@tsmp.sk> Sent: Tuesday, November 12, 2002 9:15 PM Subject: Re: [Samba] Which list for general help?> For my masq settings, etc, I followed the instructions in > http://www.tldp.org/HOWTO/IP-Masquerade-HOWTO/firewall-examples.html > > I used samba 2.2.5 > > And, adding that lo route doesn't appear to make any difference. > > Should I try samba 2.2.6 (or what's the latest)? > > > On Tue, 12 Nov 2002 09:05:55 +0100 > "Marian Mlcoch, Ing" <mm@tsmp.sk> wrote: > > > I have route for lo > > 127.0.0.0 * 255.0.0.0 U 0 0 0lo> > and all works fine with eth0 and eth1. > > Try reply your masq settings and firewall... > > > > > > ----- Original Message ----- > > From: "TheStar" <dogsdostink@ozemail.com.au> > > To: "Marian Mlcoch, Ing" <mm@tsmp.sk> > > Sent: Tuesday, November 12, 2002 8:53 AM > > Subject: Re: [Samba] Which list for general help? > > > > > > > > Your route table is bad...remove first route. > > > > And missed local loopback if. > > > > > > Thanks for the prompt reply... I was told to put in the first routeby> > the IP MASQ HOWTO... > > > But nevertheless, I removed it, but I still have the same problem... > > > > > > Here is the 'new' (temporary) routing table... > > > > > > root:~# route > > > Kernel IP routing table > > > Destination Gateway Genmask Flags Metric RefUse> > Iface > > > localhost.local * 255.255.255.255 UH 0 00 lo> > > 192.168.1.0 * 255.255.255.0 U 0 00> > eth1 > > > 192.168.0.0 * 255.255.255.0 U 0 00> > eth0 > > > default 192.168.0.1 0.0.0.0 UG 1 00> > eth0 > > > root:~# /usr/samba/bin/findsmb > > > > > > *=DMB > > > +=LMB > > > IP ADDR NETBIOS NAME WORKGROUP/OS/VERSION > > > --------------------------------------------------------------------- > > > 192.168.1.2 THEROCK [ CPCYOUNG ] > > > root:~# > > > > > > About the 'local loopback' - I've never needed to add that.. > > > > > > The wierd thing is... Before I setup masq and before I moved thelocalnet> > > to eth1... I never had a single problem... Yet, _everything_ elseworks> > > (ping, internet, dhcp, etc) > > > > > > > > Here is my routing table... > > > > > > > > > > Kernel IP routing table > > > > > Destination Gateway Genmask Flags Metric Ref > > Use > > > > Iface > > > > > 255.255.255.255 * 255.255.255.255 UH 0 0 > > 0 > > > > eth1 > > > > > 192.168.1.0 * 255.255.255.0 U 0 0 > > 0 > > > > eth1 > > > > > 192.168.0.0 * 255.255.255.0 U 0 0 > > 0 > > > > eth0 > > > > > default 192.168.0.1 0.0.0.0 UG 1 0 > > 0 > > > > eth0 > >