<table cellspacing='0' cellpadding='0' border='0' background='none' style='font-family:arial;font-size:10pt;color:rgb(51, 51, 51);background-color:transparent;width:100%;'><tr><td valign='top' style='font: inherit;'><div id="yiv477615545"><br><br>--- El <b>mié 2-jul-08, Robert Moskowitz <i><rgm@htt-consult.com></i></b> escribió:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">De:: Robert Moskowitz <rgm@htt-consult.com><br>Asunto: [CentOS] PPPoE setup<br>A: "CentOS mailing list" <centos@centos.org><br>Fecha: miércoles, 2 julio, 2008, 4:09 pm<br><br><pre>My provider is getting ready to switch my DSL router to bridging mode <br>and I supply the router (so I can get no only IPv4 addresses but also <br>IPv6 addresses!).<br><br>Here are his 'instructions' to me:<br><br>"Basically you start pppoe, I give you the username and password for it,<br>and then I set the router to passthrough
 modem mode, and you initiate<br>the PPPoE session directly with my LNS back here. You'll get a dynamic<br>IP on the dsl side<br> (which is normal) and then you just set up your<br>static routes in the linux box as normal. My LNS automatically routes<br>your traffic to the IP it randomly assigns to the DSL link. Once we<br>verify that IP6CP is up, I can assign you a /48 and you can rock out<br>with that however you want."<br><br><br><br>Currently I have a /26 IPv4 assignment which will continue.<br><br>So do I change the alias in modprobe.conf from eth0 to ppp0?  Or is just <br>listing interface eth0 in hte pppoe.conf file enough?<br><br> From my ISP's comments, the pppoe negotiation will provide the address <br>for eth0.  I already know my /26 allocation.  I need to set up static <br>routes on eth1 for these IPv4 addresses (different subnets to different <br>internal firewalls).  What tool do I use to set these?<br><br>And then I get to work with
 IPv6!<br><br>Pointers to Howtos are greatly appreciated.<br><br><br><br>_______________________________________________<br>CentOS<br> mailing list<br>CentOS@centos.org<br>http://lists.centos.org/mailman/listinfo/centos<br><br></pre></blockquote>Robert,<br><br>No, do not modify the alias for eth0, leave modprobe.conf unchanged.<br><br>How did you configured the pppoe link? <br><br>I have been using the adsl-setup command from the rp-pppoe package  to configure the dsl link, it generates the ifcfg-ppp0 file on /etc/sysconfig/network/scripts with the values needed to bring the link up such as the username, network interface to use, etc.<br><br>Also the adsl-setup command stores the username and password on the chap-secrets and pap-secrets files under /etc/ppp<br><br>After the dsl is configured you can bring it up /down with the adsl-start adsl-stop
 commands.<br><pre><br></pre></div></td></tr></table><br>__________________________________________________<br>Correo Yahoo!<br>Espacio para todos tus mensajes, antivirus y antispam ¡gratis! <br>Regístrate ya - http://correo.yahoo.com.mx/