cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1821
Views
0
Helpful
13
Replies

no internet connection

TimMees60387
Level 2
Level 2

I have a problem, I can't get an internet connection on my switch 3560G

13 Replies 13

Enes Simnica
Spotlight
Spotlight

hello @TimMees60387  well there are a lot of stuff that could be happening, if u can add some show commands will help a lot, bUT SITLL I WILL SHOW U SOME COMMON ISSUES WITH UR SITUATION..

Make sure you’ve set the basics:

  • Add a default route: ip route 0.0.0.0 0.0.0.0 [next-hop IP]
  • Check if the VLAN interface has an IP and is up with sh ip int brief
  • Set DNS servers with ip name-server [DNS IP]
  • Try pinging an external IP like ping 1.1.1.1 or 8.8.8.8 to test connectivity

For more details, check the Cisco 3560G config guide or basic IP troubleshooting steps. Let me know what you've already tried. and check these links: 

https://www.cisco.com/c/en/us/support/switches/catalyst-3560-series-switches/products-installation-and-configuration-guides-list.html 

https://www.cisco.com/c/en/us/td/docs/security/firepower/670/fdm/fptd-fdm-config-guide-670/fptd-fdm-routing.html

hope it helps...

 

-Enes

more Cisco?!
more Gym?!



If this post solved your problem, kindly mark it as Accepted Solution. Much appreciated!

this running-config

hostname SW1
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
system mtu routing 1500
ip domain-name local
!
!
!
!
!
crypto pki trustpoint TP-self-signed-1299906304
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-1299906304
revocation-check none
rsakeypair TP-self-signed-1299906304
!
!
crypto pki certificate chain TP-self-signed-1299906304
certificate self-signed 01
30820241 308201AA A0030201 02020101 300D0609 2A864886 F70D0101 04050030
31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 31323939 39303633 3034301E 170D3933 30333031 30303031
30325A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D31 32393939
30363330 3430819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
8100C884 B393BF57 35B68774 E4ED26AB 28F5C905 EE2579D4 57BB327E DE0453C4
8246FC69 D30274D1 44E1BC06 11FF493D 602F8B6C EEFF767F E488745A 7D9EE77F
3D3E6F91 E0072636 063ED065 DF7BBAF9 CA992832 1E0D45F5 062EC937 5EBBF71E
D5507405 42C60F8B 4E7FD49D 626F5AB8 6284105F 16EB3EE6 716CC1A7 E616BB4D
A5230203 010001A3 69306730 0F060355 1D130101 FF040530 030101FF 30140603
551D1104 0D300B82 09535731 2E6C6F63 616C301F 0603551D 23041830 168014B7
AF08AE94 8F05C43A CF08A82F 913ED852 AAD58630 1D060355 1D0E0416 0414B7AF
08AE948F 05C43ACF 08A82F91 3ED852AA D586300D 06092A86 4886F70D 01010405
00038181 00BAB3EC E98886F7 5C8B9AF7 A2D78C1A 6CADD949 79F75597 54E2F4B2
5CCD9352 29083EF6 CCB8701B 428CA400 DD998B4C 636A2B9B FE53B40C 88595927
4F20EE88 42DD91EF C411B165 68718474 E3616CA6 3CFDE8EF 7146DAD1 31B5760B
0CE58089 C72869BC AA8F64BF BFC1DB08 84EB4B48 A8460E9F 3B9BD665 73CCF4AD
9CD292BE DB
quit
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
ip ssh version 2
!
!
!
!
!
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface GigabitEthernet0/1
ip dhcp client hostname SW1
!
interface Vlan1
ip address 11.11.11.10 255.255.255.0
!
ip http server
ip http secure-server
!
!
!
logging esm config
!
!
!
line con 0
line vty 0 3
login
line vty 4
login
transport input ssh
line vty 5 15
login
transport input ssh
!
end

hello @TimMees60387 thanks for the info. So, Ur switch has an IP on Vlan1 (11.11.11.10) but no default route and likely no NAT from ur router to allow internet access. Try to add this: ip route 0.0.0.0 0.0.0.0 ur-router-IP. Also, make sure ur router/firewall is doing NAT for the11.11.11.0/24 subnet. let me know how it goes........

more Cisco?!
more Gym?!



If this post solved your problem, kindly mark it as Accepted Solution. Much appreciated!

no working ip route 0.0.0.0 0.0.0.0 

this running-config

You dont config default route 

Abd also you need 

Ip routing <<- 

But again this SW not support NAT so your users can not use it for internet access

MHM

 user have internet you meaning?

If Yes then this SW not support NAT so sure user not get internet.

MHM

I have internet but I want to put each interface on a VLAN, is this possible?

You need to connect any pc to any interface of SW and access internet?

If that correct then sorry 

This SW not support that.

You need cat9k SW or any router (even old) 

MHM

no internet  

 

I have internet but I want to put each interface on a VLAN. Is this possible? On interface GigabitEthernet0/1 I get an internal IP of 192.168.0.10 from the modem. On other ports I want VLANs.


@TimMees60387 wrote:

I have internet but I want to put each interface on a VLAN, is this possible?


Sure, you can place different interfaces on different VLANs, but to provide them Internet access, NOT just with the equipment you've described (for the reasons, I've described in your other related posting [I just noticed this posting]).

TimMees60387
Level 2
Level 2

Current configuration : 3292 bytes
!
! Last configuration change at 03:05:30 UTC Mon Mar 1 1993
!
version 12.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname SW1
!
boot-start-marker
boot-end-marker
!
!
!
aaa new-model
!
!
!
!
!
!
!
aaa session-id common
system mtu routing 1500
ip domain-name local
ip name-server 8.8.8.8
ip name-server 8.8.4.4
!
!
!
!
!
crypto pki trustpoint TP-self-signed-1299906304
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-1299906304
revocation-check none
rsakeypair TP-self-signed-1299906304
!
!
crypto pki certificate chain TP-self-signed-1299906304
certificate self-signed 01
30820241 308201AA A0030201 02020101 300D0609 2A864886 F70D0101 04050030
31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 31323939 39303633 3034301E 170D3933 30333031 30303031
30325A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D31 32393939
30363330 3430819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
8100C884 B393BF57 35B68774 E4ED26AB 28F5C905 EE2579D4 57BB327E DE0453C4
8246FC69 D30274D1 44E1BC06 11FF493D 602F8B6C EEFF767F E488745A 7D9EE77F
3D3E6F91 E0072636 063ED065 DF7BBAF9 CA992832 1E0D45F5 062EC937 5EBBF71E
D5507405 42C60F8B 4E7FD49D 626F5AB8 6284105F 16EB3EE6 716CC1A7 E616BB4D
A5230203 010001A3 69306730 0F060355 1D130101 FF040530 030101FF 30140603
551D1104 0D300B82 09535731 2E6C6F63 616C301F 0603551D 23041830 168014B7
AF08AE94 8F05C43A CF08A82F 913ED852 AAD58630 1D060355 1D0E0416 0414B7AF
08AE948F 05C43ACF 08A82F91 3ED852AA D586300D 06092A86 4886F70D 01010405
00038181 00BAB3EC E98886F7 5C8B9AF7 A2D78C1A 6CADD949 79F75597 54E2F4B2
5CCD9352 29083EF6 CCB8701B 428CA400 DD998B4C 636A2B9B FE53B40C 88595927
4F20EE88 42DD91EF C411B165 68718474 E3616CA6 3CFDE8EF 7146DAD1 31B5760B
0CE58089 C72869BC AA8F64BF BFC1DB08 84EB4B48 A8460E9F 3B9BD665 73CCF4AD
9CD292BE DB
quit
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
ip ssh version 2
!
!
!
!
!
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
switchport access vlan 5
switchport mode access
!
interface FastEthernet0/4
switchport access vlan 4
switchport mode access
!
interface FastEthernet0/5
switchport access vlan 5
switchport mode access
!
interface FastEthernet0/6
switchport access vlan 6
switchport mode access
!
interface FastEthernet0/7
switchport access vlan 7
switchport mode access
!
interface FastEthernet0/8
switchport access vlan 8
switchport mode access
!
interface GigabitEthernet0/1
ip dhcp client client-id GigabitEthernet0/1
!
interface Vlan1
ip address 11.11.11.10 255.255.255.0
!
interface Vlan2
ip address 10.10.20.1 255.255.255.0
!
interface Vlan3
ip address 10.10.30.1 255.255.255.0
!
interface Vlan4
ip address 10.10.40.1 255.255.255.0
!
interface Vlan5
ip address 10.10.50.1 255.255.255.0
!
interface Vlan6
ip address 10.10.60.1 255.255.255.0
!
ip default-gateway 10.10.60.1
ip http server
ip http secure-server
!
!
!
logging esm config
!
!
!
!
!
line con 0
line vty 4
transport input ssh
line vty 5 15
transport input ssh
!
end