23-01-2005, 00:21
|
|
|
חבר מתאריך: 02.11.04
הודעות: 186
|
|
Help with network configuration
Hello.
I'm using an old computer running linux as a router and i have a little problem with the configuration.
I have 3 network interfaces (2 network cards and one usb modem): eth0, eth1, eth2.
eth0 - The cable modem, using dhcp.
eth1 - Configured staticly to 192.168.0.1
eth2 - Configured staticly to 192.168.0.1
I configured an internet connection sharing using iptables and nat, but i have a weird problem:
When eth1 and eth2 are up, there is only ping to the computer connected via eth2.
When eth1 is up and eth2 is down, there is ping to the computer connected via eth1.
When eth1 is down and eth2 is up, there is ping to the computer connected via eth2.
How can i configure my linux to support pings to my two computers when eth1 is up and eth2 is up ?
Thanks, Alexander.
_____________________________________
בברכה, אלכסנדר.
"The object of war is not to die for your country but to make the other bastard die for his" - General George S Patton
|