Content

| 4.2 |  | Configuring Inter-VLAN Routing |
| 4.2.3 |  | Configuring inter-VLAN routing via the routed port |

Although it is more common to configure Inter-VLAN routing using the virtual (VLAN) interface, it is also possible to configure a physical switch port/interface as a router interface. Through this process, it is possible to turn a 12 or 24 port Ethernet switch into a 12 or 24 interface Ethernet router.

To turn a switch-port into a router interface, it is simply a matter of turning off the switch-port functionality.

> Switch(config)#interface fa 0/1
> Switch(config-if)#no switchport

Once the Layer 2 functionality has been turned off, the interface can be treated as though it were a regular Fast Ethernet router interface. For example an IP address can be specified.

> Switch(config-if)#ip address 10.0.1.1 255.255.255.0

The switch port or interface can now be used as a physical router port for connection to external devices.