Monday, October 21, 2019

VLANs on Cisco Switch

Hello to all! I'm currently trying to configure a switch with a VLAN. The whole topology consists of a router (R1), two switches (S1 and S2) and two PCs (PC-A and PC-B). S1 is connected to R1. S2 is not connected to R1 but only connected to S1. PCs are connected to the switches. On S1 I have to add a VLAN (VLAN 10) with some name. The network address is 192.168.10.0/24. When I want to assign an ip address to this VLAN 10, I use these commands: interface vlan 10 ip address 192.168.10.0 255.255.255.0

But then I get the message "Bad mask /24 ..."

Am I doing something wrong? Can I use these commands for assigning ip address to VLANs created by me? Or do they work only for the default VLAN (VLAN 1) Thank you in advance, your help will be appreciated!!



No comments:

Post a Comment