cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1126
Views
0
Helpful
18
Replies

inter-vlan routing

yoyo_the_king
Level 1
Level 1

hi

i have a switch 4500 interconected to 2 switch and i configure vlan and vtp on switchs.

i want to configure inter-vlan routing without router(just with catalyst 4500)

but i dont know what port can i configure and how.

can you help please.

18 Replies 18

zeu7
Level 1
Level 1

On your 4500 switch

1. create the 2 vlans, e.g.

#vlan 10

#name Admin

#vlan 11

#name Exec

2. create virtual interfaces, e.g.

#interface vlan10

#ip address 10.1.10.0 255.255.255.0

#interface vlan11

#ip address 10.1.11.0 255.255.255.0

These IP addresses will be your gateways for each vlan you create

3. go to the ports that connect to your other switches and establish trunking

#interface gi 0/1

#switchport trunk encap dot1q

#switchport mode trunk

#switchport trunk allowed vlan 1,10,11

4. Confirm that IP Routing is running on your 4500 switch, if not run the command

#ip routing

On the other switches, establish trunking on the port that connects to the 4500. Can use a similar configure as about Step 3

On the ports on the other switches that client machines are connected to, configure them something like:

#interface gi 0/1

#switchport access vlan 11

Thats the most basic config that should get it up and running

hi,

thankyou for your help,

with this config it's work fine.

but a problem is the client machine is not in one switchport all time, that why i can't do switchport access vlan 11 for exemple for inter gi 0/1.

is there another way plz

If its a client that needs to be in multiple vlans, the configure the port that it connects to as a trunk port and trunk all the vlans it needs to connect to

The only way I know to accomplish this is the method mentioned above...802.1x authentication, where you would have to authenticate and depending on a users login credentials a certain VLAN would be dynamically applied.

http://www.cisco.com/univercd/cc/td/doc/product/lan/c3550/12114ea1/3550scg/sw8021x.htm

Review Cisco Networking products for a $25 gift card