[plug] Dumb question

Paul Dean paul at canningcollege.wa.edu.au
Mon Apr 30 16:56:11 WST 2001


At 04:49 PM 30/04/2001 +0800, you wrote:
>G'day all..
>I have a problem that is frustrating me. I have looked in all the
>obvoius places, and whats more frustrating, is that 2 years ago I made
>this work, and I can't make it work now.
>
>I have 2 networks. 192.168.0.x and 192.168.1.x
>I have a linux box with 2 tulip cards in it.
>Eth0 is 192.168.0.100 and Eth1 is 192.168.1.100
>I have a default route to eth0 and a standard route to eth1
>I have ip forwarding enabled.
>The only way I can ping anything on eth0 from anything on eth1 is
>to enable masq with an ipchains rule.
>
>Here is the relevant info.
>
> >From this box I can ping anything from anywhere. But from 192.168.1.2 I 
> can't
>ping 192.168.0.1 unless I have the below masq rule in place..
>My input and output rules are default accept, flushed.
>
>Chain forward (policy ACCEPT):
>target     prot opt     source                destination           ports
>MASQ       all  ------  192.168.1.0/24       0.0.0.0/0             n/a
>
>Kernel IP routing table
>Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
>192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth1
>192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
>0.0.0.0         192.168.0.1     0.0.0.0         UG    1      0        0 eth0
>

eth0 is acting like a firewall so you have to MASQ anything behind it to 
"get out" as such.
Why have you set eth0 as a gateway? What does it access?


>Anything else that would help?
>
>While I'm here, how can I copy from an xterm into the clipboard to paste into
>netscape ?
>
>Xterm to Xterm is easy. I have GPM loaded and I just highlight and middle 
>click
>to paste, but I can't get it into netsacpe

Netscape is "Alt+v" or goto "Edit/Paste"


>--
>Brad....
>                    /"\
>Save the Forests   \ /     ASCII RIBBON CAMPAIGN
>Burn a Greenie.     X      AGAINST HTML MAIL
>                    / \


Regards

Paul Dean
IT Support Officer
Canning College
Computing Centre
Ph: 9350 5430
Mob: 0408 902 206
paul at canningcollege.wa.edu.au




More information about the plug mailing list