I want to hook my network to two internet providers, and set it up so that if one internet service goes down, internet requests will automatically be routed to the one still up.
I’ve setup an IBM ThinkCntr with a USB wireless card. I’ve got the networking set up so I have access to the internet from the ThinkCntr
I’ve also enabled ip forwarding and masquerading in the firewall.
On my second machine I added a default route to my IBM server.
route add default gw 10.7.1.10
But I still can’t access the internet from the second machine.
Any ideas?
I’m actually getting pretty desperate here because I think my ISP, Speakeasy, went under. Their DSL is down and they aren’t responding to trouble tickets.
My idea is that you should provide more technical information instead of this story. Give systems a name. Show how systems are configured with statements like
ifconfig -a
and
route -n
Try to post a schematic diagram of the network. It is to easy to understand you wrong or not at all as it is now.
So, you’re advising me to post detailed configuration information concerning my firewall, directly hooked to the internet, on a public forum? Planning on doing a bit of hacking, are we?
I’m learning about iptables, but there doesn’t seem to be much on how to use YAST to control them. I like GUI.
Here’s the route -n from the client machine. The 10.7.1.10 is the gateway computer, why aren’t requests being routed there?
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.7.1.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
0.0.0.0 10.7.1.10 0.0.0.0 UG 0 0 0 eth0
> So, you’re advising me to post detailed configuration information
> concerning my firewall, directly hooked to the internet, on a public
> forum? Planning on doing a bit of hacking, are we?
well…one sure way to not get the help you need here is to refuse to
provide the info needed to help you…
so, here Henk, @dougnc and all the crackers out there have a lot of fun
hacking me:
I did not ask anything about your firewall configuration.
I asked you to post computer text between CODE tags. As you seem not to take the effort to do that, why should I take the effort to try to read it?
From reading what I got (not half of what I asked for) I can see that 10.7.1.10 is the default gateway in a system (which one). But it does not prove that you can not reach another system, e.g. on the internet, from that system through that gateway.
I also see your system can not resolve the hostname google.com to an IP address. That points to a broken DNS environment. And that MAY BE because you can not reach your DNS server, but first we should find out if you can reach the internet. And that is done by using IP addresses, not hostnames. Do that using
ping 74.125.79.104
I asked for more information about your setup because you talk about client sytem, server system, second system. Most of those terms have no connection whatever with the problem. You have a system (please give it a name, it should have one allready), that you want to use as your default gateway by another system (please give it a name). And you assume that the system that acts as default gateway routes packets to/from the internet Is that gateway system indeed correct configured as router, did you prove that by using it from another system as gateway?
Please reread my other post and rethink if you want to provide the missing information. It is up to you. With much more joy I will spend my time trying to help others.
As others have said, you have provided precious little information, and
then been coy about answering direct questions.
In particular, you haven’t said what operating system is running on the
various systems.
> Here’s the route -n from the client machine. The 10.7.1.10 is the
> gateway computer, why aren’t requests being routed there?
But at a guess, you have opensuse on your gateway and you haven’t
enabled routing on it. Routing is disabled by default on suse boxes for
security reasons.