cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
982
Views
0
Helpful
18
Replies

vlan routing same switch 3550-12T

MHSITServices
Level 1
Level 1

I'm having some problems setting up vlans to talk to each other on a 3550-12T switch.

Its quite a simple setup I have, but I need to split my network up.

Currently I have a network of 192.168.25.0 255.255.255.0

I want to create a new vlan network of 192.168.30.0 255.255.255.0

So I have configured my vlan1 (default vlan) to have an ip of 192.168.25.250 for getting to the management page

I have created a vlan2 of 192.168.30.1 255.255.255.0

I have a port 10 linked to one of my 3560G's

In port 9 which is on vlan2 I have my pc plugged in with a static ip of 192.168.30.50

from the router I can ping any device on 192.168.25.x

I can not ping 192.168.30.1 (which is my vlan2) nor can i ping the PC

I have enabled ip routing

But I dont have a default route, this is becase we don't have a router on the network,

Any suggestions, I'm not a cisco person by trade and I'm a little out of my comfort zone

18 Replies 18

Post Show run of boht Switches...

Jawad

Hello,

Looks like G0/10 isnt in a switchport mode.

Can you try?

sh int gig0/10 switchport

conf t

int gig0/10

switchport

res

Paul

Please don't forget to rate this post if it has been helpful.


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

COnfig Below with command keyed in

show run

Building configuration...

Current configuration : 1312 bytes

!

version 12.1

no service pad

service timestamps debug uptime

service timestamps log uptime

no service password-encryption

!

hostname Switch

!

!

ip subnet-zero

ip routing

no ip finger

!

!

!

!

interface GigabitEthernet0/1

no ip address

snmp trap link-status

!

--More--                           interface GigabitEthernet0/2

no ip address

snmp trap link-status

!

interface GigabitEthernet0/3

no ip address

snmp trap link-status

!

interface GigabitEthernet0/4

no ip address

snmp trap link-status

!

interface GigabitEthernet0/5

no ip address

snmp trap link-status

!

interface GigabitEthernet0/6

no ip address

snmp trap link-status

!

interface GigabitEthernet0/7

no ip address

snmp trap link-status

--More--                           !

interface GigabitEthernet0/8

no ip address

snmp trap link-status

!

interface GigabitEthernet0/9

switchport access vlan 2

no ip address

snmp trap link-status

!

interface GigabitEthernet0/10

no ip address

snmp trap link-status

!

interface GigabitEthernet0/11

no ip address

snmp trap link-status

!

interface GigabitEthernet0/12

no ip address

snmp trap link-status

!

interface Vlan1

--More--                            ip address 192.168.25.250 255.255.255.0

!

interface Vlan2

ip address 192.168.30.1 255.255.255.0

!

router rip

network 192.168.0.0

!

ip classless

ip http server

!

!

line con 0

transport input none

line vty 0 4

login

line vty 5 15

login

!

end

Switch# sh int gig0/10 switchport

Name: Gi0/10

Switchport: Enabled

Administrative Mode: dynamic desirable

Operational Mode: down

Administrative Trunking Encapsulation: negotiate

Negotiation of Trunking: On

Access Mode VLAN: 1 (default)

Trunking Native Mode VLAN: 1 (default)

Trunking VLANs Enabled: ALL

Pruning VLANs Enabled: 2-1001

Protected: false

Unknown unicast blocked: disabled

Unknown multicast blocked: disabled

Broadcast Suppression Level

The switch it is connected to config is below

MH-GB-SWITCH-2#show run

Building configuration...

Current configuration : 7233 bytes

!

version 12.2

no service pad

service tcp-keepalives-in

service tcp-keepalives-out

service timestamps debug datetime msec localtime show-timezone

service timestamps log datetime msec localtime show-timezone

service password-encryption

service sequence-numbers

!

hostname MH-GB-SWITCH-2

!

logging buffered 51200 informational

logging console critical

logging monitor critical

enable secret 5 $1$Ml3U$bFlPKQNfnCKsnsOkPOFGF0

!

username admin privilege 15 password 7 044902100A335F470D1C5559

aaa new-model

aaa authentication login default local

aaa authorization console

aaa authorization exec default local

!

aaa session-id common

clock timezone GMT 0

clock summer-time BST recurring last Sun Mar 1:00 last Sun Oct 2:00

system mtu routing 1500

ip subnet-zero

ip tcp synwait-time 10

no ip domain-lookup

!

!

!

!

port-channel load-balance src-ip

no file verify auto

!

spanning-tree mode rapid-pvst

spanning-tree portfast default

spanning-tree extend system-id

spanning-tree uplinkfast

spanning-tree vlan 1-4094 priority 28672

!

vlan internal allocation policy ascending

!

interface Null0

no ip unreachables

!

interface GigabitEthernet0/1

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/2

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/3

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/4

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/5

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/6

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/7

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/8

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/9

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/10

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/11

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/12

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/13

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/14

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/15

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/16

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/17

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/18

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/19

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/20

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/21

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/22

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/23

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/24

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/25

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/26

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/27

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/28

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/29

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/30

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/31

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/32

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/33

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/34

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/35

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/36

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/37

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/38

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/39

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/40

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/41

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/42

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/43

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/44

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/45

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/46

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/47

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/48

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/49

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/50

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/51

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface GigabitEthernet0/52

switchport mode access

mls qos trust cos

spanning-tree portfast

!

interface Vlan1

ip address 192.168.25.51 255.255.255.0

no ip redirects

!

ip classless

ip http server

ip http authentication local

!

logging trap critical

snmp-server community riverside0. RW

snmp-server packetsize 2048

snmp-server location M

snmp-server contact M

snmp-server chassis-id M

radius-server source-ports 1645-1646

!

control-plane

!

banner motd ^C

/-----------------------------------------------------------\

|          This system is the property of....        |

|-----------------------------------------------------------|

|              WARNING: Authorized access only!             |

| Disconnect immediately if you are not an authorized user! |

\-----------------------------------------------------------/

^C

!

line con 0

exec-timeout 0 0

password 7 0316521D031D32454A0C494B

line vty 0 4

exec-timeout 0 0

password 7 01010F125E19150625491E47

length 0

line vty 5 15

exec-timeout 0 0

password 7 1500021A0138382D2C36656C

!

end

MH-GB-SWITCH-2#

Review Cisco Networking for a $25 gift card