Announcement

Collapse
No announcement yet.

Vlans between routers

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Vlans between routers

    I have the following configuration in a lab environment:

    SWITCH A (vlan 2, vlan 3)
    |
    |
    RouterA (10.0.0.2 (wan), 192.168.0.1 (lan))
    |
    |
    RouterB (10.0.0.1 (wan), 192.168.1.1 (lan))
    |
    |
    SWITCH B (vlan 3)

    SWitch A and B are layer 3 switches.
    How do I get users on vlan 3 on switch B to talk to users on vlan 2 and vlan3 on switch A?
    1) Is trunking needed at all ? If so, where ?
    2) Do I need to assign ip addresses to each vlan interface?

  • #2
    Re: Vlans between routers

    You need to use trunking - decide on a dedicated port. In the past I have done the following:

    Switch A: trunk port 24
    Switch B: trunk port 24
    Router A: Fa03
    Router B: Fa03

    Create VLANs on the routers and tag the trunk ports. Each VLAN will need an IP address, for example, ON ROUTER B, VLAN 3 would be 10.10.3.1 with the devices within a range of 10.10.3.2 - 10.10.3.x.

    Hope this helps somewhat. I would google VLAN tagging and inter-switch trunking. Plus, if you gave more details on model of router someone could advise whether you could just configure sub-interfaces.

    Comment


    • #3
      Re: Vlans between routers

      You probably need to create 2 sub interfaces on the router lan ports connected to the trunk port of the switches. But we need more info for a better answer. Gert
      gerth

      MCITP sa, ea & va, [email protected]

      Comment


      • #4
        Re: Vlans between routers

        Originally posted by anarine View Post
        I have the following configuration in a lab environment:

        SWITCH A (vlan 2, vlan 3)
        |
        |
        RouterA (10.0.0.2 (wan), 192.168.0.1 (lan))
        |
        |
        RouterB (10.0.0.1 (wan), 192.168.1.1 (lan))
        |
        |
        SWITCH B (vlan 3)

        SWitch A and B are layer 3 switches.
        How do I get users on vlan 3 on switch B to talk to users on vlan 2 and vlan3 on switch A?
        1) Is trunking needed at all ? If so, where ?
        2) Do I need to assign ip addresses to each vlan interface?
        It would be helpfull to have the configs, and also the models? Once i see this, can point you in the right direction
        Shadow2k - MCP, MCSA, MCSA:Security, MCSE, MCSE:Security, MCTSx8, MCITP:SA, MCITP:EA, MCITP:EDA, MCITP:VA, MCITP:EDST

        Comment

        Working...
        X