Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

vlan or subnet or both

  • 18-08-2010 01:59PM
    #1
    Registered Users, Registered Users 2 Posts: 1,054 ✭✭✭


    hi new to this but here goes,

    i have a idea to build an network for learning purposes

    i have a 24 port cisco switch and a cisco router

    i want to put a vlan 3 i think on the switch, i have subnet the network into a /26

    but my dhcp server is dishing out ips do i put scopes in there for the separate sub nets?

    i am totally confused

    basically i wanna plug in 3 physical machines into the switch and be on separate vlans and able to ping each other:rolleyes:


    any help would be great


Comments

  • Registered Users, Registered Users 2 Posts: 1,562 ✭✭✭Snaga


    So you have 3 ports on the switch configured as access ports in the 3 separate VLANs. Then you should have the router plugged into a port on the switch configured as a trunk port allowing the three VLANs. (If the switch is an older one you may need to tell it to use dot1q trunking instead of ISL n the trunk port).

    On the router interface connected to the switch you should have 3 sub interfaces configured with the appropriate VLANs (dot1q encapsulation) with an IP address in each respective IP subnet.

    Is your DHCP server then running on the cisco router?

    If so - configure a DHCP pool for each IP subnet and set the appropriate gateway address in each one (to the appropriate sub interface IP mentioned above).

    Then you should enter in DHCP exclusions for each of the IP addresses on the router sub interfaces.

    Ive deliberately not posted any config as you say this is a learning exercise, post back if you get stuck though and I can elaborate on any piece that is causing you problems.


  • Registered Users, Registered Users 2 Posts: 1,054 ✭✭✭Prefect_1998


    active directory is dishing out the dhcp, can it be set for a certain network card mac address get a ip from a server server?


    oh and thanks for the help


  • Registered Users, Registered Users 2 Posts: 1,629 ✭✭✭NullZer0




Advertisement