Cisco 3750 x - Vlan Routing

CiscoRouting121CiscoRouting121 Registered Users Posts: 2 ■□□□□□□□□□
Hi there,

New to the forum and hopefully not too much of a challenging first question.

I am a little out of my depth at work and have been thrown in to configure 3 Cisco 3750 x's with VLAN's. I have little Cisco experience but that unfortunately makes it more than everyone else here. This needs to be sorted fairly soon and I am pulling my hair out looking for a solution.

So here is what I have:

3 X Cisco 3750 x's
All connected via Stackwise cables

I have so far configured 3 VLAN's:

VLAN 20 - Ports 1-24 on switches 1 & 2
VLAN 40 - Ports 24-48 on switches 1 & 2
VLAN 60 - Ports 1-48 on switch 3

I now need VLAN 40 to be able to communicate with VLAN 60. How do I configure this?

I have been googling and found that IP routing may need to be enabled.

Also there is no router involved in this scenario, all devices will have static IP's with no default gateways or if they do it will be to a device not a router.

Please help a guy out! I am learning fast but it seems not fast enough for my employer.

Thanks in advance for any help that you may be able to give me!

M

Comments

  • inscom.brigadeinscom.brigade Member Posts: 400 ■■■□□□□□□□
    switchport access vlan #
    switchport mode access
  • fluk3dfluk3d Member Posts: 141 ■■■□□□□□□□
    In order for two devices to be able to communicate with each other in different subnets they will need a L3 device router/L3 switch. Can you post a copy of your config : sh run (please remove any information that is sensitive prior to posting it to the forum)
    "Imagination is more important than knowledge." - Albert Einstein
  • ZartanasaurusZartanasaurus Member Posts: 2,008 ■■■■■■■■■□
    Your 3750 will be your router after you enable IP routing. PCs should point to the VLAN interface for their VLAN for the default gateway.
    Currently reading:
    IPSec VPN Design 44%
    Mastering VMWare vSphere 5​ 42.8%
  • MickQMickQ Member Posts: 628 ■■■■□□□□□□
    The 3750 is a layer 3 switch.
    In order to use the layer 3 functionality, you need to enable ip routing on the switch. This allows you to route between the SVIs and VLANs.
    As Zartan said, the PCs should be on L2 switch interfaces.
  • CiscoRouting121CiscoRouting121 Registered Users Posts: 2 ■□□□□□□□□□
    Hi,

    Thanks for your response.

    Please see my show conf below along with a Show IP route command output.



    _SWITCH_02#show conf
    Using 11597 out of 524288 bytes
    !
    version 15.0
    no service pad
    service timestamps debug datetime msec
    service timestamps log datetime msec
    no service password-encryption
    !
    hostname _SWITCH_02
    !
    boot-start-marker
    boot-end-marker
    !
    !
    no aaa new-model
    switch 1 provision ws-c3750x-48p
    switch 2 provision ws-c3750x-48p
    switch 3 provision ws-c3750x-48p
    system mtu routing 1500
    ip routing
    !
    !
    !
    !
    crypto pki trustpoint TP-self-signed-289198336
    enrollment selfsigned
    subject-name cn=IOS-Self-Signed-Certificate-289198336
    revocation-check none
    rsakeypair TP-self-signed-289198336
    !
    !
    crypto pki certificate chain TP-self-signed-289198336
    certificate self-signed 01 nvram:IOS-Self-Sig#1.cer
    !
    !
    !
    spanning-tree mode pvst
    spanning-tree extend system-id
    !
    !
    !
    !
    vlan internal allocation policy ascending
    !
    !
    !
    !
    !
    !
    interface FastEthernet0
    no ip address
    no ip route-cache
    !
    interface GigabitEthernet1/0/1
    switchport access vlan 20
    switchport mode access
    !
    interface GigabitEthernet1/0/2
    switchport access vlan 20
    switchport mode access
    !
    interface GigabitEthernet1/0/3
    switchport access vlan 20
    switchport mode access
    !
    interface GigabitEthernet1/0/4
    switchport access vlan 20
    switchport mode access
    !
    interface GigabitEthernet1/0/5
    switchport access vlan 20
    switchport mode access
    !
    interface GigabitEthernet1/0/6
    switchport access vlan 20
    switchport mode access
    !
    interface GigabitEthernet1/0/7
    switchport access vlan 20
    switchport mode access
    !
    interface GigabitEthernet1/0/8
    switchport access vlan 20
    switchport mode access
    !
    interface GigabitEthernet1/0/9
    switchport access vlan 20
    switchport mode access
    !
    interface GigabitEthernet1/0/10
    switchport access vlan 20
    switchport mode access
    !
    interface GigabitEthernet1/0/11
    switchport access vlan 20
    switchport mode access
    !
    interface GigabitEthernet1/0/12
    switchport access vlan 20
    switchport mode access
    !
    interface GigabitEthernet1/0/13
    switchport access vlan 20
    switchport mode access
    !
    interface GigabitEthernet1/0/14
    switchport access vlan 20
    switchport mode access
    !
    interface GigabitEthernet1/0/15
    switchport access vlan 20
    switchport mode access
    !
    interface GigabitEthernet1/0/16
    switchport access vlan 20
    switchport mode access
    !
    interface GigabitEthernet1/0/17
    switchport access vlan 20
    switchport mode access
    !
    interface GigabitEthernet1/0/18
    switchport access vlan 20
    switchport mode access
    !
    interface GigabitEthernet1/0/19
    switchport access vlan 20
    switchport mode access
    !
    interface GigabitEthernet1/0/20
    switchport access vlan 20
    switchport mode access
    !
    interface GigabitEthernet1/0/21
    switchport access vlan 20
    switchport mode access
    !
    interface GigabitEthernet1/0/22
    switchport access vlan 20
    switchport mode access
    !
    interface GigabitEthernet1/0/23
    switchport access vlan 20
    switchport mode access
    !
    interface GigabitEthernet1/0/24
    switchport access vlan 20
    switchport mode access
    !
    interface GigabitEthernet1/0/25
    switchport access vlan 40
    switchport mode access
    !
    interface GigabitEthernet1/0/26
    switchport access vlan 40
    switchport mode access
    !
    interface GigabitEthernet1/0/27
    switchport access vlan 40
    switchport mode access
    !
    interface GigabitEthernet1/0/28
    switchport access vlan 40
    switchport mode access
    !
    interface GigabitEthernet1/0/29
    switchport access vlan 40
    switchport mode access
    !
    interface GigabitEthernet1/0/30
    switchport access vlan 40
    switchport mode access
    !
    interface GigabitEthernet1/0/31
    switchport access vlan 40
    switchport mode access
    !
    interface GigabitEthernet1/0/32
    switchport access vlan 40
    switchport mode access
    !
    interface GigabitEthernet1/0/33
    switchport access vlan 40
    switchport mode access
    !
    interface GigabitEthernet1/0/34
    switchport access vlan 40
    switchport mode access
    !
    interface GigabitEthernet1/0/35
    switchport access vlan 40
    switchport mode access
    !
    interface GigabitEthernet1/0/36
    switchport access vlan 40
    switchport mode access
    !
    interface GigabitEthernet1/0/37
    switchport access vlan 40
    switchport mode access
    !
    interface GigabitEthernet1/0/38
    switchport access vlan 40
    switchport mode access
    !
    interface GigabitEthernet1/0/39
    switchport access vlan 40
    switchport mode access
    !
    interface GigabitEthernet1/0/40
    switchport access vlan 40
    switchport mode access
    !
    interface GigabitEthernet1/0/41
    switchport access vlan 40
    switchport mode access
    !
    interface GigabitEthernet1/0/42
    switchport access vlan 40
    switchport mode access
    !
    interface GigabitEthernet1/0/43
    switchport access vlan 40
    switchport mode access
    !
    interface GigabitEthernet1/0/44
    switchport access vlan 40
    switchport mode access
    !
    interface GigabitEthernet1/0/45
    switchport access vlan 40
    switchport mode access
    !
    interface GigabitEthernet1/0/46
    switchport access vlan 40
    switchport mode access
    !
    interface GigabitEthernet1/0/47
    switchport access vlan 40
    switchport mode access
    !
    interface GigabitEthernet1/0/48
    switchport access vlan 40
    switchport mode access
    !
    interface GigabitEthernet1/1/1
    !
    interface GigabitEthernet1/1/2
    !
    interface GigabitEthernet1/1/3
    !
    interface GigabitEthernet1/1/4
    !
    interface TenGigabitEthernet1/1/1
    !
    interface TenGigabitEthernet1/1/2
    !
    interface GigabitEthernet2/0/1
    switchport access vlan 20
    switchport mode access
    !
    interface GigabitEthernet2/0/2
    switchport access vlan 20
    switchport mode access
    !
    interface GigabitEthernet2/0/3
    switchport access vlan 20
    switchport mode access
    !
    interface GigabitEthernet2/0/4
    switchport access vlan 20
    switchport mode access
    !
    interface GigabitEthernet2/0/5
    switchport access vlan 20
    switchport mode access
    !
    interface GigabitEthernet2/0/6
    switchport access vlan 20
    switchport mode access
    !
    interface GigabitEthernet2/0/7
    switchport access vlan 20
    switchport mode access
    !
    interface GigabitEthernet2/0/8
    switchport access vlan 20
    switchport mode access
    !
    interface GigabitEthernet2/0/9
    switchport access vlan 20
    switchport mode access
    !
    interface GigabitEthernet2/0/10
    switchport access vlan 20
    switchport mode access
    !
    interface GigabitEthernet2/0/11
    switchport access vlan 20
    switchport mode access
    !
    interface GigabitEthernet2/0/12
    switchport access vlan 20
    switchport mode access
    !
    interface GigabitEthernet2/0/13
    switchport access vlan 20
    switchport mode access
    !
    interface GigabitEthernet2/0/14
    switchport access vlan 20
    switchport mode access
    !
    interface GigabitEthernet2/0/15
    switchport access vlan 20
    switchport mode access
    !
    interface GigabitEthernet2/0/16
    switchport access vlan 20
    switchport mode access
    !
    interface GigabitEthernet2/0/17
    switchport access vlan 20
    switchport mode access
    !
    interface GigabitEthernet2/0/18
    switchport access vlan 20
    switchport mode access
    !
    interface GigabitEthernet2/0/19
    switchport access vlan 20
    switchport mode access
    !
    interface GigabitEthernet2/0/20
    switchport access vlan 20
    switchport mode access
    !
    interface GigabitEthernet2/0/21
    switchport access vlan 20
    switchport mode access
    !
    interface GigabitEthernet2/0/22
    switchport access vlan 20
    switchport mode access
    !
    interface GigabitEthernet2/0/23
    switchport access vlan 20
    switchport mode access
    !
    interface GigabitEthernet2/0/24
    switchport access vlan 20
    switchport mode access
    !
    interface GigabitEthernet2/0/25
    switchport access vlan 40
    switchport mode access
    !
    interface GigabitEthernet2/0/26
    switchport access vlan 40
    switchport mode access
    !
    interface GigabitEthernet2/0/27
    switchport access vlan 40
    switchport mode access
    !
    interface GigabitEthernet2/0/28
    switchport access vlan 40
    switchport mode access
    !
    interface GigabitEthernet2/0/29
    switchport access vlan 40
    switchport mode access
    !
    interface GigabitEthernet2/0/30
    switchport access vlan 40
    switchport mode access
    !
    interface GigabitEthernet2/0/31
    switchport access vlan 40
    switchport mode access
    !
    interface GigabitEthernet2/0/32
    switchport access vlan 40
    switchport mode access
    !
    interface GigabitEthernet2/0/33
    switchport access vlan 40
    switchport mode access
    !
    interface GigabitEthernet2/0/34
    switchport access vlan 40
    switchport mode access
    !
    interface GigabitEthernet2/0/35
    switchport access vlan 40
    switchport mode access
    !
    interface GigabitEthernet2/0/36
    switchport access vlan 40
    switchport mode access
    !
    interface GigabitEthernet2/0/37
    switchport access vlan 40
    switchport mode access
    !
    interface GigabitEthernet2/0/38
    switchport access vlan 40
    switchport mode access
    !
    interface GigabitEthernet2/0/39
    switchport access vlan 40
    switchport mode access
    !
    interface GigabitEthernet2/0/40
    switchport access vlan 40
    switchport mode access
    !
    interface GigabitEthernet2/0/41
    switchport access vlan 40
    switchport mode access
    !
    interface GigabitEthernet2/0/42
    switchport access vlan 40
    switchport mode access
    !
    interface GigabitEthernet2/0/43
    switchport access vlan 40
    switchport mode access
    !
    interface GigabitEthernet2/0/44
    switchport access vlan 40
    switchport mode access
    !
    interface GigabitEthernet2/0/45
    switchport access vlan 40
    switchport mode access
    !
    interface GigabitEthernet2/0/46
    switchport access vlan 40
    switchport mode access
    !
    interface GigabitEthernet2/0/47
    switchport access vlan 40
    switchport mode access
    !
    interface GigabitEthernet2/0/48
    switchport access vlan 40
    switchport mode access
    !
    interface GigabitEthernet2/1/1
    !
    interface GigabitEthernet2/1/2
    !
    interface GigabitEthernet2/1/3
    !
    interface GigabitEthernet2/1/4
    !
    interface TenGigabitEthernet2/1/1
    !
    interface TenGigabitEthernet2/1/2
    !
    interface GigabitEthernet3/0/1
    !
    interface GigabitEthernet3/0/2
    !
    interface GigabitEthernet3/0/3
    !
    interface GigabitEthernet3/0/4
    !
    interface GigabitEthernet3/0/5
    !
    interface GigabitEthernet3/0/6
    !
    interface GigabitEthernet3/0/7
    !
    interface GigabitEthernet3/0/8
    !
    interface GigabitEthernet3/0/9
    !
    interface GigabitEthernet3/0/10
    !
    interface GigabitEthernet3/0/11
    !
    interface GigabitEthernet3/0/12
    !
    interface GigabitEthernet3/0/13
    !
    interface GigabitEthernet3/0/14
    !
    interface GigabitEthernet3/0/15
    !
    interface GigabitEthernet3/0/16
    !
    interface GigabitEthernet3/0/17
    !
    interface GigabitEthernet3/0/18
    !
    interface GigabitEthernet3/0/19
    !
    interface GigabitEthernet3/0/20
    !
    interface GigabitEthernet3/0/21
    !
    interface GigabitEthernet3/0/22
    !
    interface GigabitEthernet3/0/23
    !
    interface GigabitEthernet3/0/24
    !
    interface GigabitEthernet3/0/25
    !
    interface GigabitEthernet3/0/26
    !
    interface GigabitEthernet3/0/27
    !
    interface GigabitEthernet3/0/28
    !
    interface GigabitEthernet3/0/29
    !
    interface GigabitEthernet3/0/30
    !
    interface GigabitEthernet3/0/31
    !
    interface GigabitEthernet3/0/32
    !
    interface GigabitEthernet3/0/33
    !
    interface GigabitEthernet3/0/34
    !
    interface GigabitEthernet3/0/35
    !
    interface GigabitEthernet3/0/36
    !
    interface GigabitEthernet3/0/37
    !
    interface GigabitEthernet3/0/38
    !
    interface GigabitEthernet3/0/39
    !
    interface GigabitEthernet3/0/40
    !
    interface GigabitEthernet3/0/41
    !
    interface GigabitEthernet3/0/42
    !
    interface GigabitEthernet3/0/43
    !
    interface GigabitEthernet3/0/44
    !
    interface GigabitEthernet3/0/45
    !
    interface GigabitEthernet3/0/46
    !
    interface GigabitEthernet3/0/47
    !
    interface GigabitEthernet3/0/48
    switchport access vlan 60
    switchport mode access
    !
    interface GigabitEthernet3/1/1
    !
    interface GigabitEthernet3/1/2
    !
    interface GigabitEthernet3/1/3
    !
    interface GigabitEthernet3/1/4
    !
    interface TenGigabitEthernet3/1/1
    !
    interface TenGigabitEthernet3/1/2
    !
    interface Vlan1
    no ip address
    !
    interface Vlan20
    ip address 192.168.0.1 255.255.255.0
    !
    interface Vlan40
    ip address 192.168.1.1 255.255.255.0
    !
    interface Vlan60
    ip address 192.168.2.1 255.255.255.0
    !
    ip http server
    ip http secure-server
    !
    !
    logging esm config
    !
    !
    line con 0
    line vty 0 4
    login
    line vty 5 15
    login
    !
    end




    _SWITCH_02#show ip route
    Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
    D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
    N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
    E1 - OSPF external type 1, E2 - OSPF external type 2
    i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
    ia - IS-IS inter area, * - candidate default, U - per-user static route
    o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
    + - replicated route, % - next hop override


    Gateway of last resort is not set


    192.168.0.0/24 is variably subnetted, 2 subnets, 2 masks
    C 192.168.0.0/24 is directly connected, Vlan20
    L 192.168.0.1/32 is directly connected, Vlan20
    192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
    C 192.168.1.0/24 is directly connected, Vlan40
    L 192.168.1.1/32 is directly connected, Vlan40
    192.168.2.0/24 is variably subnetted, 2 subnets, 2 masks
    C 192.168.2.0/24 is directly connected, Vlan60
    L 192.168.2.1/32 is directly connected, Vlan60


    Also I am aware that Vlan 60 is not currently configured. I am only using my laptop on port 48 to determine connectivity at the moment.

    Thanks.
Sign In or Register to comment.