Cisco 1811, can I make turn the switch ports into routed-only ports?

Answered Question
Feb 12th, 2009
User Badges:

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)


Correct Answer by Edison Ortiz about 8 years 5 months ago

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.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Edison Ortiz Thu, 02/12/2009 - 12:13
User Badges:
  • Super Bronze, 10000 points or more
  • Hall of Fame,

    Founding Member

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.

thomasdzubin Thu, 02/12/2009 - 12:35
User Badges:

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)


Edison Ortiz Thu, 02/12/2009 - 12:39
User Badges:
  • Super Bronze, 10000 points or more
  • Hall of Fame,

    Founding Member

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.

Actions

This Discussion