|
发表于 2011-1-31 22:20:56
|
显示全部楼层
就借宝地一用了,为了更进一步弄清这个RG200E-AB的工作原理,我把iptv机顶盒接在iTV口,然后在RG200E的WAN口接一台带tcpdump的上网本:tcpdump -vvv -XX -l -e -i eth1
采集到3种包:无vlan tag的pppoe(这个应该是宽带上网的pppoe拨号), vlan tag为46的DHCP请求(无vendor option,应该是那个所谓的管理端口),vlan tag为85的DHCP请求(有vender option,应该是iptv盒子发出来的,好些格式出了vlan tag其它和我昨天直接在iptv eth口采集到的一样)
22:05:47.791669 b4:41:7a:0e:0b:00 (oui Unknown) > Broadcast, ethertype PPPoE D (0x8863), length 60: PPPoE PADI [Service-Name] [Host-Uniq 0x00488008]
0x0000: ffff ffff ffff b441 7a0e 0b00 8863 1109 .......Az....c..
0x0010: 0000 000c 0101 0000 0103 0004 0048 8008 .............H..
0x0020: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0030: 0000 0000 0000 0000 0000 0000 ............
22:05:47.791865 b4:41:7a:0e:0b:00 (oui Unknown) > 00:90:1a:a2:da:2a (oui Unknown), ethertype PPPoE D (0x8863), length 60: PPPoE PADT [ses 0x221] [Host-Uniq 0x00488008] [Service-Name]
0x0000: 0090 1aa2 da2a b441 7a0e 0b00 8863 11a7 .....*.Az....c..
0x0010: 0221 000c 0103 0004 0048 8008 0101 0000 .!.......H......
0x0020: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0030: 0000 0000 0000 0000 0000 0000 ............
22:05:50.795926 b4:41:7a:0e:0b:00 (oui Unknown) > Broadcast, ethertype PPPoE D (0x8863), length 60: PPPoE PADI [Host-Uniq 0x00488008] [Service-Name]
0x0000: ffff ffff ffff b441 7a0e 0b00 8863 1109 .......Az....c..
0x0010: 0000 000c 0103 0004 0048 8008 0101 0000 .........H......
0x0020: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0030: 0000 0000 0000 0000 0000 0000 ............
22:05:52.380082 00:15:eb:6a:a4:b7 (oui Unknown) > Broadcast, ethertype 802.1Q (0x8100), length 594: vlan 85, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 17589, offset 0, flags [none], proto UDP (17), length 576)
0.0.0.0.bootpc > 255.255.255.255.bootps: [udp sum ok] BOOTP/DHCP, Request from 00:15:eb:6a:a4:b7 (oui Unknown), length 548, xid 0xdf11aa19, Flags [none] (0x0000)
Client-Ethernet-Address 00:15:eb:6a:a4:b7 (oui Unknown)
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Discover
Parameter-Request Option 55, length 8:
Subnet-Mask, Default-Gateway, Domain-Name-Server, Hostname
Domain-Name, BR, Router-Discovery, Static-Route
Hostname Option 12, length 32: "ea1001000000004000000015EB6AA4B7"
Vendor-Class Option 60, length 53: "^@^@^_1^A%!M-x!M-Y^L^@<M-5D^@^@^@^@^@^@M-YM-xM-vJM-{M-p^PM-S M-^I^GM-|M-^JM-RWM-[M-lM->?M-;M-gM-@^]M-j^OM-^YM-'^AM-@M-^_sb"
END Option 255, length 0
PAD Option 0, length 0, occurs 205
0x0000: ffff ffff ffff 0015 eb6a a4b7 8100 0055 .........j.....U
0x0010: 0800 4500 0240 44b5 0000 4011 33f9 0000 ..E..@D...@.3...
0x0020: 0000 ffff ffff 0044 0043 022c faa4 0101 .......D.C.,....
0x0030: 0600 df11 aa19 0000 0000 0000 0000 0000 ................
0x0040: 0000 0000 0000 0000 0000 0015 eb6a a4b7 .............j..
0x0050: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0060: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0070: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0080: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0090: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00a0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00b0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00c0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00d0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00e0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00f0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0100: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0110: 0000 0000 0000 0000 0000 6382 5363 3501 ..........c.Sc5.
0x0120: 0137 0801 0306 0c0f 1c1f 210c 2065 6131 .7........!..ea1
0x0130: 3030 3130 3030 3030 3030 3034 3030 3030 0010000000040000
0x0140: 3030 3031 3545 4236 4141 3442 373c 3500 00015EB6AA4B7<5.
0x0150: 001f 3101 2521 f821 d90c 003c b544 0000 ..1.%!.!...<.D..
0x0160: 0000 0000 d9f8 f64a fbf0 10d3 2089 07fc .......J........
0x0170: 8ad2 57db ecbe 3fbb e7c0 1dea 0f99 a701 ..W...?.........
0x0180: c09f 7362 ff00 0000 0000 0000 0000 0000 ..sb............
0x0190: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x01a0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x01b0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x01c0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x01d0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x01e0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x01f0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0200: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0210: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0220: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0230: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0240: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0250: 0000 ..
22:05:52.803210 b4:41:7a:0e:0b:00 (oui Unknown) > Broadcast, ethertype PPPoE D (0x8863), length 60: PPPoE PADI [Service-Name] [Host-Uniq 0x00488008]
0x0000: ffff ffff ffff b441 7a0e 0b00 8863 1109 .......Az....c..
0x0010: 0000 000c 0101 0000 0103 0004 0048 8008 .............H..
0x0020: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0030: 0000 0000 0000 0000 0000 0000 ............
22:05:54.385241 b4:41:7a:0e:0b:02 (oui Unknown) > Broadcast, ethertype 802.1Q (0x8100), length 298: vlan 46, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 0, offset 0, flags [none], proto UDP (17), length 280)
0.0.0.0.bootpc > 255.255.255.255.bootps: [udp sum ok] BOOTP/DHCP, Request from b4:41:7a:0e:0b:02 (oui Unknown), length 252, xid 0x12a01185, Flags [none] (0x0000)
Client-Ethernet-Address b4:41:7a:0e:0b:02 (oui Unknown)
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Discover
Parameter-Request Option 55, length 6:
Subnet-Mask, Default-Gateway, Domain-Name-Server, Hostname
Domain-Name, BR
END Option 255, length 0
0x0000: ffff ffff ffff b441 7a0e 0b02 8100 002e .......Az.......
0x0010: 0800 4500 0118 0000 0000 4011 79d6 0000 ..E.......@.y...
0x0020: 0000 ffff ffff 0044 0043 0104 79b4 0101 .......D.C..y...
0x0030: 0600 12a0 1185 0000 0000 0000 0000 0000 ................
0x0040: 0000 0000 0000 0000 0000 b441 7a0e 0b02 ...........Az...
0x0050: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0060: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0070: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0080: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0090: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00a0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00b0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00c0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00d0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00e0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00f0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0100: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0110: 0000 0000 0000 0000 0000 6382 5363 3501 ..........c.Sc5.
0x0120: 0137 0601 0306 0c0f 1cff .7........
|
|