Which osi layer handles routing between different networks
Network layer
Main device that operates at layer 3
Router
Pdu at layer 3
Packet
What type of address does layer 3 use
IP address
What does a router look at to make forwarding decisions
Destination IP address
Where does a router get the best path information from
Routing table
What is a layer 3 switch
Switch that can also route between VLANs/subnets using IP addresses (switch + router in 1 box )
Where are layer 3 switches normally used
Large enterprise networks / data centers (fast inter - VLAN routing )
Traditional router versus layer 3 -switch speed differences
Layer 3 switch is much faster( hardware /ASIC-based routing) once the route is known
What is the big difference between stateful and stateless firewalls
State full keeps track of connection state (SYN , ACK , etc ) in a state table
Which layers does a statefull firewall primarily operate on
Layer 3(IP) + layer 4 (ports and TCP /UDP flags )
What does WAF (web application firewall) inspect
Layer 7 - actual application data / content (SQLi , XSS , etc)
Router vs Switch -which 1 changes the layer 2 frame
Router - it strips the old L2 header and adds a new one for the next hop
Devices that forwards based on IP address
Router or layer 3 switch