![]() |
|
|
|||||||
| Petri.co.il is happy to award auglan the title of Most Valuable Member !!! |
| Register | Calendar |
Search |
Today's Posts |
Mark Forums Read |
| Notices |
|
|
Ciso Switch can't ping routerthis thread has 10 replies and has been viewed 2051 times
|
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
#1
|
||||||||
|
||||||||
|
So in my network the computers and servers can ping the router and the router can ping them, but the switch can't ping the router
This is my switch Current configuration : 1249 bytes ! version 12.1 no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption ! hostname Switch ! ! spanning-tree mode pvst ! interface FastEthernet0/1 switchport mode trunk ! interface FastEthernet0/2 switchport access vlan 20 switchport mode access ! interface FastEthernet0/3 switchport access vlan 20 switchport mode access ! interface FastEthernet0/4 switchport access vlan 10 switchport mode access ! interface FastEthernet0/5 switchport access vlan 10 switchport mode access ! interface FastEthernet0/6 switchport access vlan 10 switchport mode access ! interface FastEthernet0/7 ! interface FastEthernet0/8 ! interface FastEthernet0/9 ! interface FastEthernet0/10 ! interface FastEthernet0/11 ! interface FastEthernet0/12 ! interface FastEthernet0/13 ! interface FastEthernet0/14 ! interface FastEthernet0/15 ! interface FastEthernet0/16 ! interface FastEthernet0/17 ! interface FastEthernet0/18 ! interface FastEthernet0/19 ! interface FastEthernet0/20 ! interface FastEthernet0/21 ! interface FastEthernet0/22 ! interface FastEthernet0/23 ! interface FastEthernet0/24 ! interface Vlan1 no ip address shutdown ! ! line con 0 ! line vty 0 4 login line vty 5 15 login ! ! end This is the router Current configuration : 1021 bytes ! version 12.4 no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption ! hostname HQ ! ! ! ! ! ! ! ! ! ! ! ! ! ! spanning-tree mode pvst ! ! ! ! interface FastEthernet0/0 no ip address ip nat inside duplex auto speed auto ! interface FastEthernet0/0.1 encapsulation dot1Q 20 ip address 10.1.1.1 255.255.255.0 ! interface FastEthernet0/0.2 encapsulation dot1Q 10 ip address 10.1.2.1 255.255.255.0 ! interface FastEthernet0/1 no ip address duplex auto speed auto shutdown ! interface Serial0/0/0 ip address 170.1.1.2 255.255.255.0 encapsulation frame-relay ip nat outside clock rate 64000 ! interface Serial0/1/0 no ip address clock rate 2000000 shutdown ! interface Serial0/1/1 no ip address clock rate 2000000 shutdown ! interface Vlan1 no ip address shutdown ! router rip ! ip nat inside source static 10.1.1.2 170.1.1.4 ip nat inside source static 10.1.2.4 170.1.1.7 ip classless ! ! ! ! ! ! ! line con 0 line vty 0 4 login ! ! ! end can someone please help me out? |
|
#2
|
||||||||||
|
||||||||||
|
Here is your problem. You need to put a layer 3 (IP address) on Vlan 1 if your going to use that as your management vlan. Then you can either create another sub-interface on the router for vlan 1 or you can just put an ip address on fa0/0 on the router in the Vlan 1 subnet. In production I dont recommend using vlan 1 for management. If you do decide to change the native vlan then make sure you change it on the sub-interface on the router and also on the trunk port on the switch.
interface Vlan1 no ip address shutdown
__________________
CCNA, CCNA-Security, CCNP CCIE Security (In Progress) |
|
#3
|
||||||||
|
||||||||
|
Quote:
|
|
#4
|
||||||||||
|
||||||||||
|
Whatever subnet you want for your management vlan.
Keeping with your ip scheme now: 10.1.3.0/24 Router interface: 10.1.3.1 255.255.255.0 Switch Interface: 10.1.3.2 255.255.255.0 Also don't forget to no shut the vlan 1 interface if you decide to use it.
__________________
CCNA, CCNA-Security, CCNP CCIE Security (In Progress) |
|
#5
|
||||||||
|
||||||||
|
Ok I did that and the switch still can't ping the gateway or the serial port on the router... but the computers and servers can. And I did the no shut command on the switch and the router.
|
|
#6
|
||||||||
|
||||||||
|
even set the default gateway on the switch to see if that would work but nope nothing it can't ping the router.
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| I would like to add a wired switch or router to my wireless router | ozellam | General Networking | 2 | 3rd March 2011 19:20 |
| I can't ping to internet from router | jenthevb | Cisco Routers & Switches How-to | 4 | 9th February 2011 01:44 |
| Unable to ping past switch on remote site | Doormat | Cisco Routers & Switches How-to | 7 | 20th April 2010 16:18 |
| Cannot Ping Router | kevinguerreiro | Cisco Routers & Switches How-to | 8 | 17th August 2009 17:27 |
| Switch can't ping Router (CCNA Basics) | tnshurtm | Cisco Routers & Switches How-to | 18 | 19th October 2007 17:48 |