Skip to contentSkip to conversation

dumb question...route from local eth1 to eth2 and vice versa

DISCUSSION Rudi Starcevic 2 participants 2 messages Dec 1, 2005

lore
Share & tools
lore
#0 lore raw

Hi,

Quoted 3 lines
Quoted 3 lines

I think ip_a_route_1.sh is way too difficult for this setup. I didn't even read it all through (saw something about tables, rules and prio)..

Very true, but it's the only way I know.

Quoted 3 lines
Quoted 3 lines

ifconfig eth0 192.168.3.10 netmask 255.255.255.0 up ifconfig eth1 192.168.1.1 netmask 255.255.255.0 up route add -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.3.254

Nice one .....

Quoted 3 lines
Quoted 3 lines

You did not set the policy of FORWARD to DROP. It will DROP nothing.
You did not set the policy of OUTPUT to DROP. The OUTPUT >> rules are

useless because everything will be accepted, even

Quoted 1 line
Quoted 1 line

without these rules.

Yes sorry. I didn't cut'n'paste that part of the script in. It's my fault for trying to hurry out a quick post just before I left work.

Quoted 4 lines
Quoted 4 lines

He just needs to allow
forwarding between these to interfcaes and let routing do the
rest.
Your scripts are doing something different.

Yes ... but I thought it would be handy to have net too so all the boys and girls and play online together as well :-)

Using things like tables, rules and prio also puts one in place to do QOS on the network traffic with the tc command.

Don't want those pesky emails, downloads and other important stuff to lag out the gaming connection ... :-) lol .....

Cheers,
Rudi

#1 lore raw

Keep in mind that if you want network games across a router, you will lose your broadcast packets unless you do something funky (unless its built in which I don't think it is). If you select the LAN option in a multiplayer game, 9 times out of 10 they use broadcast I've found. Use direct IP if you can.

Anthony Sadler
Far Edge Technology
w: (02) 8425 1400

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Rudi Starcevic
Sent: Thursday, 1 December 2005 21:18
To: [email protected]
Subject: Re: dumb question...route from local eth1 to eth2 and vice versa

Hi,

Quoted 3 lines
Quoted 3 lines

I think ip_a_route_1.sh is way too difficult for this setup. I didn't even read it all through (saw something about tables, rules and prio)..

Very true, but it's the only way I know.

Quoted 3 lines
Quoted 3 lines

ifconfig eth0 192.168.3.10 netmask 255.255.255.0 up ifconfig eth1 192.168.1.1 netmask 255.255.255.0 up route add -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.3.254

Nice one .....

Quoted 3 lines
Quoted 3 lines

You did not set the policy of FORWARD to DROP. It will DROP nothing.
You did not set the policy of OUTPUT to DROP. The OUTPUT >> rules are

useless because everything will be accepted, even

Quoted 1 line
Quoted 1 line

without these rules.

Yes sorry. I didn't cut'n'paste that part of the script in. It's my fault for trying to hurry out a quick post just before I left work.

Quoted 4 lines
Quoted 4 lines

He just needs to allow
forwarding between these to interfcaes and let routing do the
rest.
Your scripts are doing something different.

Yes ... but I thought it would be handy to have net too so all the boys and girls and play online together as well :-)

Using things like tables, rules and prio also puts one in place to do QOS on the network traffic with the tc command.

Don't want those pesky emails, downloads and other important stuff to lag out the gaming connection ... :-) lol .....

Cheers,
Rudi