cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
463
Views
0
Helpful
2
Replies

How to configure internal VLAN ip routing?

shameer.vali
Level 1
Level 1

How to confiure internal VLAN ip routing?

2 Replies 2

InayathUlla Sharieff
Cisco Employee
Cisco Employee

Hi Shameer,

Please find link below which explains how to configure intervlan routing.

http://www.cisco.com/en/US/products/hw/switches/ps700/products_tech_note09186a008015bf9a.shtml

HTH

Regards

Inayath

Hello

Basic intervlan routing config between core switch and access switch

Core switch:


(enable ip routing)

ip routing

(create switch vlan interfaces (svi) each vlan - lets say vlan 10 & 20)

vlan 10

ip address 10.10.10.254 255.255.255.0

no shut

vlan 20

ip address 20.20.20.254 255.255.255.0

no shut

(create L2 vlan in vtp database)

vtp domain TST

vtp mode server

vlan10,20

exit

create trunk interface for connection to access switch

int gigx/x

switchport trunk encapsulation dot1q

switchport mode trunk

set default route to external network ( if applicable)

ip route 0.0.0.0 0.0.0.0 x.x.x..x

Note:
I haven't included additional features like configuring stp/nat/static or dynamic routing

Access- switch

create trunk interface for connection to core siwtch

int gig x/x

Description link to core switch

switchport trunk encapsulation dot1q

switchport mode trunk

(create switch vlan interfaces (svi) for connection to core switch)

vlan 10

description management vlan

ip address 10.10.10.1 255.255.255.0

no shut

ip default-gateway 10.10.10.254

vtp domain TST

vtp mode client

( vlan database should sync with core switch and obtain vlan information for 10,20)

assigned host port to designated vlans

int fa0/1

switchport host

switchport access vlan 10

no shut

int fa0/2

switchport host

switchport access vlan 20

no shut

res

Paul

Please don't forget to rate any posts that have been helpful.

Thanks.


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul