On Fri, 7 Jun 2002, George Luft wrote:

> Following the instructions in
> http://leaf.sourceforge.net/devel/jnilo/bupppoe.html#AEN343
> 
> I added the net/ppp0/- line to the Interfaces file and commented out the
> eth0 line.  Should I have left eth0 in?

No.

> Do I need the dhcp, routefilter,
> and norfc1918 options added to the ppp0 line?
> 

PPPoE doesn't use DHCP so you don't need the dhcp option. Routefilter is
probably a good idea. Norfc1918 is a good idea unless your ISP assigns RFC
1918 addresses for PPPoE in which case that option is a spectacularly poor
choice.

> #ZONE   INTERFACE       BROADCAST       OPTIONS
> #net     eth0           detect          dhcp,routefilter,norfc1918
> net     ppp0            -
> loc     eth1            detect          routestopped
> 
> Also, I tried editing the Masq file as shown below, but kept getting errors
> saying that "eth0 must be up".  
> 
> B/ The masq file (entry 7). With a dial-up modem setup it should look like:
> 
> (...)
> #INTERFACE              SUBNET
> ppp0                    eth0
> #LAST LINE -- ADD YOUR ENTRIES ABOVE THIS LINE -- DO NOT REMOVE
> 
>  
> Reading the documentation provided within the masq file, I think this SUBNET
> should be eth1 not eth0 since that is my internal NAT'ed network.  That's
> what I did and it works.  Is this an error in the doc?
> 

"Dial-up modem" != "PPPoE" -- so if the documentation that you are
referring to talks about "dial-up modem", that documentation is correct.  
The key point is that the interface in the SUBNET column should be the one
that interfaces to your local network.

-Tom
-- 
Tom Eastep    \ Shorewall - iptables made easy
AIM: tmeastep  \ http://www.shorewall.net
ICQ: #60745924  \ [EMAIL PROTECTED]


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to