08-04-2022 04:47 PM
Hi Cisco Community,
I am setting up a network in Packet Tracer and am having issues with my pc's, which are all on different VLANs, from pinging the router. Below is a screenshot of my current config.
My goal is to route between the different VLANs using the L3 switch and for the pc's to have the ability to reach outside of the network through the Houston router. I am convinced the issue is with Packet Tracer but wanted someone to take a look at my configs just to make sure - Thank you in Advance
Cisco Router Config
Houston# sh run
Building configuration...
Current configuration : 931 bytes
!
version 15.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Houston
!
!
!
!
!
!
!
!
no ip cef
no ipv6 cef
!
!
!
!
license udi pid CISCO2911/K9 sn FTX1524Z7G1-
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface GigabitEthernet0/0
ip address 10.0.0.1 255.255.255.0
duplex auto
speed auto
!
interface GigabitEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface GigabitEthernet0/2
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0/0
ip address 10.10.10.10 255.255.255.0
clock rate 128000
!
interface Serial0/0/1
no ip address
clock rate 2000000
shutdown
!
interface Vlan1
no ip address
shutdown
!
router ospf 1
log-adjacency-changes
network 10.10.10.0 0.0.0.255 area 0
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
Houston#
Cisco 3560 Config
MLS1#sh run
Building configuration...
Current configuration : 2027 bytes
!
version 12.2(37)SE1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname MLS1
!
!
!
!
!
!
ip routing
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface FastEthernet0/1
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/2
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/3
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/4
switchport access vlan 2
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/5
switchport access vlan 2
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/6
switchport access vlan 2
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/7
switchport access vlan 3
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/8
switchport access vlan 3
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/9
switchport access vlan 3
switchport mode access
switchport nonegotiate
!
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 GigabitEthernet0/1
switchport mode access
switchport nonegotiate
!
interface GigabitEthernet0/2
!
interface Vlan1
ip address 192.168.1.2 255.255.255.0
!
interface Vlan2
mac-address 000c.85a3.3601
ip address 192.168.2.2 255.255.255.0
!
interface Vlan3
mac-address 000c.85a3.3602
ip address 192.168.3.2 255.255.255.0
!
ip default-gateway 10.0.0.1
ip classless
ip route 0.0.0.0 0.0.0.0 10.0.0.1
!
ip flow-export version 9
!
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
!
end
MLS1#
08-04-2022 04:59 PM - edited 08-04-2022 05:00 PM
Your config is wrong, move L3 SVI to router and configure it as router on stick with SW as just L2
or
configure L3 between SW and router and inject default route into ospf from router by redistribution or default information originate
hope this helps
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide