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

VLAN's and IP's

JackDanial23
Level 1
Level 1

Hi Gurus,

 

Below are the three VLAN's I have created on my First Switch for the first time ion my lift after watching couple of videos.I am connected to the switch using a serial to usb cable via console.

 

sw1#show vlan

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa0/17, Fa0/18, Fa0/19, Fa0/20
                                                Fa0/21, Fa0/22, Fa0/23, Fa0/24
101  lab1                             active    Fa0/1, Fa0/2, Fa0/3, Fa0/4
                                                Fa0/5
102  lab2                             active    Fa0/6, Fa0/7, Fa0/8, Fa0/9
                                                Fa0/10
103  lab3                             active    Fa0/11, Fa0/12, Fa0/13, Fa0/14
                                                Fa0/15

1001 VLAN1001                         active   
1002 fddi-default                     act/unsup
1003 token-ring-default               act/unsup
1004 fddinet-default                  act/unsup
1005 trnet-default                    act/unsup

VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1    enet  100001     1500  -      -      -        -    -        0      0  
101  enet  100101     1500  -      -      -        -    -        0      0  
102  enet  100102     1500  -      -      -        -    -        0      0  
103  enet  100103     1500  -      -      -        -    -        0      0  
         
VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1001 enet  101001     1500  -      -      -        -    -        0      0  
1002 fddi  101002     1500  -      -      -        -    -        0      0  
1003 tr    101003     1500  -      -      -        -    -        0      0  
1004 fdnet 101004     1500  -      -      -        ieee -        0      0  
1005 trnet 101005     1500  -      -      -        ibm  -        0      0  

Remote SPAN VLANs
------------------------------------------------------------------------------


Primary Secondary Type              Ports
------- --------- ----------------- ------------------------------------------

 

OS Version and type of Switch(L2)

 

sw1#show version
Cisco Internetwork Operating System Software
IOS (tm) C2950 Software (C2950-I6K2L2Q4-M), Version 12.1(22)EA14, RELEASE SOFTWARE (fc1)

 

IP address assigned;;

 

interface Vlan1
 no ip address
 no ip route-cache
 shutdown
!
interface Vlan101
 ip address 10.0.1.1 255.255.255.0

 no ip route-cache
!
interface Vlan102
 ip address 11.0.10.10 255.255.255.0

 no ip route-cache
 shutdown
!
interface Vlan103
 ip address 15.0.10.10 255.255.255.0

 no ip route-cache
 shutdown

 

IP address on my computer;

Wireless LAN adapter Wireless Network Connection:

   Connection-specific DNS Suffix  . : Home
   Pv4 Address. . . . . . . . . . . : 192.168.0.12
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.0.1

 

Now I cannot ping any of the IP's assigned to the VLAN's. What to do with the VLAN's I've created [stupid and dumb question]. I want to play around the switch and connect it to a Cisco router(I have 5 routers and 5 switches, all different) and create my own lab.

 

please advise.

5 Replies 5

Richard Burts
Hall of Fame
Hall of Fame

The most important part of this issue is that you are using a layer 2 switch and have created multiple vlans. To route between vlans you need a layer 3 device (could be a router or could be a layer 3 switch).

 

The other part of the issue is that you have created 3 vlans and associated addresses with them. Your PC is in a different subnet so logically it should be in a fourth vlan. And you need a layer 3 device to route between your PC and the switch subnets/vlans.

 

HTH

 

Rick

HTH

Rick

you are using L2 switch so the best way that you can ping between different vlans is "router on a stick".

you can change the ip address on your pc for example to 10.0.1.2 255.255.255.0 and 10.0.1.1 as default gateway to establish connectivity to vlan 101. It seems that you set ip address on your wireless card, you must set it on your ethernet card. 

thanks everyone... I have the below sets of switches and routers at disposal...

2651XM; 2621XM; 2620XM; 2691; 1670; 2950-12/24/48

could you please advise of a lab for my CCNA

 

you can use below lab which is covering almost whole ccna exam concepts. 

but establishing frame-relay in home lab requires more knowledge on networking, i recommend that you use GNS3-ER which now supports switch emulation too for frame-relay concepts.

However as far as i know, packet tracer is almost enough for ccna exam.

 

 

 

I do not know what GNS3-ER is. After google found some linki for GNS 3 and downloaded  GNS3 0.8.7.

 

Explored it and could not find the lab you have mentioned. I m a novice in networking and know only few basic commands

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card