2

I have following configuration for my home lab -

enter image description here

I have configured 4 VLAN interfaces - 10.10.10.10(R1-Vlan 100), 20.20.20.20(R2-Vlan 200), 30.30.30.30(R3-Vlan 300) and 40.40.40.40(R4-Vlan 400). There is one Routing Interface(192.168.1.10) 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

1
  • 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

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 0.0.0.0 0.0.0.0 [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 0.0.0.0 0.0.0.0 [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 (=

14
  • 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, privacy policy and cookie policy

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