Hola, Can someone please point me to the right direction on how-to set up proper routing on PPPoE connection and multiple external IP''s. Thank you kindly. ~Andrew Nady.
Andrew N. wrote:> Hola, > > Can someone please point me to the right direction on how-to set up proper > routing on PPPoE connection and multiple external IP''s. >http://shorewall.net/shorewall_setup_guide.htm -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key
Andrew N. wrote:>Hola, > >Can someone please point me to the right direction on how-to set up proper >routing on PPPoE connection and multiple external IP''s. > >Thank you kindly. > >~Andrew Nady. > > >_______________________________________________ >Shorewall-users mailing list >Post: Shorewall-users@lists.shorewall.net >Subscribe/Unsubscribe: https://lists.shorewall.net/mailman/listinfo/shorewall-users >Support: http://www.shorewall.net/support.htm >FAQ: http://www.shorewall.net/FAQ.htm > > >what do you need to know? I have load balanced connection over 1 static IP and 1 pppoe connection all routes should be directed at your ppp0 interface example /sbin/ip rule add prio 201 from 202.37.230.93/32 table 201 /sbin/ip route add default via 202.37.230.93 dev ppp0 \ src 202.37.230.93 proto static table 201 /sbin/ip route append prohibit default table 201 metric 1 proto static /sbin/ip rule add prio 202 from 203.96.212.0/23 table 202 /sbin/ip route add default via 203.96.212.1 dev eth3 \ src 203.96.213.68 proto static table 202 /sbin/ip route append prohibit default table 202 metric 1 proto static /sbin/ip rule add prio 222 table 222 /sbin/ip route add default table 222 proto static \ nexthop via 202.37.230.93 dev ppp0 \ nexthop via 203.96.212.1 dev eth3 notice the initial default route in table 201 is pointing to 202.37.230.93/32 (notice the /32) it took me a few days to figure that bit out, now everything is tickety boo !! :) In shorewall you can create rules as you would normally, execpt you refer to ppp0 in your interfaces rather than ethX Paul.
-----Original Message----- From: shorewall-users-bounces@lists.shorewall.net [mailto:shorewall-users-bounces@lists.shorewall.net] On Behalf Of Paul Sent: Sunday, March 06, 2005 11:53 PM To: Mailing List for Shorewall Users Subject: Re: [Shorewall-users] PPPoE with 2 ip''s and shorewall Done. Works like charm. Thanks gents. P.S. Paul, neat setup, I''ve been trying to make it work for a few weeks now. I got one static subnet with /28, but it''s only an ADSL connection (non PPPoE, just a bridge modem). I ordered an additional PPPoE for load balancing but had no time to get around it.