router
You can enable MAC address (also know as Physical Address) filtering. MAC address filtering has two modes: 1. Allow access to listed MAC addresses 2. Deny access to listed MAC addresses.
Switch
MAC Filtering
Physical Layer of OSI model
The primary purpose of the Address Resolution Protocol (ARP) is to map an IP address to a MAC address in a local network. This allows devices on a network to communicate with each other using their unique MAC addresses. ARP is crucial for proper functioning of Ethernet-based networks.
Specialized Device for exchanging data amongst class based Networks & Subnetted (multiple parts of one network) is Router.
NIDS
For two or more connected networks you can use a bridgeto connect them all together.It depends on the two networks. A bridge can only connect two networks of the same type (eg Ethernet or Token-Ring), that also use the same layer 3 network address (eg IP subnet or IPX network #, or AppleTalk network #).A "gateway" device can connect two dissimilar types that share a network address, and a router can connect two networks of different network addresses whether or not they have the same network type.
Switches and Bridges
A router is the most efficient device at moving packets between similar network topologies. Routers operate at the network layer (Layer 3) of the OSI model and are designed to determine the best path for packets to travel based on destination IP addresses. They use routing tables to make these decisions and can handle different types of network topologies, such as Ethernet, Wi-Fi, and fiber optic networks, making them versatile and efficient for packet forwarding.
A switch uses MAC address to forward frames while a router uses IP addresses.
In a wireless local area network (WLAN), the device that determines the next network point to which a packet should be forwarded is typically the wireless access point (WAP) or router. It uses routing protocols and information about the network topology to make forwarding decisions, directing packets toward their destination based on the best available path.