记一次修理 Xbox One 的远程开机问题
imbushuo
Please mind the gap
自从给房间里的电口交换机换成 Cisco Catalyst 2960L 后,我发现我的远程开机功能日常不工作:
- Xbox One 设置成 Instant On 模式
- Xbox One 和电脑在同一个二层(用官方客户端,三层路由是不行的)
@David Huang 跟我说实际上自己写个小程序,给 Xbox 设备上发一个 UDP/5050 的魔法包就能开机了。Obviously 官方客户端没有用这个方法来开机。
Xbox 官方应用的远程开机是怎么工作的
此处为 Message Analyzer 的截图。
* 多播做设备发现
* 广播叫 Xbox 起床
* Xbox 会回复客户端它起来了
修理问题
我的 Xbox 在 GigabitEthernet0/8,二层是 Vlan100。
ip igmp snooping vlan 100 mrouter interface Gi0/8
再来试试:
附加部分:Xbox 在 Instant On 下的行为
开关机时疯狂 Link Flapping。我不知道是不是故意的:
Jan 5 15:45:07.719: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/8, changed state to down
Jan 5 15:45:08.720: %LINK-3-UPDOWN: Interface GigabitEthernet0/8, changed state to down
Jan 5 15:45:12.218: %LINK-3-UPDOWN: Interface GigabitEthernet0/8, changed state to up
Jan 5 15:45:13.218: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/8, changed state to up
Jan 5 15:45:17.219: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/8, changed state to down
Jan 5 15:45:18.219: %LINK-3-UPDOWN: Interface GigabitEthernet0/8, changed state to down
Jan 5 15:45:21.618: %LINK-3-UPDOWN: Interface GigabitEthernet0/8, changed state to up
Jan 5 15:45:22.618: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/8, changed state to up
Jan 5 15:45:26.519: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/8, changed state to down
Jan 5 15:45:27.519: %LINK-3-UPDOWN: Interface GigabitEthernet0/8, changed state to down
Jan 5 15:45:30.318: %LINK-3-UPDOWN: Interface GigabitEthernet0/8, changed state to up
Jan 5 15:45:32.519: %LINK-3-UPDOWN: Interface GigabitEthernet0/8, changed state to down
Jan 5 15:45:36.118: %LINK-3-UPDOWN: Interface GigabitEthernet0/8, changed state to up
Jan 5 15:45:37.118: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/8, changed state to up
因为这个原因,关机后立即远程开机不工作。
睡眠时链路速度是 10Mbps,如果在下载东西或者刚睡是 100/1000Mbps。猜测是为了省电?