PPPoE over vlan interface problem

"Brian Lu" <[email protected]> Wed, 23 May 2007 15:04:03 +0800
Newsgroups gmane.linux.drivers.vlan
Message-ID <004301c79d08$8f47e020$1901a8c0@Brian>
This is a multi-part message in MIME format.

--===============0731959063==
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_0040_01C79D4B.99D52820"

This is a multi-part message in MIME format.

------=_NextPart_000_0040_01C79D4B.99D52820
Content-Type: text/plain;
	charset="big5"
Content-Transfer-Encoding: quoted-printable

Hi~

I created 2 vlan interface on my pc:eth2.2 & eth2.3
I also created 2 vlan tag(2 & 3) on vlan switch...
I have 2 ISP links:Tag2=3DA_Net & Tag3=3DB_Net connected on switch;My OS =
is Fedora 5
Topology:PC=3D>Switch=3D>ISP's Modem

When I use dhcp client software to get eth2.2 and eth2.3's IP,I can get =
them correctly.
But If I ask ISP to change the links become PPPoE...I always get error =
message...


Debug Message:=20
---------------------------------------------=20
* The following section shows the pppd command we will invoke=20
pppd invocation=20
/usr/sbin/pppd pty '/usr/sbin/pppoe -p =
/var/run/pppoe.conf3-pppoe.pid.pppoe -I eth2.3 -T 120 -U -m 1412 ' =
noipdefault persist noauth default-asyncmap defaultroute hide-password =
nodetach mtu 1492 mru 1492 noaccomp nodeflate nopcomp novj novjccomp =
user ac01119424 lcp-echo-interval 30 lcp-echo-failure 4 debug=20
---------------------------------------------=20
using channel 4=20
Using interface ppp2=20
Connect: ppp2 <--> /dev/pts/4=20
Warning - secret file /etc/ppp/pap-secrets has world and/or group access =

sent [LCP ConfReq id=3D0x1 <mru 1492> <magic 0xc7104a84>]=20
sent [LCP ConfReq id=3D0x1 <mru 1492> <magic 0xc7104a84>]=20
sent [LCP ConfReq id=3D0x1 <mru 1492> <magic 0xc7104a84>]=20
sent [LCP ConfReq id=3D0x1 <mru 1492> <magic 0xc7104a84>]=20
sent [LCP ConfReq id=3D0x1 <mru 1492> <magic 0xc7104a84>]=20
sent [LCP ConfReq id=3D0x1 <mru 1492> <magic 0xc7104a84>]=20
sent [LCP ConfReq id=3D0x1 <mru 1492> <magic 0xc7104a84>]=20
sent [LCP ConfReq id=3D0x1 <mru 1492> <magic 0xc7104a84>]=20
sent [LCP ConfReq id=3D0x1 <mru 1492> <magic 0xc7104a84>]=20
sent [LCP ConfReq id=3D0x1 <mru 1492> <magic 0xc7104a84>]=20
LCP: timeout sending Config-Requests=20
Connection terminated.=20
using channel 5=20
Using interface ppp2=20
Connect: ppp2 <--> /dev/pts/5=20
Waiting for 2 child processes...=20
script /usr/sbin/pppoe -p /var/run/pppoe.conf3-pppoe.pid.pppoe -I eth2.3 =
-T 120 -U -m 1412 -D /tmp/pppoe-debug-11189/pppoe-debug.txt-0, pid 11524 =

script /usr/sbin/pppoe -p /var/run/pppoe.conf3-pppoe.pid.pppoe -I eth2.3 =
-T 120 -U -m 1412 -D /tmp/pppoe-debug-11189/pppoe-debug.txt-0, pid 11254 =

Warning - secret file /etc/ppp/pap-secrets has world and/or group access =

sent [LCP ConfReq id=3D0x2 <mru 1492> <magic 0xd6886e5c>]=20
pppoe: Timeout waiting for PADO packets=20
Script /usr/sbin/pppoe -p /var/run/pppoe.conf3-pppoe.pid.pppoe -I eth2.3 =
-T 120 -U -m 1412 -D /tmp/pppoe-debug-11189/pppoe-debug.txt-0 finished =
(pid 11254), status =3D 0x1=20
sent [LCP ConfReq id=3D0x2 <mru 1492> <magic 0xd6886e5c>]=20
sending SIGTERM to process 11524=20
tcflush failed: Bad file descriptor=20
---------------------------------------------=20
* The following section is a dump of the packets=20
* sent and received by rp-pppoe. If you don't see=20
* any output, it's an Ethernet driver problem. If you only=20
* see three PADI packets and nothing else, check your cables=20
* and modem. Make sure the modem lights flash when you try=20
* to connect. Check that your Ethernet card is in=20
* half-duplex, 10Mb/s mode. If all else fails,=20
* try using pppoe-sniff.=20
rp-pppoe debugging dump=20
rp-pppoe-3.8=20
02:51:47.213 SENT PPPoE Discovery (8863) PADI sess-id 0 length 12=20
SourceAddr 00:14:b7:00:08:73 DestAddr ff:ff:ff:ff:ff:ff=20
01 01 00 00 01 03 00 04 04 2d 00 00 .........-..

Who can help me???=20

thank you very much...



Best regards,=20
Brian Lu

------=_NextPart_000_0040_01C79D4B.99D52820
Content-Type: text/html;
	charset="big5"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dbig5">
<META content=3D"MSHTML 6.00.2900.2963" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Hi~</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV>I created 2 vlan interface on my pc:eth2.2 &amp; eth2.3<BR>I also =
created 2=20
vlan tag(2 &amp; 3) on vlan switch...<BR>I have 2 ISP links:Tag2=3DA_Net =
&amp;=20
Tag3=3DB_Net connected on switch;My OS is Fedora=20
5<BR>Topology:PC=3D&gt;Switch=3D&gt;ISP's Modem<BR><BR>When I use dhcp =
client=20
software to get eth2.2 and eth2.3's IP,I can get them correctly.<BR>But =
If I ask=20
ISP to change the links become PPPoE...I always get error=20
message...<BR><BR><BR>Debug Message:=20
<BR>--------------------------------------------- <BR>* The following =
section=20
shows the pppd command we will invoke <BR>pppd invocation =
<BR>/usr/sbin/pppd pty=20
'/usr/sbin/pppoe -p /var/run/pppoe.conf3-pppoe.pid.pppoe -I eth2.3 -T =
120 -U -m=20
1412 ' noipdefault persist noauth default-asyncmap defaultroute =
hide-password=20
nodetach mtu 1492 mru 1492 noaccomp nodeflate nopcomp novj novjccomp =
user=20
ac01119424 lcp-echo-interval 30 lcp-echo-failure 4 debug=20
<BR>--------------------------------------------- <BR>using channel 4 =
<BR>Using=20
interface ppp2 <BR>Connect: ppp2 &lt;--&gt; /dev/pts/4 <BR>Warning - =
secret file=20
/etc/ppp/pap-secrets has world and/or group access <BR>sent [LCP ConfReq =
id=3D0x1=20
&lt;mru 1492&gt; &lt;magic 0xc7104a84&gt;] <BR>sent [LCP ConfReq =
id=3D0x1 &lt;mru=20
1492&gt; &lt;magic 0xc7104a84&gt;] <BR>sent [LCP ConfReq id=3D0x1 =
&lt;mru 1492&gt;=20
&lt;magic 0xc7104a84&gt;] <BR>sent [LCP ConfReq id=3D0x1 &lt;mru =
1492&gt;=20
&lt;magic 0xc7104a84&gt;] <BR>sent [LCP ConfReq id=3D0x1 &lt;mru =
1492&gt;=20
&lt;magic 0xc7104a84&gt;] <BR>sent [LCP ConfReq id=3D0x1 &lt;mru =
1492&gt;=20
&lt;magic 0xc7104a84&gt;] <BR>sent [LCP ConfReq id=3D0x1 &lt;mru =
1492&gt;=20
&lt;magic 0xc7104a84&gt;] <BR>sent [LCP ConfReq id=3D0x1 &lt;mru =
1492&gt;=20
&lt;magic 0xc7104a84&gt;] <BR>sent [LCP ConfReq id=3D0x1 &lt;mru =
1492&gt;=20
&lt;magic 0xc7104a84&gt;] <BR>sent [LCP ConfReq id=3D0x1 &lt;mru =
1492&gt;=20
&lt;magic 0xc7104a84&gt;] <BR>LCP: timeout sending Config-Requests=20
<BR>Connection terminated. <BR>using channel 5 <BR>Using interface ppp2=20
<BR>Connect: ppp2 &lt;--&gt; /dev/pts/5 <BR>Waiting for 2 child =
processes...=20
<BR>script /usr/sbin/pppoe -p /var/run/pppoe.conf3-pppoe.pid.pppoe -I =
eth2.3 -T=20
120 -U -m 1412 -D /tmp/pppoe-debug-11189/pppoe-debug.txt-0, pid 11524 =
<BR>script=20
/usr/sbin/pppoe -p /var/run/pppoe.conf3-pppoe.pid.pppoe -I eth2.3 -T 120 =
-U -m=20
1412 -D /tmp/pppoe-debug-11189/pppoe-debug.txt-0, pid 11254 <BR>Warning =
- secret=20
file /etc/ppp/pap-secrets has world and/or group access <BR>sent [LCP =
ConfReq=20
id=3D0x2 &lt;mru 1492&gt; &lt;magic 0xd6886e5c&gt;] <BR>pppoe: Timeout =
waiting for=20
PADO packets <BR>Script /usr/sbin/pppoe -p =
/var/run/pppoe.conf3-pppoe.pid.pppoe=20
-I eth2.3 -T 120 -U -m 1412 -D /tmp/pppoe-debug-11189/pppoe-debug.txt-0 =
finished=20
(pid 11254), status =3D 0x1 <BR>sent [LCP ConfReq id=3D0x2 &lt;mru =
1492&gt;=20
&lt;magic 0xd6886e5c&gt;] <BR>sending SIGTERM to process 11524 =
<BR>tcflush=20
failed: Bad file descriptor =
<BR>---------------------------------------------=20
<BR>* The following section is a dump of the packets <BR>* sent and =
received by=20
rp-pppoe. If you don't see <BR>* any output, it's an Ethernet driver =
problem. If=20
you only <BR>* see three PADI packets and nothing else, check your =
cables <BR>*=20
and modem. Make sure the modem lights flash when you try <BR>* to =
connect. Check=20
that your Ethernet card is in <BR>* half-duplex, 10Mb/s mode. If all =
else fails,=20
<BR>* try using pppoe-sniff. <BR>rp-pppoe debugging dump =
<BR>rp-pppoe-3.8=20
<BR>02:51:47.213 SENT PPPoE Discovery (8863) PADI sess-id 0 length 12=20
<BR>SourceAddr 00:14:b7:00:08:73 DestAddr ff:ff:ff:ff:ff:ff <BR>01 01 00 =
00 01=20
03 00 04 04 2d 00 00 .........-..<BR><BR>Who can help me??? =
<BR><BR>thank you=20
very much...<BR><!-- google_ad_section_end --></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Best regards, <BR>Brian =
Lu<BR></FONT></DIV></BODY></HTML>

------=_NextPart_000_0040_01C79D4B.99D52820--


--===============0731959063==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Vlan mailing list
[email protected]
http://www.candelatech.com/mailman/listinfo/vlan

--===============0731959063==--