Sunday, May 2, 2021

Stuck on something simple, I'm sure

I used to do some networking years back -- and now I feel like a complete idiot. I've downloaded packet tracer to get back in practice and I've already hit a wall with what seems to be something pretty simple -- setting up a router and a switch with vlan 1 "shut" and vlan 100 as the management vlan.

I have PCs hanging off the switch, and they can ping the switch and each other, but nothing can ping the router and the router, of course, can ping nothing. I've searched the internet but the 1,000,000 VLAN or switch/router config videos either keep the switch on vlan 1 or use vlan 1 as well as others. I'm pasting my configs below for the switch and router. I appreciate any help -- even if I feel stupid :)

Building configuration... Current configuration : 633 bytes ! version 15.1 no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption ! hostname r1 ! ! ! ! ! ! ! ! ip cef no ipv6 cef ! ! ! ! license udi pid CISCO1941/K9 sn FTX1524460A- ! ! ! ! ! ! ! ! ! ! ! spanning-tree mode pvst ! ! ! ! ! ! interface GigabitEthernet0/0 no ip address duplex auto speed auto shutdown ! interface GigabitEthernet0/1 ip address 10.100.100.1 255.255.255.0 duplex auto speed auto ! interface Vlan1 no ip address shutdown ! router rip ! ip classless ! ip flow-export version 9 ! ! ! ! ! ! ! ! line con 0 ! line aux 0 ! line vty 0 4 login ! ! ! end Building configuration... Current configuration : 1301 bytes ! version 12.2 no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption ! hostname s1 ! ! ! ! ! ! spanning-tree mode pvst spanning-tree extend system-id ! interface FastEthernet0/1 switchport access vlan 100 switchport mode access ! interface FastEthernet0/2 switchport access vlan 100 switchport mode access ! interface FastEthernet0/3 ! (removed for brevity) ! interface FastEthernet0/23 ! interface FastEthernet0/24 ! interface GigabitEthernet0/1 ! interface GigabitEthernet0/2 ! interface Vlan1 no ip address shutdown ! interface Vlan100 mac-address 0006.2a9a.7801 ip address 10.100.100.2 255.255.255.0 ! ip default-gateway 10.100.100.1 ! ! ! ! line con 0 ! line vty 0 4 login line vty 5 15 login ! ! ! ! end 

PCs are plugged into Fa0/1 and 2. Their IP addresses are 10.100.100.100 and 10.100.100.101

Thanks again!



No comments:

Post a Comment