[H-GEN] Re: Unix vs NT

Craig Armour c.armour at kings.uq.edu.au
Mon Aug 2 07:58:23 EDT 1999


(Note reply-to: being general at humbug.org.au vs Craig Armour <c.armour at kings.uq.edu.au>)

Ok... step by step

do an ls /proc/sys/net/ipv4/ip_forward

if this exists then 

cat /proc/sys/net/ipv4/ip_forward

if this is 1 then type route
route should look like this

Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
annex33.uq.net. *               255.255.255.255 UH    0      0        0
ppp0
192.168.1.0     *               255.255.255.0   U     0      0        0
eth0
192.168.1.0     *               255.255.255.0   U     0      0        0
eth0
127.0.0.0       *               255.0.0.0       U     0      0        0
lo
default         annex33.uq.net. 0.0.0.0         UG    0      0        0
ppp0 

the only gateway you require on your linux box is he PPP0 gateway...
eth0 doesn't require a gateway(note onthe dialup linux box only)

if any ofthe eth0 doesn't exist then you need to 

route add -net 192.168.1.0 eth0

you then need to setup a whole heap of ipchains stuff.  Seeing as I am
not an expert on this and have only used ipfwadm I think I will perhaps
let someone else tell you the exact rules rather than pretend I know
them.

if cat /proc/sys/net/ipv4/ip_forward
is not 1 then echo 1 > /proc/sys/net/ipv4/ip_forward

note this should not kill your email... if you have killed your email
it's through something else and not that (logs are a good thing here)

if that file doesn't exist then you need to recompile the kernel.

two things

You can't have the same ip on PPP0 as you do eth0.  It's not impossible
but it's not pretty.  The fact that you could ping the outside world
with your linux box and ping your windows boxen with the linux box but
forward stuff means a) you havn't configured your fowarding rules (read
the firewall howto... takes five minutes  plus 2 minutes of commands at
the prompt)  or you didn't set the gateway for the windows boxen as the
ip of the linux box.

This argument has been going round in circles for some time now

You souldn't have to reinstall to fix a problem.. this is a windows
weeney method of fixing things.  if the problem occurs again.. you
reinstall when quite possibly it would have only required a 30 sec line
at a prompt to fix.

if you find that echo 1> a file breaks something then why not echo "" >
file ??  everything in linux is reversable in that way.

finally: by saying you have a life does this insinuate that we don't
just because we know something or about something that you don't
understand?? </rant>

maybe if you had of read the stuff. you would have fixed it by now... I
don't think the firewall is ten thousand pages.  in the haste to get it
working and not be bothered reading a little documentation, you have
spent the better part of two or so days on this email list where reading
the docs would have resulted in at most... a couple of hours??

Man pages and HOWTO's are your friend... you'd have to be an idiot not
to use them

Cheers
Craig
-- 
Craig Armour                    c.armour at cltr.uq.edu.au
System Administrator             Joyce Ackroyd Building
Language Lab, University of Queensland   phone 33656916
Comments are my own and not of my employer

--
This is list (humbug) general handled by majordomo at lists.humbug.org.au .
Postings only from subscribed addresses of lists general or general-post.



More information about the General mailing list