I am trying to seperate my network with Vlans.
I have a router connected to a Switch 3550(A) that switch connected to onother Switch 3550(B) and the last connected to a Switch 2950(C)
So I made all links between them trunk links dot1q exept 2950 leaving it default.
I create a Vlan 161 on A which is the VTP Server. Also B is a VTP server.
I encapsulated the interface on router with the ip of Vlan 161. Also configure the DHCP server with that ip .
Then I connected the B to C to a trunk link. I configures a port F0/8 as an access port to VLAN 161.
I put two ips on switch C int Vlan1 and interface Vlan161 with the proper ips.
I tried to see the pc which was working on port f0/8
I got an ip correctly , I could work on every device in my network but I could not ping the switch C or telnet. I could ping the router and the other switches but not the C. Then I changed the access to that port f0/8 to Vlan 1 and everything was fine. Of course it got the ip from Vlan 1 .
What is the problem
If the PCs will have access mode for Vlan161, then shutdown Vlan1 and enter an IP address under the interface Vlan161 then perform a no shut on that interface.
workstation [192.168.161.50] -> port 8 on 2950 [switchport access vlan 161]
On the switch config
interface vlan 1
interface vlan 161
ip add 192.168.161.1 255.255.255.0
You should be able to ping that interface from your workstation.