Vlan routing

Unanswered Question
paul.matthews Wed, 09/26/2007 - 02:28
User Badges:
  • Silver, 250 points or more

Assuming a L3 switch


int vlan 10

desc ISP link

ip add

no shut


int vlan20

des ground floor users

ip add

no shut


int vlan 30

des basement users

ip add

no shut



int fas 0/1

des link to isp

switch mode acce

switch acce vlan 10


int range fas 0/2 - 10

des ground floor users

switch mode acce

switch acce vlan 20


int range fas 0/11 - 20

des basement users

switch mode acce

switch acce vlan 30


ip route 0.0.0.0 0.0.0.0


will create two VLAN routing interfaces for users, allow routing between them, a third interface to the ISP, allow routing there for all unknown traffic. and put ports into those VLANs


Paul.



l.mourits Wed, 09/26/2007 - 02:55
User Badges:
  • Silver, 250 points or more

Or, if you want a L3 interface instead, you may do this:


int fas0/1

no switchport

ip address


That way it really acts as a L3 interface (like a router).


HTH,

Leo

paul.matthews Thu, 09/27/2007 - 00:23
User Badges:
  • Silver, 250 points or more

Defining the interface as an L3 interface, and assigning the IP address locally permits just that one interface in tthat subnet.


The use of an SVI means multiple iports can be in the same VLAN and routed.


Paul.

l.mourits Thu, 09/27/2007 - 00:25
User Badges:
  • Silver, 250 points or more

As mentioned in my first reply ;-)

Actions

This Discussion