Configuration of Firewall on Cisco Switch
Step 1: Open the Cisco Packet Tracer desktop application and select PC, Server, and Switch as devices.
- Then create a network topology.
- Use auto-connect cables to connect your gadget to other devices.
Step 2: Set up your servers, hosts, and PCs with IPv4 addresses and subnet masks according to the IP address as per your requirement.
- Click PC0 to assign an IP address.
- Then select Desktop, IP Configuration, and IPv4 Configuration.
- Specify the subnet mask and IPv4 address.
- Repeat the process for your server.
- IP addresses can be assigned manually or by command using the ipconfig command.
- Open the command terminal on your PC. Then enter ipconfig (if needed).
- To fully configure other PCs, do the same for them.
Step 3: Set up your server’s firewall to block packets and enable web browser traffic.
- Then click server0 to access the desktop.
- Then select IPv4 Firewall.
- Activate the service. Set the remote IP address to 0.0.0.0 and the remote wildcard mask to 255.255.255.255 before disabling the ICMP protocol.
- Then enable the IP protocol and set the remote IP and remote wildcard mask to 0.0.0.0 and 255.255.255.255 respectively. add them.
- Open the command terminal on your PC. Then enter ipconfig (if needed).
Step 4: Check the network by pinging the PC’s IP address.
- Use the ping command for this.
- First, click on PC2 and then select Command Prompt.
- Then enter the ping IP address of the desired node.
- Ping the server’s IP address (0x). In case no response has been received, the packets get stuck.
- You can check your web browser by putting your IP address in the URL. Click on PC2 to access the desktop and web browser.
How to Configure a Firewall in Cisco Switch?
A firewall is a type of network security device component that is used to keep track of incoming and outgoing network traffic and then make decisions regarding the traffic i.e., which traffic to allow or deny in accordance with a set of security rules.