02-12-2009 12:00 PM - edited 03-06-2019 04:00 AM
I have a Cisco 1811 router (two routed-"WAN" ports FE0 & FE1 and eight switch "LAN" ports FE2-FE9)
Is there any way to change the eight switch ports into routed-only ports where I assign an IP to each interface and each interface is on a different VLAN? (so they don't see each other's layer-2 traffic)
Solved! Go to Solution.
02-12-2009 12:13 PM
Those are Layer2 switchports but you can create SVIs (Switch Virtual Interfaces) for each independent switchport, for instance:
vlan 2
int f1/2
sw ac vl 2
interface vlan 2
ip add 2.2.2.2 255.255.255.0
vlan 3
int f1/3
sw ac vl 3
interface vlan 3
ip add 3.3.3.3 255.255.255.0
HTH,
__
Edison.
02-12-2009 12:13 PM
Those are Layer2 switchports but you can create SVIs (Switch Virtual Interfaces) for each independent switchport, for instance:
vlan 2
int f1/2
sw ac vl 2
interface vlan 2
ip add 2.2.2.2 255.255.255.0
vlan 3
int f1/3
sw ac vl 3
interface vlan 3
ip add 3.3.3.3 255.255.255.0
HTH,
__
Edison.
02-12-2009 12:35 PM
Thanks! A quick followup question... is there any way to have the vlan "up" even if the interfaces that make up the vlan are down? (eg: in your example, I want to be able to PING 2.2.2.2, even though nothing is plugged into int f1/2)
(I like to have my router PINGable even if the workstations plugged into all the ports are turned off)
02-12-2009 12:38 PM
Nevermind... I figured it out:
int vlan2
no autostate
02-12-2009 12:39 PM
I'm afraid there isn't unless you allocate one of those switchports as a trunk connection to another switch and forward that Vlan in the trunk.
For instance;
interface fx/x
switchport mode trunk
The if you issue the show trunk or show interface trunk, you will see all Vlans in forwarding state by default.
__
Edison.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: