cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1795
Views
5
Helpful
5
Replies

I need help setting up a Cisco catalyst 3750 swtich

mallbricks3852
Level 1
Level 1

I am fairly new at working with switches and I am an apprentice with a company I've been ask to setup a LAN on a switch with a bunch of unused PC's from the office which I have done successfully and I have setup a working Server doing DHCP for the PC's so they can all ping each other on the LAN. Now I have been asked to connect the switch to the internet through one of the ports of our BT business hub router however I cannot get it to work here is  the config of the switch I'm trying to connect. I'm trying to connect the switch to the Router using with port 46 on the switch any help would be great.

 

Switch config

 

Building configuration...

Current configuration : 9198 bytes
!
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime localtime
service password-encryption
!
hostname Cat3750
!
boot-start-marker
boot-end-marker
!
no logging console
enable secret 5 $1$C2V4$p6D1lNgrXzFD.sxMHnr/71
!
username admin privilege 15 password 7 14341B180F0B797C717812312F1A09
!
!
aaa new-model
!
!
aaa authentication login default local
!
!
!
aaa session-id common
clock timezone GMT 1
switch 3 provision ws-c3750-48p
system mtu routing 1500
ip routing
ip domain-name default.net
!
!
!
!
crypto pki trustpoint TP-self-signed-639785472
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-639785472
revocation-check none
rsakeypair TP-self-signed-639785472
!
!
crypto pki certificate chain TP-self-signed-639785472
certificate self-signed 01
30820249 308201B2 A0030201 02020101 300D0609 2A864886 F70D0101 04050030
30312E30 2C060355 04031325 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 36333937 38353437 32301E17 0D393330 33303130 30303135
325A170D 32303031 30313030 30303030 5A303031 2E302C06 03550403 1325494F
532D5365 6C662D53 69676E65 642D4365 72746966 69636174 652D3633 39373835
34373230 819F300D 06092A86 4886F70D 01010105 0003818D 00308189 02818100
BF31645E B0B9E0E2 5B4D4B7E AA7CA01A 22253286 E78F5FA2 1A47C393 56CE9C76
B53A58CE EAFFD5F9 445D460B 0B14BF12 1B3B168E 8C4E748F 93C869EA AAE81199
7EF06EA5 257A7766 6EB03BE2 8E1EE154 DB14929A 84943890 9F68A003 65C9F596
CEC63269 2A17036F 5DA6DE99 B56F92CB A8D8DCE4 55568AF9 8762F438 934B62A9
02030100 01A37330 71300F06 03551D13 0101FF04 05300301 01FF301E 0603551D
11041730 15821343 61743337 35302E64 65666175 6C742E6E 6574301F 0603551D
23041830 168014EC 4FA0E261 248E839E 7212427F 83FE595F 6CD90230 1D060355
1D0E0416 0414EC4F A0E26124 8E839E72 12427F83 FE595F6C D902300D 06092A86
4886F70D 01010405 00038181 005777FA BFCF4FB7 A9DDCA80 C02C5B5E B8BA3B8E
BABD00EF EF5A78BF F8556ADF 122D93B1 1B6A6782 B81E566E F7F265EA 17E72A3D
B931F125 0ECE5F74 5523CB29 7644EFE7 55C14160 1D2FAA61 EB2E18E4 D95B10A5
9B0C01A5 58A8B6FC 38C6A8D6 63F98F5E A036E9E7 8D1CCB5B 30FD8F41 AA52116D
46008F11 F6D73D55 787C811E 60
quit
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
!
interface FastEthernet3/0/1
description Link to Server
switchport access vlan 10
switchport mode access
!
interface FastEthernet3/0/2
description Link to Server
switchport access vlan 10
switchport mode access
shutdown
!
interface FastEthernet3/0/3
description Link to Server
switchport access vlan 10
switchport mode access
!
interface FastEthernet3/0/4
description Link to Server
switchport access vlan 10
switchport mode access
!
interface FastEthernet3/0/5
description Link to Server
switchport access vlan 10
switchport mode access
shutdown
!
interface FastEthernet3/0/6
description Link to Server
switchport access vlan 10
switchport mode access
!
interface FastEthernet3/0/7
description Link to Server
switchport access vlan 10
switchport mode access
shutdown
!
interface FastEthernet3/0/8
description Link to Office PC
switchport access vlan 20
switchport mode access
shutdown
!
interface FastEthernet3/0/9
description Link to Office PC
switchport access vlan 20
switchport mode access
!
interface FastEthernet3/0/10
description Link to Office PC
switchport access vlan 20
switchport mode access
!
interface FastEthernet3/0/11
description Link to Office PC
switchport access vlan 20
switchport mode access
!
interface FastEthernet3/0/12
description Link to Office PC
switchport access vlan 20
switchport mode access
!
interface FastEthernet3/0/13
description Link to Office PC
switchport access vlan 20
switchport mode access
!
interface FastEthernet3/0/14
description Link to Office PC
switchport access vlan 20
switchport mode access
!
interface FastEthernet3/0/15
description Link to Workshop PC
switchport access vlan 30
switchport mode access
!
interface FastEthernet3/0/16
description Link to Workshop PC
switchport access vlan 30
switchport mode access
!
interface FastEthernet3/0/17
description Link to Workshop PC
switchport access vlan 30
switchport mode access
!
interface FastEthernet3/0/18
description Link to Workshop PC
switchport access vlan 30
switchport mode access
!
interface FastEthernet3/0/19
description Link to Workshop PC
switchport access vlan 30
switchport mode access
!
interface FastEthernet3/0/20
description Link to Workshop PC
switchport access vlan 30
switchport mode access
!
interface FastEthernet3/0/21
description Link to Workshop PC
switchport access vlan 30
switchport mode access
!
interface FastEthernet3/0/22
description Link to Apprentice PC
switchport access vlan 40
switchport mode access
!
interface FastEthernet3/0/23
description Link to Apprentice PC
switchport access vlan 40
switchport mode access
!
interface FastEthernet3/0/24
description Link to Apprentice PC
switchport access vlan 40
switchport mode access
!
interface FastEthernet3/0/25
description Link to Apprentice PC
switchport access vlan 40
switchport mode access
!
interface FastEthernet3/0/26
description Link to Apprentice PC
switchport access vlan 40
switchport mode access
!
interface FastEthernet3/0/27
description Link to Apprentice PC
switchport access vlan 40
switchport mode access
!
interface FastEthernet3/0/28
description Link to Apprentice PC
switchport access vlan 40
switchport mode access
!
interface FastEthernet3/0/29
description Link to Reception PC
switchport access vlan 50
switchport mode access
!
interface FastEthernet3/0/30
description Link to Reception PC
switchport access vlan 50
switchport mode access
!
interface FastEthernet3/0/31
description Link to Reception PC
switchport access vlan 50
switchport mode access
!
interface FastEthernet3/0/32
description Link to Reception PC
switchport access vlan 50
switchport mode access
!
interface FastEthernet3/0/33
description Link to Reception PC
switchport access vlan 101
switchport mode access
!
interface FastEthernet3/0/34
description Link to Reception PC
switchport access vlan 101
switchport mode access
!
interface FastEthernet3/0/35
description Link to Reception PC
switchport access vlan 50
switchport mode access
!
interface FastEthernet3/0/36
description Link to Media PC
switchport access vlan 60
switchport mode access
!
interface FastEthernet3/0/37
description Link to Media PC
switchport access vlan 60
switchport mode access
!
interface FastEthernet3/0/38
description Link to Media PC
switchport access vlan 60
switchport mode access
!
interface FastEthernet3/0/39
description Link to Media PC
switchport access vlan 60
switchport mode access
!
interface FastEthernet3/0/40
description Link to Media PC
switchport access vlan 60
switchport mode access
!
interface FastEthernet3/0/41
description Link to Media PC
switchport access vlan 60
switchport mode access
!
interface FastEthernet3/0/42
description Link to Media PC
switchport access vlan 60
switchport mode access
!
interface FastEthernet3/0/43
description Link to Media PC
switchport access vlan 60
switchport mode access
!
interface FastEthernet3/0/44
description Link to Media PC
switchport access vlan 60
switchport mode access
!
interface FastEthernet3/0/45
description internet
switchport access vlan 90
switchport mode access
!
interface FastEthernet3/0/46
description internet
switchport access vlan 90
switchport mode access
!
interface FastEthernet3/0/47
description Link to Media PC
switchport access vlan 60
switchport mode access
!
interface FastEthernet3/0/48
description Trunk to Cisco 891
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet3/0/1
!
interface GigabitEthernet3/0/2
!
interface GigabitEthernet3/0/3
!
interface GigabitEthernet3/0/4
!
interface Vlan1
no ip address
shutdown
!
interface Vlan10
description Servers VLAN
ip address 192.168.10.1 255.255.255.0
ip helper-address 192.168.10.100
!
interface Vlan20
description Office VLAN
ip address 192.168.20.1 255.255.255.0
ip helper-address 192.168.10.100
!
interface Vlan24
description Vlan Cisco887-Cat3750
ip address 192.168.24.1 255.255.255.0
!
interface Vlan30
description Workshop VLAN
ip address 192.168.30.1 255.255.255.0
ip helper-address 192.168.10.100
!
interface Vlan40
description Apprentice VLAN
ip address 192.168.40.1 255.255.255.0
ip helper-address 192.168.10.100
!
interface Vlan50
description Reception VLAN
ip address 192.168.50.1 255.255.255.0
ip helper-address 192.168.10.100
!
interface Vlan60
description Media VLAN
ip address 192.168.60.1 255.255.255.0
ip helper-address 192.168.10.100
!
interface Vlan90
description vlan for connection to bt
ip address 192.168.100.3 255.255.255.0
!
interface Vlan101
ip address 192.168.101.1 255.255.255.0
!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.100.2
ip route 0.0.0.0 0.0.0.0 192.168.100.3
ip http server
ip http secure-server
!
!
!
line con 0
line vty 0 4
transport input ssh
line vty 5 15
transport input ssh
!
end

 

 

5 Replies 5

GRANT3779
Spotlight
Spotlight
When you plug in the Internet router, can you ping its Interface from the switch? What is the IP address of the Internet routers inside interface? Looking at your config I see two default routes? I would remove the bottom one (100.3). This is a connected interface.

ip route 0.0.0.0 0.0.0.0 192.168.100.2
ip route 0.0.0.0 0.0.0.0 192.168.100.3

If your Internet router address 192.168.100.2? What is the Internet router configured for in relation to NAT? Should it be Natting everything on 192.168.0.0/16 range?
The Internet router would need a route for 192.168.0.0/16 pointing back to 192.168.100.3 if it isn't already configured.

Thank you for the reply.

No I can't ping the router  the IP address of the router inside interface is 192.168.1.254

I'll remove the 0.0.0.0 0.0.0.0 192.168.100.3  

I don't know about the  NAT setup much I'll have to ask my boss but he insists that "you don't get help at a university"  which why i have post here instead thanks anyway. 

If you are plugging the Router port with 192.168.1.254 into your switch then you will need an SVI Interface on that switch in the same subnet. I'm assuming it is a /24. Then configure the access port to be in the new VLAN.
Your default route would then point to 192.168.1.254, but you need to check what address range the router is configured to NAT. There is a little bit of work but just think of how traffic from one subnet coming into the switch would know how to get to the Internet Router.

balaji.bandi
Hall of Fame
Hall of Fame

Orginal port mentioned connect to port 46, but config looking at was port 48

 

interface FastEthernet3/0/48
description Trunk to Cisco 891
switchport trunk encapsulation dot1q
switchport mode trunk

 

If you want to other VLAN to work, then you need to post Cisco router 891 config, so we can look and suggest what config tweak required to work other VLAN and your PC can connect to internet.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Richard Burts
Hall of Fame
Hall of Fame

There are several things that we do not know about this environment and clarification would be appreciated. The original post talks about connecting to the Internet using BT business hub router. There is also mention of a router. Is the mentioned router the same as BT business hub router or is it different?

 

The original post indicates intention to connect to Internet using port 46. If that is accurate then the connection to the internet would use the subnet of vlan 90 which would be 192.168.100.0/24. The config contains 2 configured default static routes

ip route 0.0.0.0 0.0.0.0 192.168.100.2
ip route 0.0.0.0 0.0.0.0 192.168.100.3

The second one is not correct because 192.168.100.3 is the address of the switch vlan interface. This default route needs to be removed. The other static default route says that the BT business hub address should be 192.168.100.2. Is that correct? If not then what is the address of the BT business hub router?

 

It would also be quite helpful if we have some clarification about the connection to some router on port 48. What is that router? What traffic should be sent to that router? What is that router expecting to send back to this switch?

 

HTH

 

Rick

 

HTH

Rick