What is the purpose of assigning an IP address to a switch?()
A. Provides local hosts with a default gateway address
B. Allows remote management of the switch.
C. Allows the switch to respond to ARP requests between two hosts
D. Ensures that hosts on the same LAN can communicate with each other.