单项选择题

在windows操作系统的DOS命令中,查看主机IP地址和MAC地址的命令是()。

A、tracert
B、ipconfig/all
C、ping
D、netstat