Hi Ray et al,

On Tue, 25 Jan 2000, Ray Olszewski wrote:

> "ping", not "bing". (And "netscape", not "netscrape" ... though I rather
> like that one.)

Oops, missed ping, but meant netscrape <G>.

> If you post about this again, please mention which Linux distribution and
> version you are using. Without that information, I can only give you generic

Sorry, I'm using SuSE 5.2 with kernal 2.0.33. Both systems are 486s. Opus
is 66mhz with 8mb ram & CW is a 100mhz with 32mb ram. I have the firewall
software on both machines but turned off. 

I believe I've got everything set up like you said. When I ping the net
with Opus, no problem. But with CW I get this:

------------
CW:/root # ping 195.189.80.67
PING 195.189.80.67 (195.189.80.67): 56 data bytes

--- 195.189.80.67 ping statistics ---
20 packets transmitted, 0 packets received, 100% packet loss
CW:/root #
____________


Doing route on CW I get this:
_____________________
CW:/root # route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
CW.straubing.ba *               255.255.255.255 UH    0      0        0
dummy0
192.168.17.0    *               255.255.255.0   U     0      0        2
eth0
loopback        *               255.0.0.0       U     0      0        1 lo
default         Opus            0.0.0.0         UG    1      0       10
eth0
CW:/root #
___________________________________

Here is my hosts file on CW:

------------------------------
127.0.0.1       localhost
192.168.17.41   Opus
192.168.17.42   CW.straubing.baynet.de  CW
CW:/root #
------------------------------------


Here is the MSQ part of Opus' rc.config file:

_________________________
IP_FORWARD="yes"

MSQ_START="yes"
# MSQ_NETWORKS="192.168.17.42"
MSQ_NETWORKS="192.168.0.0/24"
MSQ_DEV="eth0"
MSQ_MODULES="ip_masq_cuseeme ip_masq_ftp ip_masq_irc ip_masq_quake
ip_masq_raudio ip_masq_vdolive"
_____________________________________



Ok, Opus has no problems with pinging the net or pinging CW. But CW does
not get any returns on ping, also when I use lynx or netscape they only
sit there saying "looking up host:XXXX".


Thanks for all you'al help!

 
> 1. Enable IP forwarding on Opus. This probably is as simple as entering this
> line and the command line (and putting it in an appropriate rc script for
> reboots):
> 
>         cat "1" > /proc/sys/net/ipv4/ip_forward
> 
> 2. Enable Masquerading on Opus. I'm not familiar with the rc.config file you
> describe, but the IP Masquerading HowTo will tell you in some detail how to
> do this (At least with 2.0.x kernels -- I haven't checked whether it's been
> updated to discuss the "ipchains" system used on 2.2.x kernels). Oh ... even
> though I'm not familiar with this rc.config approach, I suspect the entry
> MSQ_NETWORKS="192.168.17.42" is wrong -- you're using a host address here,
> not a network address (or at least not a typical network address).
> 
> 3. Tell CW that Opus is its default route (gateway). You do this with a
> command like
> 
>         route add default -gw 1.2.3.4 metric 1
> 
> (except use Opus' actual IP address where I put 1.2.3.4).
> 
> 4. Make sure both machines know how to resolve DNS requests. This means you
> need to add the DNS server IP addresses of your ISP to the file
> /etc/resolv.conf on both machines. (Or there are several other ways to
> handle this; this one is simplest and well suited to a 2-node LAN.) 
> 
> I think I've covered all the steps, though I've left out stuff that I assume
> you already have right, based on what you say the hosts now can do. If you
> try this and still have problems, please post again, with details, both of
> your systems and the problems.
> 
> Oh ... about using hostnames. Step 4 above will let you use
> hostname.domainname for accessing addresses on the Internet. TO do the same
> for your LAN, the easiest way is to add both hosts to the file /etc/hosts on
> each machine. The form is (use your IP addresses):
> 
>         1.2.3.4         opus
>         1.2.3.5         CW
> 
> At 05:27 PM 1/25/00 +0100, James (Jim) Hatridge wrote:
> >Hi all,
> >
> >Ok, I've now got my two 486s talking to each other. I can telnet to each
> >and I've got a nfs file system set up. Great!
> >
> >But, as normal, a new question has came up. I have a 56k modem connecting
> >Opus to the Internet. When I'm on CW I would like to connect to the net
> >with netscrape, lynx, etc. From what I understand I should use the
> >masquerade command to do this. But nothing I do seems to work.
> >
> >Here is what I have in Opus' rc.config file:
> >-----------
> >MSQ_START="yes"
> >MSQ_NETWORKS="192.168.17.42"
> >MSQ_DEV="eth0"
> >MSQ_MODULES="ip_masq_cuseeme ip_masq_ftp ip_masq_irc ip_masq_quake
> >ip_masq_raudio ip_masq_vdolive"
> >--------
> >
> >Also I can ping between both machines and Opus (one with modem) can bing
> >my ISP. But CW can not bing the ISP. Opus has no problems with getting to
> >the 'net in anyway. Just CW can't get past Opus. BTW I do not have a
> >firewall on Opus, but the software is there. I'm only on the net for about
> >30 minutes per day so I don't see why I need it. 
> >
> >BTW can I use an name for bing instand of a number? 
> >ie ... bing straubing.baynet.de or must I use bing 195.xxx.xxx.x?
> ------------------------------------"Never tell me the odds!"---
> Ray Olszewski                                        -- Han Solo
> Palo Alto, CA                                  [EMAIL PROTECTED]        
> ----------------------------------------------------------------
> 

Jim Hatridge 
[EMAIL PROTECTED] 
Proud Linux User #88484
------------------------------------------------------------------------
                        Jim's Beowulf Project
               Looking for giveaway computers and parts
                           I need it all!  
                       Email Jim for details on 
          how you can help build a poor man's super computer.

Reply via email to