09-10-2013 04:44 AM - edited 03-07-2019 03:23 PM
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?
Solved! Go to Solution.
09-10-2013 10:07 PM
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
09-10-2013 06:39 AM
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.
09-10-2013 09:33 PM
Can you please explain the 3 point, because I already tryied 2-3 things?????
09-10-2013 10:07 PM
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
09-10-2013 11:32 PM
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.
09-11-2013 01:28 AM
Thanks buddy, It is done...
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: