# basic inter-vlan routing

**URL:** <https://forums.developer.nvidia.com/t/basic-inter-vlan-routing/207872>\
**Category:** Ethernet Switches\
**Created:** [July 20, 2015, 10:53pm UTC](https://forums.developer.nvidia.com/t/basic-inter-vlan-routing/207872 "2015-07-20T22:53:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ali36](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@ali36](https://forums.developer.nvidia.com/u/ali36)\
**Post date:** [July 20, 2015, 10:53pm UTC](https://forums.developer.nvidia.com/t/basic-inter-vlan-routing/207872/1 "2015-07-20T22:53:56Z")

</div>

Imagine this setup on an SX1024.

Vlan 1 : 10.0.1.0/24

Vlan 2 : 10.0.2.0/24

Vlan 3 : 10.0.3.0/24

I need to setup inter-vlan routing so that I can route between vlan 1,3 as well as 2,3 but not 1,2.

I’d also like to be able to route vlan 3 and 1 to internet using a router connected to the switch.

What’s the simplest way to implement this routing scenario?

---

<div class="post-metadata">

**Author:** ![stevenp1](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@stevenp1](https://forums.developer.nvidia.com/u/stevenp1)\
**Post date:** [September 28, 2015, 7:48pm UTC](https://forums.developer.nvidia.com/t/basic-inter-vlan-routing/207872/2 "2015-09-28T19:48:34Z")

</div>

Hi I think you will need to create ACL’s and apply the ACL’s to the subinterfaces
