Dave_Linux
01-15-2001, 07:16 AM
Hi all,
I hope that someone can extend some assistance to me in some configuration that I need to do with my Linux machine. I am very gratefull for any advice or help that you can give me.
I would like to configure my machine for a project in this way :
Win98 (192.168.42.1) <---Hub---> Linux Machine (eth0 192.168.42.2) (eth1 192.168.10.2) <----> WinNT (192.168.10.1) <----> Internet (Modem)
Currently I have the following setup:
Linux Machine :
RedHat Linux 7.0
eth0 : 192.168.42.2
eth1 : 192.168.10.2
route add -net 192.168.42.0 netmask 255.255.255.0 eth0
route add -net 192.168.10.0 netmask 255.255.255.0 eth1
route add default gw 192.168.10.2 eth0
I am at a loss on how to proceed further. I understand that I have to do some ipchaining or ip_masquerading but I do not know how to proceed.
(are there any suggestions, I have all the HowTO's on Networking and IP Masquerading and IPChains. I need someone to point me in the right direction)
Currently I am trying to ping from each of the PC's but I cannot seem to ping the WinNT from the Win98 and vice-versa. The best I can get is a ping from 192.168.42.1 to 192.168.10.2 or from 192.168.10.1 to 192.168.42.2.
By the way, thanks for the help in advanced.
Thanks,
Dave
I hope that someone can extend some assistance to me in some configuration that I need to do with my Linux machine. I am very gratefull for any advice or help that you can give me.
I would like to configure my machine for a project in this way :
Win98 (192.168.42.1) <---Hub---> Linux Machine (eth0 192.168.42.2) (eth1 192.168.10.2) <----> WinNT (192.168.10.1) <----> Internet (Modem)
Currently I have the following setup:
Linux Machine :
RedHat Linux 7.0
eth0 : 192.168.42.2
eth1 : 192.168.10.2
route add -net 192.168.42.0 netmask 255.255.255.0 eth0
route add -net 192.168.10.0 netmask 255.255.255.0 eth1
route add default gw 192.168.10.2 eth0
I am at a loss on how to proceed further. I understand that I have to do some ipchaining or ip_masquerading but I do not know how to proceed.
(are there any suggestions, I have all the HowTO's on Networking and IP Masquerading and IPChains. I need someone to point me in the right direction)
Currently I am trying to ping from each of the PC's but I cannot seem to ping the WinNT from the Win98 and vice-versa. The best I can get is a ping from 192.168.42.1 to 192.168.10.2 or from 192.168.10.1 to 192.168.42.2.
By the way, thanks for the help in advanced.
Thanks,
Dave