There seems to be a bug in Apples pppd or in PPPoE.ppp plugin.
When I try to setup the pppoe-connection this way:
pppd plugin PPPoE.ppp device vlan0 noauth defaultroute user username password pw
packets of ethertype PPPoE should go to vlan0. But tcpdumps didnt show any PPPoE packets
on that interface. Instead, all PPPoE communication is beeing sent to the standard ethernet interface en0.
Here is an excerpt of packet headers from the vlan0 dump:
tcpdump -nevv -XX -i vlan0 >tcpdump-vlan0.txt:
No ethertype of PPPoE in vlan, only DNS broadcasts...
14:53:55.485917 00:16:cb:cd:1f:df > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 342: (tos 0x0, ttl 14:54:03.986736 00:16:cb:cd:1f:df > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 342: (tos 0x0, ttl 14:54:12.933303 00:16:cb:cd:1f:df > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 342: (tos 0x0, ttl 14:54:21.292128 00:16:cb:cd:1f:df > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 342: (tos 0x0, ttl 14:55:30.249114 00:16:cb:cd:1f:df > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 342: (tos 0x0, ttl
...
14:59:04.535913 00:16:cb:cd:1f:df > 33:33:00:00:00:fb, ethertype IPv6 (0x86dd), length 93: (hlim 14:59:04.635579 00:16:cb:cd:1f:df > 33:33:00:00:00:fb, ethertype IPv6 (0x86dd), length 131: (hlim 15:02:38.235331 00:16:cb:cd:1f:df > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 342: (tos 0x0, ttl
...
15:04:20.721812 00:16:cb:cd:1f:df > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 342: (tos 0x0, ttl 15:04:29.003659 00:16:cb:cd:1f:df > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 342: (tos 0x0, ttl
--------------------------------------
tcpdump -nevv -XX -i en0 >tcpdump-en0.txt:
There is some vlan communication on en0, but these are only BootP/DHCP requests.
The PPPoE packets all seeme to go without vlan taggs...
15:08:44.894534 00:16:cb:cd:1f:df > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 346: vlan 7, p 0, ethertype IPv4, (tos 0x0, ttl 255, id 41394, offset 0, flags [none], proto UDP (17), length 328) 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:16:cb:cd:1f:df, length 300, xid 0x7bc5028f, secs 24, Flags [none] (0x0000)
Client-Ethernet-Address 00:16:cb:cd:1f:df [|bootp]
0x0000: ffff ffff ffff 0016 cbcd 1fdf 8100 0007 ................
0x0010: 0800 4500 0148 a1b2 0000 ff11 18f3 0000 ..E..H..........
0x0020: 0000 ffff ffff 0044 0043 0134 6314 0101 .......D.C.4c...
0x0030: 0600 7bc5 028f 0018 0000 0000 0000 0000 ..{.............
0x0040: 0000 0000 0000 0000 0000 0016 cbcd 1fdf ................
0x0050: 0000 0000 0000 0000 0000 0000 0000 0000 ................
15:08:46.890680 00:16:cb:cd:1f:df > ff:ff:ff:ff:ff:ff, ethertype PPPoE D (0x8863), length 32: PPPoE PADI [Service-Name] [Host-Uniq 0x04348D04]
0x0000: ffff ffff ffff 0016 cbcd 1fdf 8863 1109 .............c..
0x0010: 0000 000c 0101 0000 0103 0004 0434 8d04 .............4..
15:08:49.891668 00:16:cb:cd:1f:df > ff:ff:ff:ff:ff:ff, ethertype PPPoE D (0x8863), length 32: PPPoE PADI [Service-Name] [Host-Uniq 0x04348D04]
0x0000: ffff ffff ffff 0016 cbcd 1fdf 8863 1109 .............c..
0x0010: 0000 000c 0101 0000 0103 0004 0434 8d04 .............4..
15:08:52.892753 00:16:cb:cd:1f:df > ff:ff:ff:ff:ff:ff, ethertype PPPoE D (0x8863), length 32: PPPoE PADI [Service-Name] [Host-Uniq 0x04348D04]
0x0000: ffff ffff ffff 0016 cbcd 1fdf 8863 1109 .............c..
0x0010: 0000 000c 0101 0000 0103 0004 0434 8d04 .............4..
15:08:53.209108 00:16:cb:cd:1f:df > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 346: vlan 7, p 0, ethertype IPv4, (tos 0x0, ttl 255, id 41395, offset 0, flags [none], proto UDP (17), length 328) 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:16:cb:cd:1f:df, length 300, xid 0x7bc5028f, secs 33, Flags [none] (0x0000)
Client-Ethernet-Address 00:16:cb:cd:1f:df [|bootp]
0x0000: ffff ffff ffff 0016 cbcd 1fdf 8100 0007 ................
0x0010: 0800 4500 0148 a1b3 0000 ff11 18f2 0000 ..E..H..........
0x0020: 0000 ffff ffff 0044 0043 0134 630b 0101 .......D.C.4c...
0x0030: 0600 7bc5 028f 0021 0000 0000 0000 0000 ..{....!........
0x0040: 0000 0000 0000 0000 0000 0016 cbcd 1fdf ................
0x0050: 0000 0000 0000 0000 0000 0000 0000 0000 ................
Any comments would be appreciated, thank you very much (Apple, are you listening?)
Mr. Z.