Link to home
Start Free TrialLog in
Avatar of asayb
asayb

asked on

two network cards

i want to connect three computer with UTP cable by installing two NICs in one computer and connect other with this one
i want to use WinME or Win98 in these computers
so how do i make this possible

ASKER CERTIFIED SOLUTION
Avatar of HandyAndy
HandyAndy

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of The--Captain
The--Captain
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
you can configure your NIC's with two IP address (eth0 as 192.168.0.1 and eth1 as 192.168.0.2) on the linux box, then you config the IP of the win98 box (connected on eth0) to be 192.168.0.3 with gateway 192.168.0.1 and the IP of winME box (connected to eth1) to be 192.168.0.4 with gateway 192.168.0.2, then on the linux box you add a simple route between the NIC's and enable IP-Forwarding

route add 192.168.0.3 gw 192.168.0.1
route add 192.168.0.4 gw 192.168.0.2

echo 1 > /proc/sys/net/ipv4/ip_forward

as far as I know no matter the IP of the NIC's, if the IP-Forwarding is active you can reach the linux box with either of the IP's (192.168.0.1-2)
Avatar of CleanupPing
CleanupPing

asayb:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.