In networking there are two addressing schemes. Router - Network layer device that uses one or more metrics to determine the optimal path along which network traffic should be forwarded. Routers forward packets from one network to another based on network layer information. The problem of excessive broadcast traffic can be solved by using a router. Routers are able to do this, because they do not forward broadcast frames unless specifically told to do so.
Routers differ from bridges in several respects.
First, bridging occurs at the data link layer or layer 2, while routing occurs at the network layer or layer 3 of the OSI model. Second, bridges use physical or MAC addresses to make data forwarding decisions. Routers use a different addressing scheme that occurs at layer three to make forwarding decisions. They use IP or logical addresses rather than MAC addresses. Finally, bridges are primarily used to connect segments of a network.