Cisco - Moving packets between VLANscisco
I am presenting in this post a CCNA level problem, which I hope most of you will not have any issues solving:
Given a Switch with the following configuration and a Server connected to port Gi0/1 of the Switch, what can be done so that a ping from the Server (which is configured with an IP address of 192.168.0.100/24) to the Vlan101 interface on the Switch can be successful, taking into account the following restrictions:
- the Server cannot be moved to port Gi0/0;
- changing the configuration of the Switch is not allowed;
- we are not allowed to add any additional active devices like other switches and/or routers.
... ! interface GigabitEthernet0/0 switchport access vlan 101 switchport mode access negotiation auto ! interface GigabitEthernet0/1 switchport access vlan 102 switchport mode access negotiation auto ! interface GigabitEthernet0/2 switchport access vlan 102 switchport mode access negotiation auto ! ... ! interface Vlan101 ip address 192.168.0.1 255.255.255.0 ! ...
It looks obvious to most of us that the server is physically connected to the wrong port, or the VLAN configuration for port Gi0/1 is wrong.
Still, there are scenarios where this is the right setup, and a troubleshooting decision without consulting the architecture diagram and the intended traffic flow can result in severe traffic flow changing consequences.
I will describe in a future post when such a design can be used and why; until then, try to figure out what can be done so that the ping can succeed.