Link to home
Start Free TrialLog in
Avatar of ibmas4002
ibmas4002

asked on

Giving IP address for cisco 2950 that is part of the VLAN

Dear All,

  I have several VLAns configured on my network,  now Im trying to give an IP address for the switches ( cisco 2950) and enable the telnet access, what Im doing is as follow

1- Interface vlan1
2- Ip address 192.168.1.1 255.255.255.0
3- No shut

but still i can not access ot ping this ip from the same vlan( my pc), please advice in what has to be done in order to give the IP or telnet.
Do I have to reload the router?

Thanks
Avatar of from_exp
from_exp
Flag of Latvia image

do you have ports in this vlan?
it is possible ports of the switch are within different vlan.
if you are trying to connect your switch from another subnet, don't forget to configure default-gateway for the switch.

post here your config also
Avatar of ibmas4002
ibmas4002

ASKER

Hi

I have configured the Gateway but same
please paste your switch config here
Im a way now from office, but see the switch ports are all under the same VLAN, do I need to reload the switch?


ASKER CERTIFIED SOLUTION
Avatar of from_exp
from_exp
Flag of Latvia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Yes I can ping the switch from inside, and yes all the ports are part of VLANx not VLAN1, do you think that I have to do

conf t
int vlan1
no ip address
int vlanX
ip address x.x.x.x 255.255.255.0
no shu
end
Thanks
If you want to be able to access via telnet then you need the following commands

line vty 0 4
password "yourpassword"
login
exit
service password-encryption (this encrypts your service passwords so they do not display in show run)

If the vlan all your devices in and the ip address assigned to the Admin vlan?