Inter Vlan issue

Answered Question
Sep 10th, 2013
User Badges:

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?

Correct Answer by Rasika Nayanajith about 3 years 11 months ago

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 3.5 (2 ratings)
Loading.
cadet alain Tue, 09/10/2013 - 06:39
User Badges:
  • Purple, 4500 points or more

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.

csco11538388 Tue, 09/10/2013 - 21:33
User Badges:

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

Correct Answer
Rasika Nayanajith Tue, 09/10/2013 - 22:07
User Badges:
  • Purple, 4500 points or more
  • Cisco Designated VIP,

    2017 Wireless

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

cadet alain Tue, 09/10/2013 - 23:32
User Badges:
  • Purple, 4500 points or more

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.

Actions

This Discussion