Question : Problem: How to configure a management vlan on a 2851 router

Hello
I need to configure a management vlan on 2 2851 ISR's but have never done this on routers before.
What i've done is : Create vlan 91 on both routers (to use as management vlan)
vlan 91
name Management

Configure a subinterface as a trunk like so:
router1:
int G0/0.91
encapsulation dot1q 91
ip address 10.3.30.200 255.255.255.0
no shutdown

Then
int fa0/1/0
switchport mode access
switchport access vlan 91
description Management Vlan
Then connected PC to fa0/1/0(cross-over cable) with address ip address 10.3.30.202 255.255.255.0 and gateway ip address 10.3.30.200

router2:
int G0/0.91
encapsulation dot1q 91
ip address 10.3.30.201 255.255.255.0
no shutdown

Then (again router2)
int fa0/1/0
switchport mode access
switchport access vlan 91
description Management Vlan
Then connected PC to fa0/1/0(cross-over cable) with address ip address 10.3.30.203 255.255.255.0 and gateway ip address 10.3.30.201

Now a show ip int brief tells me that all is up/up
I can ping from router to router but am unable to ping either gateways from the pc's
In other words PC2 on router 2 cannot ping it's own gateway neither can pc1 ping it's own gateway.
Normally i would use a switch in between the router and pc, create a trunk between the 2 then an access port for the pc(pointing to it's gateway) but now since there is no switch in between and the router is suppose to perform both i'm a little lost (or maybe totally) on what to do in order to make this work.
Is there any chance someone can point me in the right direction on how to do this.?

Thanks for any and all help




Answer : Problem: How to configure a management vlan on a 2851 router

this is not quite right.

It is rather a-typical to have a management vlan span routers. This is normally something done on switches; routers are not meant to work this way. You have created a VLAN that passes over a trunk between the two routers but you have no SVI to allow host in VLAN 91 to talk to the routers. You should remove the subinterfaces from the trunk and instead create SVIs on each of the routers to connect hosts.

Router 1

no int G0/0.91

int vlan 91
ip address 10.3.30.200 255.255.255.0
no shutdown

Router 2

no int G0/0.91

int vlan 91
ip address 10.3.40.200 255.255.255.0
no shutdown

Change host to new subnet


Random Solutions  
 
programming4us programming4us