Linux Netfilter discussions
 help / color / mirror / Atom feed
* leased pppoe external ip for each internal network
@ 2003-03-29 19:15 not4u2know
  0 siblings, 0 replies; only message in thread
From: not4u2know @ 2003-03-29 19:15 UTC (permalink / raw)
  To: netfilter

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.




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-03-29 19:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-29 19:15 leased pppoe external ip for each internal network not4u2know

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox