- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2013 03:55 AM - edited 03-07-2019 12:40 PM
- Labels:
-
LAN Switching
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2013 05:00 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2013 05:06 AM
Sure,
Start by enabling routing, then we'll create the vlan, then the SVI. Lastly we'll put two access ports in different vlans and test a ping.
Conf t
!
Ip routing
!
Vlan 100
!
Vlan 200
!
Interface vlan 100
IP address 100.0.0.1 255.255.255.0
No shut
!
Interface vlan 200
IP address 200.0.0.1 255.255.255.0
No shut
!
Interface fa0/1
Description PC 100
Switchport
Switchport mode access
Switchport access vlan 100
Spanning-tree portfast
No shut
!
Interface fa0/2
Switchport
Switchport mode access
Switchport access vlan 200
Spanning-tree portfast
No shut
So I have enabled ip routing, created my vlans, my SVI's too, and finally I'll plug PCs in to fa0/1 on vlan 100 with a static ip of 100.0.0.2 and a gateway 100.0.0.1
PC that is in fa0/2 on vlan 200 with static ip of 200.0.0.2 and a gateway of 200.0.0.1
To test, from PC1 you can ping the gateway and PC2
PC1
Ping 100.0.0.1
Ping 200.0.0.1
Ping 200.0.0.2
If all is fine then you have accomplished inter vlan routing.
Examples here:
http://www.cisco.com/en/US/tech/tk389/tk815/technologies_configuration_example09186a008015f17a.shtml
Hope this helps
Sent from Cisco Technical Support iPhone App

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2013 04:10 AM
You need to have the following to allow intervlan routing on a layer 3 switch:
- Layer 2 vlans
- SVI's (Vlan interfaces)
- enable 'ip routing'
- Trunk or access port that is active for the vlans so the SVI can change to an 'up up' state
Hope this helps
Please rate useful posts and remember to mark any solved questions as answered. Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2013 04:21 AM
Hi Bilal,
Could you share me some sample configuration.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2013 05:00 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2013 05:06 AM
Sure,
Start by enabling routing, then we'll create the vlan, then the SVI. Lastly we'll put two access ports in different vlans and test a ping.
Conf t
!
Ip routing
!
Vlan 100
!
Vlan 200
!
Interface vlan 100
IP address 100.0.0.1 255.255.255.0
No shut
!
Interface vlan 200
IP address 200.0.0.1 255.255.255.0
No shut
!
Interface fa0/1
Description PC 100
Switchport
Switchport mode access
Switchport access vlan 100
Spanning-tree portfast
No shut
!
Interface fa0/2
Switchport
Switchport mode access
Switchport access vlan 200
Spanning-tree portfast
No shut
So I have enabled ip routing, created my vlans, my SVI's too, and finally I'll plug PCs in to fa0/1 on vlan 100 with a static ip of 100.0.0.2 and a gateway 100.0.0.1
PC that is in fa0/2 on vlan 200 with static ip of 200.0.0.2 and a gateway of 200.0.0.1
To test, from PC1 you can ping the gateway and PC2
PC1
Ping 100.0.0.1
Ping 200.0.0.1
Ping 200.0.0.2
If all is fine then you have accomplished inter vlan routing.
Examples here:
http://www.cisco.com/en/US/tech/tk389/tk815/technologies_configuration_example09186a008015f17a.shtml
Hope this helps
Sent from Cisco Technical Support iPhone App
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2013 08:21 AM
good
I did that but the vlan configuration has no internet haceso
as I can give internet haceso the vlans
http://www.cisco.com/en/US/tech/tk389/tk815/technologies_configuration_example09186a008019e74e.shtml
