10-20-2019 11:36 AM
I am new to working with Cisco stuff and asking questions on here, so I hope I am asking this in proper form.
I have a Linksys home router, connected to a Cisco 3825 router, connected to a Cisco 3560 switch.
The router is working well and able to ping the internet with no problem.
The switch is connected via port G0/1 on the router and f0/1 on the switch.
I cannot connect to the switch in any way from the Cisco 3825 router, however I do have VOIP working with the internet conncetion on G0/0 and phones connected to any port on the switch.
What I would like to do is connect to the switch from the router and also be able to access the internet from the switch. I am sure I am routing something wrong but not sure how to figure out what. Any help is super appreciated.
Solved! Go to Solution.
11-03-2019 02:50 PM
Hello,
make the changes marked in bold. When you are done, post the full configurations of the switch and the router so we can double check everything:
Switch
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
interface FastEthernet0/1
switchport access vlan 10
switchport mode access
switchport voice vlan 20
spanning-tree portfast
!
interface GigabitEthernet0/1
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,10,20,55,77
switchport mode trunk
!
interface Vlan1
ip address 10.10.30.248 255.255.255.0
!
--> no interface Vlan10
ip address 10.10.10.248 255.255.255.0
!
ip default-gateway 10.10.30.1
ip classless
-> no ip route 0.0.0.0 0.0.0.0 10.10.1.100
ip http server
ip http secure-server
Router
interface GigabitEthernet0/0
ip address dhcp
ip nat outside
ip virtual-reassembly in
duplex auto
speed auto
media-type rj45
!
interface GigabitEthernet0/1
ip address 10.10.30.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
duplex auto
speed auto
media-type rj45
!
interface GigabitEthernet0/1.10
encapsulation dot1q 10
ip address 10.10.10.248 255.255.255.0
ip nat inside
ip virtual-reassembly in
duplex auto
speed auto
media-type rj45
!
ip nat inside source list 1 interface GigabitEthernet0/0 overload
--> no ip route 0.0.0.0 0.0.0.0 10.10.1.1
ip route 0.0.0.0 0.0.0.0 GigabitEthernet0/0 dhcp
!
--> no access-list 1 permit any
access-list 1 permit 10.10.0.0 0.0.255.255
11-03-2019 03:25 PM
I think this fixed it and it is working correctly. Thank you for your help it is very appreciated.
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