vlan and trunk

Home Forums Networking General Networking vlan and trunk

This topic contains 3 replies, has 4 voices, and was last updated by Avatar runrig 8 years, 2 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • Avatar
    dav9
    Member
    #155273

    hi all

    i have some questions about configuring vlan.

    i have an existing environment. no vlan is set.

    can i configure vlan for a special purpose,
    while the main network still work without vlan config for it?
    then can i route between those two networks?

    also
    if i have i 2 switches with 2 vlan config on them
    can i use only one cable to connect those 2 swithces?
    or should i have a cable per vlan?
    (i am not intend to use a backbone config)

    my confusion is,
    in each switch there should be a trunk setting
    but those this setting, which is configure on the port
    should be also connected? using a cable?

    if so, then i am confused
    since, if i need to use a different cables,
    then it not so far from using a different segments

    thanks

    Avatar
    kevinguerreiro
    Participant
    #350510

    Re: vlan and trunk

    Hmm i dont understand much of vlan, but i think you probably should give more details of your network, topology, what equipment you have…etc…etc…

    Regards
    Kevin

    Avatar
    TexasTaz
    Member
    #381942

    Re: vlan and trunk

    If your equipment as you said support vlan you can use them without any problems.

    Quote:
    can i configure vlan for a special purpose,
    while the main network still work without vlan config for it?
    then can i route between those two networks?

    Yes you can, the only problem is each vlan as to be in a separate subnet. It means for example all the equipment in Vlan 10 as to be in the subnet 192.168.1.0/24 and the Vlan 20 in 192.168.2.0/24
    To route between this 2 vlans you need a router and to configure it as a “router on a stick” or your switch need to be a layer 3 switch.

    Quote:
    also
    if i have i 2 switches with 2 vlan config on them
    can i use only one cable to connect those 2 switches?
    or should i have a cable per vlan?
    (i am not intend to use a backbone config)

    Yes and that the reason you define a trunk port. The ports how join the 2 switches has to been configure as a trunk ports and the others one in access in the Vlan A or B as your needs.

    Good Luck ;)

    Avatar
    runrig
    Member
    #382593

    Re: vlan and trunk

    since you are saying “trunk” and not “tagged vlans” i take it you have a cisco switch.

    actually vlans operating on the layer 2 (datalink) side of the osi model. each vlan could have the same network range, but as xavierds said. if you want the vlans to talk to eachother then you will need a router and the vlans will need different ip network ranges.

    since its a flat network with no vlan structure, by default, you are in vlan 1

    let us know if you need an example of how one looks…

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.