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

Inter Vlan issue

csco11538388
Level 1
Level 1

Hello Everyone,

I have 3750 switch for testing and I dont know how to do Inter switching between vlans. I want to do inter switch with one switch only.

for the same I created four vlan 1-6,7-12,13-18-19-24, and I ahve been created four routing for each vlan port no. 6,12,18,24. No what I have to do?

switch 3750 is not accepting f 0/0.1 sub command. 

Please any one can help me to do practic with one switch only and how many option I can use?

1 Accepted Solution

Accepted Solutions

Hi Ifran,

First make sure your IOS image is support L3 features like routing. "show version" should tells you what image in the switch.

As alain said, if you configure "ip routing" & switch accept that command that mean you are good to go. As per my understanding you have created four vlans (6,12,18,24) & assigned those vlan number to the switchport1-6,7-12,13-18,19-24.

You cannot create sub intefaces in switch platforms & equivlant thing in switches called SVI (switch virtual interface). Using interface vlan x command you can create SVI (see below)

interface Vlan6

ip address 192.168.6.1 255.255.255.0

interface Vlan12

ip address 192.168.12.1 255.255.255.0

interface Vlan18

ip address 192.168.18.1 255.255.255.0

interface Vlan24

ip address 192.168.24.1 255.255.255.0

Then you should have inter-vlan routing. If you put devices in different vlan & configure IP adderess/Mask  & gateway (respective SVI address)

HTH

Rasika

View solution in original post

5 Replies 5

cadet alain
VIP Alumni
VIP Alumni

Hi,

1) enable ip routing: 

   conf t

ip routing

2) create the vlan interfaces and assign them an IP in the correct subnet:

  int vlan 2

   ip addresss xxxxx

int vlan 3

ip address xxxx

3) put the corresponding ip address of the corresponding vlan interface as default gateqay for hosts in this subnet.

Regards

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.

Can you please explain the 3 point, because I already tryied 2-3 things?????

Hi Ifran,

First make sure your IOS image is support L3 features like routing. "show version" should tells you what image in the switch.

As alain said, if you configure "ip routing" & switch accept that command that mean you are good to go. As per my understanding you have created four vlans (6,12,18,24) & assigned those vlan number to the switchport1-6,7-12,13-18,19-24.

You cannot create sub intefaces in switch platforms & equivlant thing in switches called SVI (switch virtual interface). Using interface vlan x command you can create SVI (see below)

interface Vlan6

ip address 192.168.6.1 255.255.255.0

interface Vlan12

ip address 192.168.12.1 255.255.255.0

interface Vlan18

ip address 192.168.18.1 255.255.255.0

interface Vlan24

ip address 192.168.24.1 255.255.255.0

Then you should have inter-vlan routing. If you put devices in different vlan & configure IP adderess/Mask  & gateway (respective SVI address)

HTH

Rasika

Hi,

post following outputs:

-sh ip int br | i Vlan

-sh vlan brief

-sh ip route

-sh version | i IOS

Regards.

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.

Thanks buddy, It is done...

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