When I type command show run for my switch 2950. It is shwoing vlan with no ip address. I have another pc connected to this switch (FastEthernet 0/9). It is also show no ip address. Would someone know why? This switch is connected to 1811 router. Thanks,
You would either need to statically assign your IP address to both your Interface vlan and your pc, or configure DHCP so that your pc may get an address dynamically.
For the easiest mode of connectivity I would make sure that everything is in the same vlan and your router interface to the switch, your interface vlan 1, and your pc IP address is in the same subnet.