LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Browse the internet on ETH1 (https://www.linuxquestions.org/questions/linux-newbie-8/browse-the-internet-on-eth1-608317/)

Roverius 12-21-2007 04:27 AM

Browse the internet on ETH1
 
Hello,

I have set up a system with mandrake 9.0 (old PC) and use the ETH0 ethernetcard as a DHCP server for special purposes. This card has a fixed ip-adres. (e.g. 10.62.0.1)

The second ethernetcard is connected to our netwerk system and gets his ip-adres from a DHCP server within this network. (e.g.: the DHCP gives this card 172.10.5.110)

When i like to start-up a webbrowser, it tries to use the ETH0 to go on the web.

What i like to know is: how can i configure, so when i start conquerer or mozilla, or whatever webbrowser, it uses the ETH1. I also need to put in a proxy (no problem to do that) to pass our firewall.

Thanks for your help.

Greetz,
Roverius

Roverius 12-21-2007 05:18 AM

Quote:

Originally Posted by Roverius (Post 2997897)
Hello,

I have set up a system with mandrake 9.0 (old PC) and use the ETH0 ethernetcard as a DHCP server for special purposes. This card has a fixed ip-adres. (e.g. 10.62.0.1)

The second ethernetcard is connected to our netwerk system and gets his ip-adres from a DHCP server within this network. (e.g.: the DHCP gives this card 172.10.5.110)

When i like to start-up a webbrowser, it tries to use the ETH0 to go on the web.

What i like to know is: how can i configure, so when i start conquerer or mozilla, or whatever webbrowser, it uses the ETH1. I also need to put in a proxy (no problem to do that) to pass our firewall.

Thanks for your help.

Greetz,
Roverius

I allready found the solution, it was fairly simple.

Just do following command:

route add -A inet localhost dev eth1

This will do the trick


All times are GMT -5. The time now is 03:59 AM.