LAN Routing
cancel
Showing results for 
Search instead for 
Did you mean: 

Routing Inter-vlan

aurelien78
Occasional Visitor

Routing Inter-vlan

Hi 

 

 

 

I'am french and i'am so sorry for my english :womanindifferent:

 

Here, my probleme :

 

I have a 2910al Switch with Two Vlan :   VLAN 10 and VLAN 20

I need vlan 10 speak with  Vlan 20

 

 

Here VLAN 10

 

 

vlan 10
   name "DESIGN"
   untagged 1-20
   ip address 172.20.20.30 255.255.255.0
   no untagged 21-22
   exit

 

Here VLAN 20

 

 

vlan 20

   name "Eau"

   ip address 172.18.10.245 255.255.255.0

   exit

 

 

Lets see ip route

 

For information : 172.20.20.10 it's my Internet Accees.

 

 

Destination        Gateway         VLAN Type      Sub-Type   Metric     Dist.

  ------------------ --------------- ---- --------- ---------- ---------- -----

    127.0.0.0/8        reject               static               0          0

  127.0.0.1/32       lo0                  connected            1          0

  172.18.10.0/24     Eau         20 connected            1          0

  172.20.20.0/24     10    1    connected            1          0

 

 

So my Computer have this ip address : 172.18.10.100 with gateway 172.18.10.245 ( IP address of Vlan )

 

How i route the IP address of VLAN 20 on the vlan 10 ?

 

If i active IP ROUTING all Vlan of my switch speak so i need to add 1 route on the switch but what the route ?

 

I don"'t want to put ON ip routing.

 

Thanks in advance

 

 

 

1 REPLY
jztc81
Occasional Visitor

Re: Routing Inter-vlan

You do not say how many VLANS are on the switch ?

However you can activate IP routing (RIP) on the switch for VLAN 10 and 20 only by ensuring that the other VLAN interfaces do not have IP addresses assigned.

vlan 10
   name "DESIGN"
   untagged 1-20
   ip address 172.20.20.30 255.255.255.0
   no untagged 21-22
   exit

vlan 20

   name "Eau"

   ip address 172.18.10.245 255.255.255.0

   exit

vlan ABC

   name "noipvlan"

      exit

 

This would then permit all devices on VLAN 10 and 20 to be able to communicate, if you want to restrict it to certain devices and  protocols then you will need to apply Access Control Lists (ACL's) to the VLAN interfaces.