VLAN Routing

5 pts.
Tags:
Cisco
Cisco 3560
Cisco switch configuration
Cisco VLAN
InterVLAN
Switch configuration
Switches
VLAN
VLAN Routing
We have created two VLANs on single Cisco C3560 switch and now want to have inter-VLAN routing. Please explain how to enable it. Please note, we have only one L3 switch, with 10 computers on one VLAN and 10 on other VLAN.

Answer Wiki

Thanks. We'll let you know when a new response is added.

On the L3 switch, in ‘config’ mode, first turn on routing (if it is not already on) with the

<b>ip routing</b>

command.

Then create an interface in each vlan, and give it an IP address.

<b>interface vlan 2
ip address 192.168.2.1 255.255.255.0
interface vlan 3
ip address 192.168.3.1 255.255.255.0</b>

Replace the VLAN numbers, and IP addresses above, with values relevent to your network. Then, if these are the default gateway addresses for each VLAN, they will route traffic between the VLANs.

You can do a lot of the same commands as you get on a router, on the layer 3 switch, such as access control (ACL), or a static route for the Internet, but the basic routing is as shown. If you need more assistance, please ask.

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Bhupendra
    If from the above solution, your VLAN is not working then configure any dynamic routing protocal like RIP,EIGRP or any. Best & easy to configure RIP v1/v2. You have to configure dynamic routing between VLANs only, means suppose you have 4 VLANs in your network then advertise your all 4 VLAN subnet addresses. Then your Inter-VLAN routing will work perfectly. If suppose it is not working then you can contact me on my mobile no. Thanks & Regards, Bhupendra Singh +91 9650234666
    205 pointsBadges:
    report
  • BlankReg
    There is absolutely no need for any routing protocol. The VLANs are on the same switch - see the original question - so both are connected interfaces, and will route between the two networks with no additional configuration.
    12,325 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following