07-02-2013 02:29 AM - edited 03-04-2019 08:21 PM
Hello my fellow network specialists an experts
I need your help
I have tried to configure inter VLAN routing on Cisco 881, but I failed.
Vlans were connected via trunk port which is connected with a switch.
Configuring Vlan interfaces doesn't work, because they are in down state as no cables are directly connected to the router.
Then I tried to configure sub interfaces on a trunk port, but there is no such option in command line.
In final, I made a conclusion that this router model does not support inter vlan routing with trunk port.
Am I right? Or there are other ways to accomplish it?
Thank you in advance.
07-02-2013 03:39 AM
Yes it can, create the vlan and when it comes up it will route.
07-02-2013 08:47 AM
It would look something like this:
SWITCH:
interface F1/0/1
switchport mode trunk
VLAN1
VLAN2
etc.
ROUTER:
interface F0/0.1
encapsulation dot1q 1
ip address 10.0.0.1 255.255.255.0
interface F0/0.2
encapsulation dot1q 2
ip address 10.0.2.1 255.255.255.0
07-03-2013 05:23 AM
mfurnival wrote:
It would look something like this:
SWITCH:
interface F1/0/1
switchport mode trunk
VLAN1
VLAN2
etc.
ROUTER:
interface F0/0.1
encapsulation dot1q 1
ip address 10.0.0.1 255.255.255.0
interface F0/0.2
encapsulation dot1q 2
ip address 10.0.2.1 255.255.255.0
This assumes the router uses a Layer 3 interface for connecting the switch. But if it connects using a switch port, the only vlan interfaces ae configred, not subinterfaces.
07-03-2013 10:17 PM
Thank you guys for your answers!
I found the solution:
In the configuration of VLAN interface it is required to add
no autostate
This will enable VLAN interface even if there are no ports in it, and you can ping it.
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