03-11-2013 04:49 AM - edited 03-07-2019 12:10 PM
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
03-11-2013 04:59 AM
Is 3550-12T connected to 3560G?
when you say "my pc plugged in with a static ip of 192.168.30.50"
so, is your pc onnected to the 3560G or 3550-12T?
from the router I can ping any device on 192.168.25.x
What device is the router?
Is that a separate device or one of the switches?
Perhaps, you can post simple diagram on how everything is connected together including your PC to help us help you.
HTH
03-11-2013 05:05 AM
03-11-2013 05:13 AM
So, both vlans are on the same switch right?
Do you have both SVIs for vlan 1 and 2
try these and post the output:
sh run int vlan 1
and
sh run int vlan 2
then see if the interfcese are in up and up mode
try these and post the output:
sh ip int bri vlan 1
and
sh ip int bri vlan 2
also
sh vlan
03-11-2013 05:22 AM
here it is,
interface Vlan2
ip address 192.168.30.1 255.255.255.0
end
Switch#show ip int bri vlan 1
Interface IP-Address OK? Method Status Prot
ocol
Vlan1 192.168.25.250 YES manual up up
Switch#
Switch#show ip int bri vlan 2
Interface IP-Address OK? Method Status Prot
ocol
Vlan2 192.168.30.1 YES manual up up
Switch#
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Gi0/1, Gi0/2, Gi0/3, Gi0/4
Gi0/5, Gi0/6, Gi0/7, Gi0/8
Gi0/10, Gi0/11, Gi0/12
2 2 active Gi0/9
3 VLAN0003 active
10 VLAN0010 active
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 1002 1003
2 enet 10000 1500 - - - - - 0 0
3 enet 100003 1500 - - - - - 0 0
10 enet 100010 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 1 1003
1003 tr 101003 1500 1005 0 - - srb 1 1002
1004 fdnet 101004 1500 - - 1 ibm - 0 0
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1005 trnet 101005 1500 - - 1 ibm - 0 0
Switch#
03-11-2013 06:16 AM
ok,
what is the IOS image you are running?
can you post sh ver
Does the PC have the correct default gateway (192.168.30.1)?
03-11-2013 06:23 AM
I did not have a gateway set.
This is set now.
So I can ping vlan2, I can not from my pc get out to vlan1
sh ver
Cisco Internetwork Operating System Software
IOS (tm) C3550 Software (C3550-I5Q3L2-M), Version 12.1(4)EA1d, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2001 by cisco Systems, Inc.
Compiled Fri 17-Aug-01 12:58 by antonino
Image text-base: 0x00003000, data-base: 0x005F2C0C
ROM: Bootstrap program is C3550 boot loader
Switch uptime is 1 hour, 12 minutes
System returned to ROM by power-on
System image file is "flash:c3550-i5q3l2-mz.121-4.EA1d/c3550-i5q3l2-mz.121-4.EA1d.bin"
cisco WS-C3550-12T (PowerPC) processor (revision 04) with 65526K/8192K bytes of memory.
Processor board ID FAA0538S040
Last reset from warm-reset
Bridging software.
Running Layer2/3 Switching Image
Ethernet-controller 1 has 1 Gigabit Ethernet/IEEE 802.3 interfaces
--More-- Ethernet-controller 2 has 1 Gigabit Ethernet/IEEE 802.3 interfaces
Ethernet-controller 3 has 1 Gigabit Ethernet/IEEE 802.3 interfaces
Ethernet-controller 4 has 1 Gigabit Ethernet/IEEE 802.3 interfaces
Ethernet-controller 5 has 1 Gigabit Ethernet/IEEE 802.3 interfaces
Ethernet-controller 6 has 1 Gigabit Ethernet/IEEE 802.3 interfaces
Ethernet-controller 7 has 1 Gigabit Ethernet/IEEE 802.3 interfaces
Ethernet-controller 8 has 1 Gigabit Ethernet/IEEE 802.3 interfaces
Ethernet-controller 9 has 1 Gigabit Ethernet/IEEE 802.3 interfaces
Ethernet-controller 10 has 1 Gigabit Ethernet/IEEE 802.3 interfaces
Ethernet-controller 11 has 1 Gigabit Ethernet/IEEE 802.3 interfaces
Ethernet-controller 12 has 1 Gigabit Ethernet/IEEE 802.3 interfaces
12 Gigabit Ethernet/IEEE 802.3 interface(s)
--More--
32K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address: 00:05:DD:C3:70:80
Motherboard assembly number: 73-5527-09
Power supply part number: 34-0967-01
Motherboard serial number: FAA0537HHZS
Power supply serial number: LIT050900Q6
Model revision number: 04
Model number: WS-C3550-12T
System serial number: FAA0538S040
Configuration register is 0x10F
Switch#show run
Building configuration...
Current configuration : 1251 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
!
ip classless
ip http server
!
!
line con 0
transport input none
line vty 5 15
03-11-2013 06:38 AM
Can you logon to the switch and try to
ping 192.168.30.1
and also
ping 192.168.25.250
if good try to ping the PC (30.50)
03-11-2013 06:42 AM
I can ping the ip's on the router
I cannot ping the PC
I can ping anything on the 192.168.25.x network from the router.
Regards
03-11-2013 06:48 AM
does the PC have any firewall software installed on it that maybe blocking ping?
03-11-2013 06:53 AM
It does.
But if we step back from that.
From the PC I can ping the switch on 192.168.30.1
From the PC I cannot ping 192.168.25.250
If I disconnect the Ethernet, and use my wi-fi , I can ping 192.168.25.250 , I then cannot ping 192.168.30.1
03-11-2013 06:59 AM
So try this
disable the wireless on the PC and then try to ping 25.250 using the Ethernet port
03-11-2013 07:01 AM
Try this
disable the wireless on the PC temporary and then try to ping 25.250 using the Ethernet port only.
03-11-2013 07:04 AM
Dest Host un-reachable.
03-11-2013 10:10 AM
I made more progress I have added onto the switch as follows
router rip
network 192.168.0.0
So from my PC I can now ping the 192.168.25.250
My next challenge is to see anything on 192.168.25.x
I'm going to guess I need to add to the connecting switch a path back somehow
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