Help - Search - Members - Calendar
Full Version: 2 Nic's Vs Redhat 7.3
Linuxhelp > Support > Technical Support
Hey all,

Im a relative newbie to linux, but im setting up a box with RH7.3 to work as an ICS gateway for my windows machines.

The problem is both my NIC's are identified as RTL189 and with both installed, they stop responding, the link shows as active on the 4 port hub card, but no data transfer. when I uninstalled the second card, the 4 port hub worked fine and my network started running again

Any help to get the second card installed and working would be great, im hoping I dont need a different card type, but it may come down to that
How do you set up your NIC?
I've just let Redhat do the auto setup.

The first NIC that one that still in the system is set to in the way of IP, the all the other info is whatever RH choses it to be
Assume you are using the linux box as gateway to the internet
eth0 is connected to you DSL or Cable modem or something like that and your isp
give you a dymanic address
eth1 is connected to the internal network via a hub or switch or something like that
1) The /etc/sysconfig/network file should look like this
2) you /etc/sysconfig/network-scripts/ifcfg-eth0
3)you /etc/sysconfig/network-scripts/ifcfg-eth1
4) check you /etc/resolv.conf and note down the nameserver address, you need that to set up your window client
5) you will need iptables to do the masq, in simplest form, put the follow in a
script file and run it when booting

modprobe iptable_nat
iptables -t nat -A POSTROUTING -s -o eth0 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward

now set up you windows machines to use as default gateway and put the nameserver address in the TCP/IP setup
Thanks for the attempt at helping me, though you went right over my head Alex..

but you didnt address the problem I am having, but i found the answer elsewhere

Its because both my cards are trying to use the same driver
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.