[SLE] Multiple gateways
Hi, I have a problem in a customer which I was been working on all day with no progress... This customer has one synchronous cyclades pc300 card, up and running directly with a public IP provided by the backbone. They also have a ethernet card configured as another public IP provided by an ISP. The problem is that when I set the default gateway with the router where the synchronous card is connected, the interface where I have another public IP cannot be reached by outside connections. The same happens if I change the default gateway to the other router (the one of the second connection), and if I put both default gateways at the same time. Does anyone has a clue on how to make this work? I don't want load balancing, or anything like that. I just want to have this two connections working. Regards, Thiago Vinhas BTW: I'm using Suse 10.1 on this server -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Mon, 3 Jul 2006 21:54:58 -0300 Thiago Vinhas <thiago@vinhas.org> wrote:
Hi,
I have a problem in a customer which I was been working on all day with no progress...
This customer has one synchronous cyclades pc300 card, up and running directly with a public IP provided by the backbone. They also have a ethernet card configured as another public IP provided by an ISP.
The problem is that when I set the default gateway with the router where the synchronous card is connected, the interface where I have another public IP cannot be reached by outside connections.
Most likely, it's not true, they can reach it, but the packets do not know how to go back.
The same happens if I change the default gateway to the other router (the one of the second connection), and if I put both default gateways at the same time.
Does anyone has a clue on how to make this work? I don't want load balancing, or anything like that. I just want to have this two connections working.
This is not a server issue but a routing issue. There are various ways of dealing this is standard problem, but how will depend on the routers and their language. Personally, I would: 1. Use a routing protocol: RIP, EIGRP, OSPF... 2. Create a virtual interface with HSRP The routers will do the rest of the job. -- Thanks http://www.911networks.com When the network has to work -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Hi, thanks for your response. The problem is that I don't have any "real" router. I just have a linux box, with one ethernet interface, and one hdlc using a cyclades pc300 card. On Monday 03 July 2006 22:33, suse@911networks.com wrote:
On Mon, 3 Jul 2006 21:54:58 -0300
Thiago Vinhas <thiago@vinhas.org> wrote:
Hi,
I have a problem in a customer which I was been working on all day with no progress...
This customer has one synchronous cyclades pc300 card, up and running directly with a public IP provided by the backbone. They also have a ethernet card configured as another public IP provided by an ISP.
The problem is that when I set the default gateway with the router where the synchronous card is connected, the interface where I have another public IP cannot be reached by outside connections.
Most likely, it's not true, they can reach it, but the packets do not know how to go back.
The same happens if I change the default gateway to the other router (the one of the second connection), and if I put both default gateways at the same time.
Does anyone has a clue on how to make this work? I don't want load balancing, or anything like that. I just want to have this two connections working.
This is not a server issue but a routing issue. There are various ways of dealing this is standard problem, but how will depend on the routers and their language.
Personally, I would:
1. Use a routing protocol: RIP, EIGRP, OSPF... 2. Create a virtual interface with HSRP
The routers will do the rest of the job.
-- Thanks http://www.911networks.com When the network has to work
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Tue, 4 Jul 2006 11:58 am, Thiago Vinhas wrote:
The problem is that I don't have any "real" router. I just have a linux box, with one ethernet interface, and one hdlc using a cyclades pc300 card.
Don't fall for Cisco propaganda. If you have 2 IP interfaces on a decent Linux box you have a router as capable as any. "Default gateway" doesn't work on a box with 2 interfaces, it has to understand enough about a packet to decide which to use when either would do. The 2 acronyms I know of are Border Gateway Protocol and OSPF. (Open Shortest Path First?...) Configuring them is not a trivial exercise you might want to hire some help. michaelj -- Michael James michael.james@csiro.au System Administrator voice: 02 6246 5040 CSIRO Bioinformatics Facility fax: 02 6246 5166 No matter how much you pay for software, you always get less than you hoped. Unless you pay nothing, then you get more. -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
have a look at this URL http://lartc.org/howto/lartc.rpdb.multiple-links.html beware of the security issues. Thiago Vinhas <thiago@vinhas.org> wrote: Hi, thanks for your response. The problem is that I don't have any "real" router. I just have a linux box, with one ethernet interface, and one hdlc using a cyclades pc300 card. On Monday 03 July 2006 22:33, suse@911networks.com wrote:
On Mon, 3 Jul 2006 21:54:58 -0300
Thiago Vinhas wrote:
Hi,
I have a problem in a customer which I was been working on all day with no progress...
This customer has one synchronous cyclades pc300 card, up and running directly with a public IP provided by the backbone. They also have a ethernet card configured as another public IP provided by an ISP.
The problem is that when I set the default gateway with the router where the synchronous card is connected, the interface where I have another public IP cannot be reached by outside connections.
Most likely, it's not true, they can reach it, but the packets do not know how to go back.
The same happens if I change the default gateway to the other router (the one of the second connection), and if I put both default gateways at the same time.
Does anyone has a clue on how to make this work? I don't want load balancing, or anything like that. I just want to have this two connections working.
This is not a server issue but a routing issue. There are various ways of dealing this is standard problem, but how will depend on the routers and their language.
Personally, I would:
1. Use a routing protocol: RIP, EIGRP, OSPF... 2. Create a virtual interface with HSRP
The routers will do the rest of the job.
-- Thanks http://www.911networks.com When the network has to work
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com Thiago Vinhas <thiago@vinhas.org> wrote: Hi, thanks for your response. The problem is that I don't have any "real" router. I just have a linux box, with one ethernet interface, and one hdlc using a cyclades pc300 card. On Monday 03 July 2006 22:33, suse@911networks.com wrote:
On Mon, 3 Jul 2006 21:54:58 -0300
Thiago Vinhas wrote:
Hi,
I have a problem in a customer which I was been working on all day with no progress...
This customer has one synchronous cyclades pc300 card, up and running directly with a public IP provided by the backbone. They also have a ethernet card configured as another public IP provided by an ISP.
The problem is that when I set the default gateway with the router where the synchronous card is connected, the interface where I have another public IP cannot be reached by outside connections.
Most likely, it's not true, they can reach it, but the packets do not know how to go back.
The same happens if I change the default gateway to the other router (the one of the second connection), and if I put both default gateways at the same time.
Does anyone has a clue on how to make this work? I don't want load balancing, or anything like that. I just want to have this two connections working.
This is not a server issue but a routing issue. There are various ways of dealing this is standard problem, but how will depend on the routers and their language.
Personally, I would:
1. Use a routing protocol: RIP, EIGRP, OSPF... 2. Create a virtual interface with HSRP
The routers will do the rest of the job.
-- Thanks http://www.911networks.com When the network has to work
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com |__|___|___|__\\|// - ?__|___|_____|___|_____| |__|___|___|__(o o)______|___|_____|___|_____| |__|___|___oOOO(_)OOOo____|___|_____|___|_____| email : ephlodur@rocketmail.com What we need is Awareness we can't get carelless. --------------------------------- Sneak preview the all-new Yahoo.com. It's not radically different. Just radically better.
Thiago Vinhas wrote:
This customer has one synchronous cyclades pc300 card, up and running directly with a public IP provided by the backbone. They also have a ethernet card configured as another public IP provided by an ISP.
The problem is that when I set the default gateway with the router where the synchronous card is connected, the interface where I have another public IP cannot be reached by outside connections. The same happens if I change the default gateway to the other router (the one of the second connection), and if I put both default gateways at the same time.
You cannot have two default gateways. Even if you could configure it, you'd always get the first one.
Does anyone has a clue on how to make this work? I don't want load balancing, or anything like that. I just want to have this two connections working.
So, to sum up your situation - you have one box with 2 NICs, both with public IP addresses, but on two different networks. You want all local outbound traffic go over NIC1, but you still want to accept inbound traffic over NIC2. Is that about right? The problem might be that inbound traffic coming pver NIC2 does not go back over NIC2, but over NIC1 instead? Like MindBender says, check out http://lartc.org/howto/lartc.rpdb.multiple-links.html /Per Jessen, Zürich -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
participants (5)
-
Michael James
-
MindBender
-
Per Jessen
-
suse@911networks.com
-
Thiago Vinhas