- Posts: 49
- Thank you received: 0
Switch IP
14 years 5 months ago #34630
by kogula14
Why i cannot ping my switch IP address??? I am really upset and please help me.
Please check my simple diagram created using packet tracer over here:-
www.mediafire.com/?2mmimynyj4z
I have created two sub-interfaces with fa0/0.1 for vlan 1 (native) and fa0/0.2 for vlan 2
fa0/0.1 gateway IP: 10.10.10.1
fa0/0.2 gateway IP: 10.10.20.1
Only using 1 PC (IP: 10.10.20.2). Able to ping to 10.10.10.1 but cannot telnet or ping 10.10.10.2 from the PC. Already created vty password (cisco) and enable password (cisco).
Using ospf protocol.
Thanks
Please check my simple diagram created using packet tracer over here:-
www.mediafire.com/?2mmimynyj4z
I have created two sub-interfaces with fa0/0.1 for vlan 1 (native) and fa0/0.2 for vlan 2
fa0/0.1 gateway IP: 10.10.10.1
fa0/0.2 gateway IP: 10.10.20.1
Only using 1 PC (IP: 10.10.20.2). Able to ping to 10.10.10.1 but cannot telnet or ping 10.10.10.2 from the PC. Already created vty password (cisco) and enable password (cisco).
Using ospf protocol.
Thanks
14 years 5 months ago #34631
by Arani
Picking pebbles on the shore of the networking ocean
Replied by Arani on topic Switch IP address
Hi there,
Didn't get the idea of creating sub interfaces on the switch itself. You normally creat a VLAN and then assign a range of interfaces from the switch to it. That creates the VLAN. Then you give a default IP address to that VLAN itself so that the PCs belonging to that VLAN are able to do management of that switch.
The sub interace that needs to be created is on the router interface with which the switch interacts. That's where you need to tell the router that it will be expecting data from x number of VLANs.
The default gateway of any switch needs to the IP address of the outer interface with which the switch interacts. That would help individual VLANs to be able to ping each other.
Didn't get the idea of creating sub interfaces on the switch itself. You normally creat a VLAN and then assign a range of interfaces from the switch to it. That creates the VLAN. Then you give a default IP address to that VLAN itself so that the PCs belonging to that VLAN are able to do management of that switch.
The sub interace that needs to be created is on the router interface with which the switch interacts. That's where you need to tell the router that it will be expecting data from x number of VLANs.
The default gateway of any switch needs to the IP address of the outer interface with which the switch interacts. That would help individual VLANs to be able to ping each other.
Picking pebbles on the shore of the networking ocean
14 years 5 months ago #34632
by S0lo
Studying CCNP...
Ammar Muqaddas
Forum Moderator
www.firewall.cx
Replied by S0lo on topic Re: Switch IP
I checked your pkt file. You need to add a default gateway IP to the switch. Like this:
[code:1]Switch(config)# ip default-gateway 10.10.10.1 [/code:1]
This will tell the switch where to send traffic that doesn't belong to VLAN1. It worked fine after doing this.
[code:1]Switch(config)# ip default-gateway 10.10.10.1 [/code:1]
This will tell the switch where to send traffic that doesn't belong to VLAN1. It worked fine after doing this.
Studying CCNP...
Ammar Muqaddas
Forum Moderator
www.firewall.cx
14 years 5 months ago #34634
by kogula14
Replied by kogula14 on topic Re: Switch IP
Dear Solo,
Thanks a lot man. Now i able to ping and telnet the Switch which i was looking on it and troubleshooting for the whole day by reading online guide and books.
Thanks again Solo. I have been saw many threads has been reply in a Professional way (network engineer) by yourself.
Great to have such a skillful person in this thread.
Thanks a lot man. Now i able to ping and telnet the Switch which i was looking on it and troubleshooting for the whole day by reading online guide and books.
Thanks again Solo. I have been saw many threads has been reply in a Professional way (network engineer) by yourself.
Great to have such a skillful person in this thread.
14 years 5 months ago #34635
by kogula14
Replied by kogula14 on topic Re: Switch IP
Hi Arani,
Thanks a lot to you too for helping me in this issue. Great to know you.
Have a nice day
Thanks a lot to you too for helping me in this issue. Great to know you.
Have a nice day
Time to create page: 0.139 seconds