Skip to contentSkip to conversation

"Help with routing"

LARTC [email protected] 2 participants 2 messages Oct 21, 2003 – Oct 22, 2003

lore
Share & tools
lore
#0 lore raw

the scheme of my LAN is the next:

eth0 isp1 /32
eth1 lan de isp1 (LAN With public IP /24)
eth2 isp2 /32
eth3 lan de isp2 (LAN With public IP /26)

ip route add 200.47.x.x/24 dev eth0 src 200.47.4.x table 1 ip route add default via 200.47.4.x table 1

ip route add 200.80.32.x/26 dev eth2 src 200.80.32.x table 2 ip route add default via 200.80.32.x table 2

ip rule add from 200.47.4.x table 1
ip rule add from 200.80.32.x table 2

ip route add default scope global nexthop via 200.47.4.x dev eth0 nexthop via
200.80.32.x dev eth2

******

My problem is this: when I trace from the NETWORK of ISP1, sometimes the tracer go out from the gateway of ISP2 and vice versa

And when someone trace an IP from my LAN of ISP1, it`s showme as before complete the gateway from ISP2 y vice versa.

Mi question is: what is wrong in my config...??? What I need to put or is anything wrong with this config???.
THANKS VERY MUCH AND SORRY FOR MI HIGHSCHOOL ENGLISH.

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw

Hi nixo,

I suppose you don't preserve properly output address see my postting with script from 15th October this year :)
(append prohibit default:)

nnca> the scheme of my LAN is the next:

nnca> eth0 isp1 /32
nnca> eth1 lan de isp1 (LAN With public IP /24)
nnca> eth2 isp2 /32
nnca> eth3 lan de isp2 (LAN With public IP /26)

nnca> ip route add 200.47.x.x/24 dev eth0 src 200.47.4.x table 1 nnca> ip route add default via 200.47.4.x table 1

nnca> ip route add 200.80.32.x/26 dev eth2 src 200.80.32.x table 2 nnca> ip route add default via 200.80.32.x table 2

nnca> ip rule add from 200.47.4.x table 1
nnca> ip rule add from 200.80.32.x table 2

nnca> ip route add default scope global nexthop via 200.47.4.x dev eth0 nexthop nnca> via
nnca> 200.80.32.x dev eth2

nnca> ******

nnca> My problem is this: when I trace from the NETWORK of ISP1, sometimes the nnca> tracer go out from the gateway of ISP2 and vice versa

nnca> And when someone trace an IP from my LAN of ISP1, it`s showme as before nnca> complete the gateway from ISP2 y vice versa.

nnca> Mi question is: what is wrong in my config...??? What I need to put or is nnca> anything wrong with this config???.
nnca> THANKS VERY MUCH AND SORRY FOR MI HIGHSCHOOL ENGLISH.

nnca> _______________________________________________
nnca> LARTC mailing list / [email protected]
nnca> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

Signature · 6 lines
Greetings,
 Robert                            mailto:[email protected]

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/