Gateway
If devices are within the same network then they operate at the second layer.
Hubs and repeaters operate at the Physical Layer of the OSI Model. The Physical Layer is the first layer of the OSI Model.
Gateway network device
All network devices have some component that operates at layer 1. Only hubs and repeaters operate entirely at layer 1.
1. Repeaters (Operate at the OSI Physical Layer).2. Bridges (Operate at the OSI Data Link Layer).3. Routers {and Brouters} (Operate at the OSI Network Layer).
Hubs are a physical layer (layer 1) device; most switches operate at the Data Link layer (Layer 2) of the OSI model.
No. Only protocols that users can see on their screen are considered Presentation Layer based. Hubs and repeaters operate on the physical layer, because it doesn't do anything with the data, it simply forwards it.
Layer 3
Session Layer - layer 5Transport Layer - layer 4
Network Layer
Layer 2 - Data Link
Router works in Network Layer of OSI model