[Courses] [Networking] interfacing ppp0 to eth0 ?

Laura Bowser elwing at elwing.org
Sun Dec 28 01:19:43 EST 2003


When I had a dynamic IP via DSL (verizon), I had to use the PPPoE 
drivers available from roaringpenguin.  They handled "getting" the IP, 
then in my firewall/nat setup, I used ppp0.

I don't know if the settings have changed in the last few years though, 
so you might want to wait until you get more information from someone 
else.

(I switched to Speakeasy - 2 static IPs!)

Elwing


On Dec 28, 2003, at 12:06 AM, mic wrote:

> hi
> i realize that hamster has closed the course, but i found it really 
> really
> helpful, and i hope hamster or those who experienced could help me out:
>
> background:
> -debian computer
> -the lan works fine (thanks hamster)
> -gets a dynamic ip from pacbell via the ppp0 (virtual?) interface
> -part of  /etc/network/interfaces file:
> ...
> #wan
> auto eth0  #should this be ppp0 ?
> iface eth0 inet ppp
>
> #lan
> auto eth1
> iface eth1 inet static
>         address 10.0.0.1
>         netmask 255.0.0.0
>         gateway 10.0.0.1
> ..................................
>
> $ pon dsl-provider
> is providing me with a an ip address and netmask of 255.255.255.255 for
> ppp0.
>
>
> i don't understand how to connect ppp0's info with that of eth0?
>
> is this all taken care of with the
> iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
> command (which i still need to do some research on, before being able 
> to
> dialog on)
>
> thanks
> mic
> ---------------------------------------------------------------------
> ************* A Network can be the Opposite of a Hierachy ***********
>
>
> _______________________________________________
> Courses mailing list
> Courses at linuxchix.org
> http://mailman.linuxchix.org/mailman/listinfo/courses
>
>



More information about the Courses mailing list