PPPoE over vlan interface problem on linux kernel 2.4.21
"Brian Lu" <[email protected]> Thu, 31 May 2007 17:26:23 +0800
| Newsgroups | gmane.linux.drivers.vlan |
|---|---|
| Message-ID | <005a01c7a365$c2209c90$1901a8c0@Brian> |
This is a multi-part message in MIME format.
--===============1624775373==
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_0057_01C7A3A8.CF616BD0"
This is a multi-part message in MIME format.
------=_NextPart_000_0057_01C7A3A8.CF616BD0
Content-Type: text/plain;
charset="big5"
Content-Transfer-Encoding: quoted-printable
Hi~
After the lab success on fedora 5,I am doing the same lab on linux =
kernel 2.4.21:=20
Same topology:
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's kernel is ver.2.4.21
Topology:PC=3D>Switch=3D>ISP's Modem
[root@192 /mnt]# cat /proc/net/vlan/eth2.2
eth2.2 VID: 2 REORDER_HDR: 1 dev->priv_flags: 1
total frames received: 380
total bytes received: 22715
Broadcast/Multicast Rcvd: 0
total frames transmitted: 267
total bytes transmitted: 8544
total headroom inc: 0
total encap on xmit: 0
Device: eth2
INGRESS priority mappings: 0:0 1:0 2:0 3:0 4:0 5:0 6:0 7:0
EGRESSS priority Mappings:
[root@192 /mnt]# cat /proc/net/vlan/eth2.3
eth2.3 VID: 3 REORDER_HDR: 1 dev->priv_flags: 1
total frames received: 261
total bytes received: 15399
Broadcast/Multicast Rcvd: 0
total frames transmitted: 261
total bytes transmitted: 8352
total headroom inc: 0
total encap on xmit: 0
Device: eth2
INGRESS priority mappings: 0:0 1:0 2:0 3:0 4:0 5:0 6:0 7:0
EGRESSS priority Mappings:
eth2.2 Link encap:Ethernet HWaddr 00:14:B7:00:08:5F
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:549 errors:0 dropped:0 overruns:0 frame:0
TX packets:381 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
eth2.3 Link encap:Ethernet HWaddr 00:14:B7:00:08:5F
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:374 errors:0 dropped:0 overruns:0 frame:0
TX packets:374 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
[root@192 /mnt]# lsmod
Module Size Used by
8021q 12928 2
ipt_fuzzy 1200 1 (autoclean)
imq 1760 6
ip_nat_h323 2704 0 (unused)
ip_conntrack_h323 2336 1
ip_nat_pptp 1680 0 (unused)
ip_nat_proto_gre 1312 0 (unused)
ip_conntrack_pptp 2352 1
ip_conntrack_proto_gre 2080 0 [ip_nat_pptp ip_conntrack_pptp]
ipt_qod 928 0 (unused)
ipt_pfd 42800 0 (unused)
ipt_ingw 752 0 (unused)
ipt_iplimit 1344 1
ipt_BALANCE 1392 0 (unused)
ipt_gw 544 15
ip_conntrack_dns 1920 0 (unused)
ipt_icmpid 592 3
watchdog 3920 0 (unused)
e100 45616 4
I can create PPPoE and DHCP Client links over vlan interface(eth2.2 & =
eth2.3) on fedora 5(kernel 2.6.17.7)
But I can't create PPPoE and DHCP Client links over vlan =
interface(eth2.2 & eth2.3) on kernel 2.4.21
PPPoE Log:
Using interface ppp4
Connect: ppp4 <--> /dev/pts/3
Warning - secret file /etc/ppp/pap-secrets has world and/or group access
sent [LCP ConfReq id=3D0x2 <mru 1492> <magic 0xd7d6b62e>]
sent [LCP ConfReq id=3D0x2 <mru 1492> <magic 0xd7d6b62e>]
pppoe: Timeout waiting for PADO packets
Script /usr/sbin/pppoe -p /var/run/pppoe.conf5-pppoe.pid.pppoe -I eth2.3 =
-T 120 -U -m 1412 -D /tmp/pppoe-debug-20336/pppo
e-debug.txt-0 finished (pid 20393), status =3D 0x1
sent [LCP ConfReq id=3D0x2 <mru 1492> <magic 0xd7d6b62e>]
sent [LCP ConfReq id=3D0x2 <mru 1492> <magic 0xd7d6b62e>]
sent [LCP ConfReq id=3D0x2 <mru 1492> <magic 0xd7d6b62e>]
sent [LCP ConfReq id=3D0x2 <mru 1492> <magic 0xd7d6b62e>]
sent [LCP ConfReq id=3D0x2 <mru 1492> <magic 0xd7d6b62e>]
sent [LCP ConfReq id=3D0x2 <mru 1492> <magic 0xd7d6b62e>]
sent [LCP ConfReq id=3D0x2 <mru 1492> <magic 0xd7d6b62e>]
sent [LCP ConfReq id=3D0x2 <mru 1492> <magic 0xd7d6b62e>]
LCP: timeout sending Config-Requests
Connection terminated.
rp-pppoe debugging dump
rp-pppoe-3.8
17:12:40.559 SENT PPPoE Discovery (8863) PADI sess-id 0 length 12
SourceAddr 00:14:b7:00:08:5f DestAddr ff:ff:ff:ff:ff:ff
01 01 00 00 01 03 00 04 1c 53 00 00 .........S..
17:12:45.558 SENT PPPoE Discovery (8863) PADI sess-id 0 length 12
SourceAddr 00:14:b7:00:08:5f DestAddr ff:ff:ff:ff:ff:ff
01 01 00 00 01 03 00 04 1c 53 00 00 .........S..
17:12:55.558 SENT PPPoE Discovery (8863) PADI sess-id 0 length 12
SourceAddr 00:14:b7:00:08:5f DestAddr ff:ff:ff:ff:ff:ff
01 01 00 00 01 03 00 04 1c 53 00 00 .........S..
Any help would be appreciated~
Best regards,=20
Brian Lu
------=_NextPart_000_0057_01C7A3A8.CF616BD0
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>Hi~</DIV>
<DIV> </DIV>
<DIV>After the lab success on fedora 5,I am doing the same lab =
on=20
linux kernel 2.4.21: </DIV>
<DIV> </DIV>
<DIV>Same topology:</DIV>
<DIV>I created 2 vlan interface on my pc:eth2.2 & eth2.3<BR>I also =
created 2=20
vlan tag(2 & 3) on vlan switch...<BR>I have 2 ISP links:Tag2=3DA_Net =
&=20
Tag3=3DB_Net connected on switch</DIV>
<DIV>My OS's kernel is =
ver.2.4.21<BR>Topology:PC=3D>Switch=3D>ISP's=20
Modem<BR><BR>[root@192 /mnt]# cat /proc/net/vlan/eth2.2<BR>eth2.2 =
VID:=20
2 REORDER_HDR: 1 dev->priv_flags:=20
1<BR> total frames=20
received: =20
380<BR> total =
bytes=20
received: =20
22715<BR> Broadcast/Multicast=20
Rcvd: =
0</DIV>
<DIV> </DIV>
<DIV> total frames=20
transmitted: =20
267<BR> total bytes=20
transmitted: =20
8544<BR>  =
; total=20
headroom =
inc: =20
0<BR> total =
encap on=20
xmit: =20
0<BR>Device: eth2<BR>INGRESS priority mappings: 0:0 1:0 =
2:0 =20
3:0 4:0 5:0 6:0 7:0<BR>EGRESSS priority =
Mappings:</DIV>
<DIV><BR>[root@192 /mnt]# cat /proc/net/vlan/eth2.3<BR>eth2.3 VID: =
3 REORDER_HDR: 1 dev->priv_flags:=20
1<BR> total frames=20
received: =20
261<BR> total =
bytes=20
received: =20
15399<BR> Broadcast/Multicast=20
Rcvd: =
0</DIV>
<DIV> </DIV>
<DIV> total frames=20
transmitted: =20
261<BR> total bytes=20
transmitted: =20
8352<BR>  =
; total=20
headroom =
inc: =20
0<BR> total =
encap on=20
xmit: =20
0<BR>Device: eth2<BR>INGRESS priority mappings: 0:0 1:0 =
2:0 =20
3:0 4:0 5:0 6:0 7:0<BR>EGRESSS priority =
Mappings:</DIV>
<DIV> </DIV>
<DIV>eth2.2 Link encap:Ethernet HWaddr=20
00:14:B7:00:08:5F<BR> &nbs=
p; UP=20
BROADCAST RUNNING MULTICAST MTU:1500 =20
Metric:1<BR> RX=20
packets:549 errors:0 dropped:0 overruns:0=20
frame:0<BR> TX =
packets:381=20
errors:0 dropped:0 overruns:0=20
carrier:0<BR> =
collisions:0=20
txqueuelen:0</DIV>
<DIV> </DIV>
<DIV>eth2.3 Link encap:Ethernet HWaddr=20
00:14:B7:00:08:5F<BR> &nbs=
p; UP=20
BROADCAST RUNNING MULTICAST MTU:1500 =20
Metric:1<BR> RX=20
packets:374 errors:0 dropped:0 overruns:0=20
frame:0<BR> TX =
packets:374=20
errors:0 dropped:0 overruns:0=20
carrier:0<BR> =
collisions:0=20
txqueuelen:0<BR></DIV>
<DIV><BR></DIV>
<DIV>[root@192 /mnt]#=20
lsmod<BR>Module &nbs=
p; =20
Size Used=20
by<BR>8021q &n=
bsp; =20
12928 =20
2<BR>ipt_fuzzy  =
; =20
1200 1 =20
(autoclean)<BR>imq &=
nbsp; =20
1760 =20
6<BR>ip_nat_h323 &nb=
sp; =20
2704 0 =20
(unused)<BR>ip_conntrack_h323 =20
2336 =20
1<BR>ip_nat_pptp &nb=
sp; =20
1680 0 =20
(unused)<BR>ip_nat_proto_gre =20
1312 0 =20
(unused)<BR>ip_conntrack_pptp =20
2352 1<BR>ip_conntrack_proto_gre =
2080 =20
0 [ip_nat_pptp=20
ip_conntrack_pptp]<BR>ipt_qod &n=
bsp; =20
928 0 =20
(unused)<BR>ipt_pfd =
=20
42800 0 =20
(unused)<BR>ipt_ingw  =
; =20
752 0 =20
(unused)<BR>ipt_iplimit &n=
bsp; =20
1344 =20
1<BR>ipt_BALANCE &nb=
sp; =20
1392 0 =20
(unused)<BR>ipt_gw &=
nbsp; =20
544 =
15<BR>ip_conntrack_dns =20
1920 0 =20
(unused)<BR>ipt_icmpid &nb=
sp; =20
592 =20
3<BR>watchdog =
=20
3920 0 =20
(unused)<BR>e100 &nb=
sp; =20
45616 4</DIV>
<DIV><BR> </DIV>
<DIV>I can create PPPoE and DHCP Client links over vlan interface(eth2.2 =
&=20
eth2.3) on fedora 5(kernel 2.6.17.7)</DIV>
<DIV>But I can't create PPPoE and DHCP Client links over vlan =
interface(eth2.2=20
& eth2.3) on kernel 2.4.21</DIV>
<DIV> </DIV>
<DIV>PPPoE Log:</DIV>
<DIV>Using interface ppp4<BR>Connect: ppp4 <--> =
/dev/pts/3<BR>Warning -=20
secret file /etc/ppp/pap-secrets has world and/or group access<BR>sent =
[LCP=20
ConfReq id=3D0x2 <mru 1492> <magic 0xd7d6b62e>]<BR>sent [LCP =
ConfReq=20
id=3D0x2 <mru 1492> <magic 0xd7d6b62e>]<BR>pppoe: Timeout =
waiting for=20
PADO packets<BR>Script /usr/sbin/pppoe -p =
/var/run/pppoe.conf5-pppoe.pid.pppoe=20
-I eth2.3 -T 120 -U -m 1412 -D=20
/tmp/pppoe-debug-20336/pppo<BR>e-debug.txt-0 finished (pid 20393), =
status =3D=20
0x1<BR>sent [LCP ConfReq id=3D0x2 <mru 1492> <magic=20
0xd7d6b62e>]<BR>sent [LCP ConfReq id=3D0x2 <mru 1492> <magic =
0xd7d6b62e>]<BR>sent [LCP ConfReq id=3D0x2 <mru 1492> <magic =
0xd7d6b62e>]<BR>sent [LCP ConfReq id=3D0x2 <mru 1492> <magic =
0xd7d6b62e>]<BR>sent [LCP ConfReq id=3D0x2 <mru 1492> <magic =
0xd7d6b62e>]<BR>sent [LCP ConfReq id=3D0x2 <mru 1492> <magic =
0xd7d6b62e>]<BR>sent [LCP ConfReq id=3D0x2 <mru 1492> <magic =
0xd7d6b62e>]<BR>sent [LCP ConfReq id=3D0x2 <mru 1492> <magic =
0xd7d6b62e>]<BR>LCP: timeout sending Config-Requests<BR>Connection=20
terminated.</DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>rp-pppoe debugging =
dump<BR>rp-pppoe-3.8<BR>17:12:40.559 SENT=20
PPPoE Discovery (8863) PADI sess-id 0 length 12<BR>SourceAddr =
00:14:b7:00:08:5f=20
DestAddr ff:ff:ff:ff:ff:ff<BR>01 01 00 00 01 03 00 04 1c 53 00=20
00  =
; =20
.........S..</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>17:12:45.558 SENT PPPoE Discovery (8863) PADI =
sess-id 0 length=20
12<BR>SourceAddr 00:14:b7:00:08:5f DestAddr ff:ff:ff:ff:ff:ff<BR>01 01 =
00 00 01=20
03 00 04 1c 53 00=20
00  =
; =20
.........S..</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>17:12:55.558 SENT PPPoE Discovery (8863) PADI =
sess-id 0 length=20
12<BR>SourceAddr 00:14:b7:00:08:5f DestAddr ff:ff:ff:ff:ff:ff<BR>01 01 =
00 00 01=20
03 00 04 1c 53 00=20
00  =
; =20
.........S..<BR></FONT></DIV>
<DIV>Any help would be appreciated~<BR></DIV>
<DIV> </DIV>
<DIV>Best regards, <BR>Brian Lu</DIV></BODY></HTML>
------=_NextPart_000_0057_01C7A3A8.CF616BD0--
--===============1624775373==
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
--===============1624775373==--