more default gateways

Unanswered Question
May 4th, 2007

First, sorry for may not perfect written english.

I have the following problem:

A local network with two ranges 85.31.152.0/21 and 212.77.32.0/19. There are 6 routers in the network.

On R1 - R6 the primary ip addresses on an interface are 85.31.152.xxx and the ip address secondary are

212.77.63.0/24.

--------------------------------------

Networklayout: ISP-B

I

ISP-A --R1 -- R2 -- R3-R4 -- R5 -- R6

--------------------------------------

router 1 is responsible for the network 212.77.32.0/19 leaving the lan to the ISP-A.

default route 0.0.0.0 0.0.0.0 to ISP-A is configured on R1 (for network 212.77.32.0/19)

router 4 is responsible for the network 85.31.152.0/21 leaving the lan to the ISP-B.

default route 0.0.0.0 0.0.0.0 to ISP-B is configured on R4 (for network 85.31.152.0/21)

A workstation connected to router R4 (also possible for R5 and/or R6) with an ip 212.31.272.55.xxx

may not going out on this router to the internet but it should directed to R1 and leaving there the lan.

How i can configure to solve this problem?

Thanks for helping me.

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (1 ratings)
Loading.
mohammedmahmoud Fri, 05/04/2007 - 01:19

Hi,

If i understand your right, you want packets sourced by 212.31.272.55.xxx be directed to R1 rather than using the default route of R4, to accomplish this you'll need PBR (Policy based routing), apply it to eh LAN interface of R4 and to the interface between R4 and R5, this PBR shall direct any traffic sourced from the 212.31.272.55.xxx range to R1.

HTH, please rate if it does help,

Mohammed Mahmoud.

franzbrosi Fri, 05/04/2007 - 01:34

So if I understand right a PBR must be defined on each eth interface from R4 to R3 to R2 to R1.

Is it possible to resolve this problem with the default network statement?

mohammedmahmoud Fri, 05/04/2007 - 01:41

Hi,

If you are talking about a specific source IP rather than the others, then you'll need to do PBR (note that PBR applies for inbound traffic on interfaces).

HTH, please rate if it does help,

Mohammed Mahmoud.

franzbrosi Fri, 05/04/2007 - 01:48

Hi

No, I don't talking about a specific address. I think it should be valid for the whole network, but I don't know which addresses from the 212.77.32.0/19 ranges will be defined for example at R6.

franzbrosi Fri, 05/04/2007 - 02:10

Hi

No, I don't talking about a specific address. I think it should be valid for the whole network, but I don't know which addresses from the 212.77.32.0/19 ranges will be defined for example at R6.

mohammedmahmoud Fri, 05/04/2007 - 03:44

Hi,

I mean if we are talking about the 212.77.32.0/19 subnet all that we are going to do is on the input interfaces of R4, we shall to PBR that directs any traffic sourced from this subnet 212.77.32.0/19 (coming from R4 LAN, or from R5 or R6) to have a default next-hop directing it to R1.

HTH, please rate if it does help,

Mohammed Mahmoud.

Actions

This Discussion