05-16-2007 08:05 AM - edited 03-05-2019 04:07 PM
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.
05-21-2007 06:00 AM
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
05-21-2007 06:12 AM
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
05-21-2007 06:16 AM
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
05-21-2007 10:51 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide