TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:3823] Samba Problem



Sorry for all the questions, but I'm still not getting it right...

The entry for my local network 192.168.1.0 specifies to use interface eth1 (connected to the
internal network), does the traffic go to the default gateway (to Visi) anyway??

I removed the 192.168.1.0    0.0.0.0 route, but...

When trying to add a gateway for a host on the local network, it doesn't seem to take.  I'm doing :
/sbin/route add -host 192.168.1.2 gw 192.168.1.1

From what I understand, this means that any traffic going to the specified host (192.168.1.2) should
use the specified gateway (192.168.1.1).  But I still get 192.168.1.2    0.0.0.0 (<host>
<gateway>)

But the Gateway entry is still blank for that host.  Same goes if I try to specify a gateway for the
network
/sbin/route add -net 192.168.1.0 gw 192.168.1.1

Still getting 192.168.1.0    0.0.0.0

According to the route man page, the above commands should work.  Again, I'm running slackware.

As far as the NAT routing, I'm pretty sure that's the same as IP Masquerading, which I've got set
up.

I _think_ that I want my windows machines to be able to get out...to browse web pages, and telnet to
a few different places, but am open to opinions on methods, etc.

That part is working just fine, unless of course, it's keeping samba from doing it's thing...

Scott K. Johnson
skj@visi.com


-----Original Message-----
From: Bob Tanner <tanner@real-time.com>
To: tclug-list@listserv.real-time.com <tclug-list@listserv.real-time.com>
Date: Monday, February 01, 1999 5:23 PM
Subject: Re: [TCLUG:3823] Samba Problem


>Looks like your are routing your internal network 192.168.1.0/24 down
>your DSL link.
>
>First, 192.160.0.0 is a private network, so I am pretty sure Visi
>won't let you route that out to the Internet.
>
>Second, do you really want to do that? I mean do you want your Windows
>machines to get out to the Internet via the Linux box?  If so, you
>will need to NAT route between the private network and your public
>network.
>
>Remove the 192.168.1.0      0.0.0.0 route and add a host route to
>replace it 192.168.1.0  IP address of the linux box. That should fix
>the samba problem.
>
>
>
>Quoting Scott K. Johnson (skj@visi.com):
>> skj:~# netstat -nr
>> Kernel IP routing table
>> Destination     Gateway         Genmask         Flags   MSS Window  irtt
>> Iface
>> 192.168.1.0      0.0.0.0            255.255.255.0   U        1500 0
>> 0     eth1
>> 209.98.224.0    0.0.0.0            255.255.254.0   U        1500 0
>> 0     eth0
>> 127.0.0.0          0.0.0.0             255.0.0.0            U        3584 0
>> 0     lo
>> 0.0.0.0               209.98.224.1    0.0.0.0              UG     1500 0
>> 0     eth0
>> skj:~#
>>
>> I'm running slackware, kernel 2.0.34
>>
>>
>> -----Original Message-----
>> From: Bob Tanner <tanner@real-time.com>
>> To: tclug-list@listserv.real-time.com <tclug-list@listserv.real-time.com>
>> Date: Monday, February 01, 1999 4:50 PM
>> Subject: Re: [TCLUG:3823] Samba Problem
>>
>>
>> >Quoting Scott K. Johnson (skj@visi.com):
>> >> ------------------------------------------------
>> >> skj:/etc/rc.d# route
>> >> Kernel IP routing table
>> >> Destination     Gateway         Genmask         Flags Metric Ref    Use
>> >> Iface
>> >> localnet            *               255.255.255.0               U     0
>> >> 0        2 eth1
>> >> 209.98.224.0  *               255.255.254.0               U     0      0
>> >> 33 eth0
>> >> loopback         *               255.0.0.0                        U     0
>> >> 0        2 lo
>> >> default         e0.border-1.mpl 0.0.0.0                     UG    0
>> 0
>> >> 38 eth0
>> >
>> >Does not look like you have a router for your 192.168.1.0/24 network
>> >in there. Kinda hard to read.
>> >
>> >Can you email me the output of "netstat -nr" ?
>> >
>> >What flavor distribution do you run?
>> >
>> >--
>> >Bob Tanner <tanner@real-time.com>       | Phone : (612)943-8700
>> >http://www.real-time.com                | Fax   : (612)943-8500
>> >Key fingerprint =  6C E9 51 4F D5 3E 4C 66 62 A9 10 E5 35 85 39 D9
>> >
>> >
>> >---------------------------------------------------------------------
>> >To unsubscribe, e-mail: tclug-list-unsubscribe@listserv.real-time.com
>> >For additional commands, e-mail: tclug-list-help@listserv.real-time.com
>> >Try our website: http://tclug.real-time.com
>> >
>> >
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tclug-list-unsubscribe@listserv.real-time.com
>> For additional commands, e-mail: tclug-list-help@listserv.real-time.com
>> Try our website: http://tclug.real-time.com
>
>--
>Bob Tanner <tanner@real-time.com>       | Phone : (612)943-8700
>http://www.real-time.com                | Fax   : (612)943-8500
>Key fingerprint =  6C E9 51 4F D5 3E 4C 66 62 A9 10 E5 35 85 39 D9
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tclug-list-unsubscribe@listserv.real-time.com
>For additional commands, e-mail: tclug-list-help@listserv.real-time.com
>Try our website: http://tclug.real-time.com
>
>