Linux Netfilter discussions
 help / color / mirror / Atom feed
From: not4u2know <crazyhacker@sympatico.ca>
To: netfilter@lists.netfilter.org
Subject: leased pppoe external ip for each internal network
Date: Sat, 29 Mar 2003 14:15:43 -0500	[thread overview]
Message-ID: <3E85F0DF.4040300@sympatico.ca> (raw)

hi, my isp issues ip addresses via pppoe. i have the capability to lease 
multiple ips at once, as i can pass through the pap authentication 
simultaneously.  i also have a dial up modem to serial line for standard 
ppp.  i was wondering if anyone had any idea as to how i can do 
something like this with my nat/packet filter machine....


dsl pppoe modem--->eth0--->ppp0--->eth1--->10.0.0.0/16
                                          \
                                            \--->ppp1-->eth2--->10.0.0.0/24
                                             \
                                              
\--->ppp2-->eth3-->192.18.0.1/24

the dsl line on rj11 connector connects to the dsl modem, the dsl modem 
connects to eth0.  when i lease my first external ip, my dialer creates 
ppp0.  i do snat to allow the network connected to eth1 appear as if its 
all coming from ppp0.  now, what i want to do is know how i can make the 
second and third leased ip addresses used by the otherr internal 
networks. so basically what i want to do is have separate external ip 
addresses for each of my internal networks.  i tried doing this with 
snat, but it did not work and i feel i would have to do something with 
the routing tables.  does anyone know precisely what user space tools to 
work with? somoene once mentioned to me iproute2, is this the tool i 
should use?  anyone recommend reading material for doing such things as 
described further up?

thanks.




                 reply	other threads:[~2003-03-29 19:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3E85F0DF.4040300@sympatico.ca \
    --to=crazyhacker@sympatico.ca \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox