I have following configuration for my home lab -

enter image description here

I have configured 4 VLAN interfaces - 100), 200), 300) and 400). There is one Routing Interface( on switch which is connected to my WiFi DSL Modem so that I can access everything over WiFi also. From the Switch I am able to telnet to all the routers, but my problem is regarding configuration for accessing Server(4 Virtual Machines). I want to access server over remote desktop connection and also want to use server for SPAN, and I want to provide internet access to the server. How should I configure VLAN on my switch and how will be the routing done? Switch - 3550 Routers - 2811.

Thanks. Manish

  • What do you intend for the routers? I don't understand why you have four routers for this since a single router can accomplish what you seem to want to do. A router with only one network attached is pretty useless since routers route between networks.
    – Ron Maupin
    Mar 22, 2016 at 14:29

1 Answer 1

  • Activate ip routing on the 3550 switch (in configuration mode enter the "ip routing" command) .

  • On R1-R4 set the switch as the default gateway (gateway of last resort ip route [ip address of switch interface]).

  • Set the switch as default gateway on the VMs

  • On the switch set the DSL Modem as gateway of last resort commad: ip route [ip address of the dsl modem]

So in conclusion the switch need an ip in the vlan and the routers. If the routers will access other Subnets they go to the switch and the switch will route the packet to the other subnet (in its routing table interfaces will appear as connected).

If I understand it right you want the VMs in different VLANs and have only one physical intherface attached to the server?

--> go to the switch configure the attached port as trunk

I hope it will work (=

  • The 3550 may not be a layer-3 switch, so the ip routing command may not work. The switch should not be used as a default gateway unless it is a layer-3 switch. You shouldn't set a default gateway on a router; that is a rookie mistake; router route, and should use routing protocols. You could set a static default route.
    – Ron Maupin
    Mar 22, 2016 at 14:27
  • @RonMaupin ip routing works on that :)
    – MUSR
    Mar 22, 2016 at 14:31
  • @MUSR, then why do you need the other routers? A layer-3 switch is a router. This whole design makes no sense to do what you want done.
    – Ron Maupin
    Mar 22, 2016 at 14:32
  • I read the documentation of cisco to get the information if it could root bevor I gave my comment
    – Pompi
    Mar 22, 2016 at 14:33
  • @RonMaupin it is a home lab for ccnp collaboration, so i need them :) Routers are not there for routing.
    – MUSR
    Mar 22, 2016 at 14:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.