Adding a route for use with 2 NIC
Hi,
I have a situation where i use a Mandrake PC which has 2 NIC installe. eth0 has a fixed ip adres and supply's ip-adresses to other machines connected on this eth0 (used with DHCPD) The eth1 gets a ip-adres from another server in the network To surf the internet on the Linux machine gets no problem. I have connected a Windows PC on the ETH0 network and gets also a ip-adress from this network. If i ping from the WIndows machine, i get from both cards a reply. The problem now is that i cannot connect the internet on the windows machine. How should i add this in the routing tables on both machines. IP-adress: ETH0 = 10.62.0.1 (FIX) ETH1 = 10.25.101.110 (lease) (this is also where i go on the internet with Windows machine gets : 10.62.0.246 Thx in advance Roverius |
Hello,
Have you gone "Network Connections" and altered the settings on your Windows machine so that it uses the "Internet Linux" machine's IP as gateway ? Just thinking out aloud, so perhaps someone more learned could correct me if I'm wrong. Cheers, UC |
And do you have forwarding enabled on the machine (echo "1" > /proc/sys/net/ipv4/ip_forward)
|
Quote:
Still i have no result. Ping from the windows pc to both cards on the linux is OK. This setup is how it looks like WIN -----> ETH0 (fix) **********ETH1 lease ------> internet proxy |
All times are GMT -5. The time now is 09:42 AM. |