/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! */



>The matter is that I have configured a network under linux suse 5.2 with
>kernel 2.0.35 with windows clients, and one of these needs to access via
>internet a remote IBM server. It 

I'm a bit confused.  You have a MASQ'ed LAN and one of the internal PCs
also has its own dial-up connection?


>ping the IBM server, but when executing the Client Access, it says that
>cannot find the server. So I find that it seems that ip-masquerading
>doesn't supply *something" that the windows dial-up connection does
>(unless it's a bug of ip-masquerading).

If my assumption above is correct, the internal Windows client is
the problem.  When the dialup line is up, Dial-Up Networking actually
makes the PPP connection the primary route.  

To get the PPP line to be used for Inet but the ETH0 connection for
the internal server, you need to create a batch file like the following:

This assumes that you want to GOTO the 172.16-18.x.x networks
via the ETH0 interdace.  It also assumes the ETH0's default 
gateway is 10.233.22.1.  You will have to edit this exampple 
to match your setup but this should work for you:


c:\route-it.bat
--
route add 172.16.0.0 mask 255.255.0.0 10.233.22.1
echo Added 172.16.x.x
route add 172.17.0.0 mask 255.255.0.0 10.233.22.1
echo Added 172.17.x.x
route add 172.18.0.0 mask 255.255.0.0 10.233.22.1
--

--David
.----------------------------------------------------------------------------.
|  David A. Ranch - Linux/Networking/PC hardware         [EMAIL PROTECTED]  |
!----                                                                    ----!
`----- For more detailed info, see http://www.ecst.csuchico.edu/~dranch -----'


_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/
or email to [EMAIL PROTECTED]

PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.

Reply via email to