* [LARTC] 2 ADSL links with same P-t-P address !!
@ 2003-11-06 20:21 Martin Villarreal
0 siblings, 0 replies; only message in thread
From: Martin Villarreal @ 2003-11-06 20:21 UTC (permalink / raw)
To: lartc
Hi List... I cant share 2 adsl links in a Nat Box for 30 machines, the idea
is balancing the load of that 30 machines between 2 adsl links, I tried whit
several how to's including the LARTC How to and nothing work.... I think
that the P-t-P can be the problem, actually I'm using only 1 ADSL for this
problem (ppp0)
Somebody can tell me what's wrong? or what to do step by step?
Some info...
30 Machines from 192.168.1.100 to 192.168.1.130.
-------- eth0 (no ip) ----------------- ADSL1
|
Linux Box ----- eth1 (no ip) ----------------- ADSL2
|
-------- eth2 (192.168.1.100) ----------------- To Local Lan
(192.168.1.0/24).
Here is my actual iptables rule... any suggestion with tho ppp devices? I
must appy 15 rules for one adsl link and 15 rules for the other adsl link?
iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -d 0/0 -o ppp0 -j
MASQUERADE
eth0 Link encap:Ethernet HWaddr 00:04:75:C1:12:9B
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
eth1 Link encap:Ethernet HWaddr 00:04:75:C1:12:8A
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
eth2 Link encap:Ethernet HWaddr 00:04:75:C1:11:3B
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
ppp0 Link encap:Point-to-Point Protocol
inet addr:168.226.152.62 P-t-P:192.168.96.239
Mask:255.255.255.255
ppp1 Link encap:Point-to-Point Protocol
inet addr:200.63.152.109 P-t-P:192.168.96.239
Mask:255.255.255.255
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
200.32.3.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 200.32.3.1 0.0.0.0 UG 1 0 0 eth0
192.168.96.239 dev ppp0 proto kernel scope link src 168.226.152.62
192.168.96.239 dev ppp1 proto kernel scope link src 200.63.152.109
192.168.1.0/24 dev eth2 proto kernel scope link src 192.168.1.100
127.0.0.0/8 dev lo scope link
default via 192.168.96.239 dev ppp0
Thats alll.... Thanks List ....
Martin.... =)
_________________________________________________________________
Consigue aquí las mejores y mas recientes ofertas de trabajo en América
Latina y USA: www.yupimsn.com/empleos
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-11-06 20:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-06 20:21 [LARTC] 2 ADSL links with same P-t-P address !! Martin Villarreal
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.