+ Post New Thread
Results 1 to 14 of 14
Wireless Networks Thread, Yet another VLAN request for help! in Technical; I'm looking at VLAN-ing our network in the near future, so spending a bit of time getting my head around ...
  1. #1

    Join Date
    Feb 2008
    Location
    Wiltshire
    Posts
    882
    Thank Post
    274
    Thanked 139 Times in 112 Posts
    Blog Entries
    27
    Rep Power
    42

    Yet another VLAN request for help!

    I'm looking at VLAN-ing our network in the near future, so spending a bit of time getting my head around things and working out the best step forward. Advice on here has been great in understanding stuff, however....

    I'm playing with a test network using a HP Procurve 2610 Switch, a couple of spare laptops and an old machine running Windows 2008R2. The main core switch is a HP Procurve 5406zl which I'm not going to play with just yet, I'm giving myself a bit of a primer first before I start bashing away at that!

    First step I thought would be to see if I can create a few port based vlans on the switch and get the DHCP Relay working, then move on from there.

    Can't for the life of me get it working. I've got four VLANS in total on the switch, DEFAULT (1) ,5 , 10 and 20. I've got the server in VLAN-5 on 192.168.0.10, and setup three scopes in DHCP for 192.168.0.x, 192.168.10.x and 192.168.20.x for now. Nothing sitting in the Default (1) presently.

    Config is as follows:

    Code:
    Startup configuration:
    
    ; J9088A Configuration Editor; Created on release #R.11.54
    
    hostname "ProCurve Switch 2610-48"
    ip routing
    snmp-server community "public" Unrestricted
    vlan 1
    
       name "DEFAULT_VLAN"
    
       untagged 1-12,49-52
       ip address 10.43.48.120 255.255.252.0
       no untagged 13-48
       exit
    vlan 5
       name "VLAN5"
       untagged 13-24
       ip address 192.168.0.5 255.255.255.0
       exit
    vlan 10
       name "VLAN10"
       untagged 25-36
       ip address 192.168.10.1 255.255.255.0
       ip helper-address 192.168.0.10
       exit
    vlan 20
       name "VLAN20"
       untagged 37-48
       ip address 192.168.20.1 255.255.255.0
       ip helper-address 192.168.0.10
       exit
    IP Addresses are just not being dished out on the 10 and 20 VLANS, but obviously fine on the VLAN where the DHCP is sitting.

    What am I missing here?

    Many thanks

    Pete
    Last edited by FragglePete; 2nd March 2011 at 03:12 PM. Reason: Bad Grammar!

  2. #2
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    5,002
    Thank Post
    120
    Thanked 282 Times in 260 Posts
    Rep Power
    108
    Will the 2610 do the routing? Does the DHCP server have the address of the switch doing the routing as the default gateway? Your config looks correct but I see no mention of what is doing the routing which I suspect the 5406 is for as I have one of them.

  3. Thanks to ChrisH from:

    FragglePete (2nd March 2011)

  4. #3

    Join Date
    Oct 2005
    Location
    East Midlands
    Posts
    738
    Thank Post
    17
    Thanked 105 Times in 65 Posts
    Rep Power
    37
    Hi,

    I think on your default VLAN you may have the tagging done incorrectly, i.e. you said no untagged 13-48 well these ports are later untagged i.e. connected to stations i'm presumming. Also vlan 20 and vlan 1 shares some ports so that could be confusion it as well.

    Ideally if the port is connecting to servers, printers, and other end user devices then it should be set to untagged i.e. statically mapped to a particular vlan. If they are connected to other switch then it should be tagged because tagged ports will allow to carry traffic from multiple vlan on that link/port.

    Ash.

  5. Thanks to spc-rocket from:

    FragglePete (2nd March 2011)

  6. #4

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    17,680
    Thank Post
    516
    Thanked 2,451 Times in 1,897 Posts
    Blog Entries
    24
    Rep Power
    832
    As ChrisH says - the 2610 is not a routing switch. The 5406zl will do the routing just fine, but the 2610 is an edge switch through and through.

  7. Thanks to localzuk from:

    FragglePete (2nd March 2011)

  8. #5
    nicholab's Avatar
    Join Date
    Nov 2006
    Location
    Birmingham
    Posts
    1,484
    Thank Post
    4
    Thanked 97 Times in 93 Posts
    Blog Entries
    1
    Rep Power
    50
    Does say it is Layer 3 switch.

  9. Thanks to nicholab from:

    FragglePete (2nd March 2011)

  10. #6

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    17,680
    Thank Post
    516
    Thanked 2,451 Times in 1,897 Posts
    Blog Entries
    24
    Rep Power
    832
    Quote Originally Posted by nicholab View Post
    Does say it is Layer 3 switch.
    Explanation and instructions would help.

  11. Thanks to localzuk from:

    FragglePete (2nd March 2011)

  12. #7
    nicholab's Avatar
    Join Date
    Nov 2006
    Location
    Birmingham
    Posts
    1,484
    Thank Post
    4
    Thanked 97 Times in 93 Posts
    Blog Entries
    1
    Rep Power
    50
    Sorry Layer 3 the network layer of the OSI mode this is where routers operate. Have you set the default gateway on the server to the switch? I would also use the same address in each subnet for the router normally the last address.
    Last edited by nicholab; 2nd March 2011 at 04:25 PM.

  13. Thanks to nicholab from:

    FragglePete (2nd March 2011)

  14. #8

    Join Date
    Feb 2008
    Location
    Wiltshire
    Posts
    882
    Thank Post
    274
    Thanked 139 Times in 112 Posts
    Blog Entries
    27
    Rep Power
    42
    Thanks for all the replies! I know its only a L2 Edge, but all the docs say it does dhcp-relay and stuff. I'll look again and have another play, might just have to work on the main core instead!!!

    Pete

  15. #9
    nicholab's Avatar
    Join Date
    Nov 2006
    Location
    Birmingham
    Posts
    1,484
    Thank Post
    4
    Thanked 97 Times in 93 Posts
    Blog Entries
    1
    Rep Power
    50
    Quote Originally Posted by FragglePete View Post
    Thanks for all the replies! I know its only a L2 Edge, but all the docs say it does dhcp-relay and stuff. I'll look again and have another play, might just have to work on the main core instead!!!

    Pete
    Don't think you would be able to enable "ip routing" if the switch did not support it.

  16. #10

    Join Date
    Feb 2008
    Location
    Wiltshire
    Posts
    882
    Thank Post
    274
    Thanked 139 Times in 112 Posts
    Blog Entries
    27
    Rep Power
    42
    Quote Originally Posted by nicholab View Post
    Don't think you would be able to enable "ip routing" if the switch did not support it.
    Indeed - IP Routing is an option on the IP Configuration menu screen, and it is switched on.

    Just looking back at the other posts, in particular "Have you set the default gateway on the server to the switch?" and the answer to that one is "No!" Will have another play in the morning.

    Pete

  17. #11

    Join Date
    Feb 2008
    Location
    Wiltshire
    Posts
    882
    Thank Post
    274
    Thanked 139 Times in 112 Posts
    Blog Entries
    27
    Rep Power
    42
    Well, there you go. That was the problem!

    The DHCP Server had its Gateway Address set to the actual gateway, not the IP address of the Switch. So, changed the Gateway address to 192.168.0.5 and as if by magic IP addresses being handed within the different scopes! Superb!

    Thanks ChrisH for that one!

    Pete

  18. #12
    nicholab's Avatar
    Join Date
    Nov 2006
    Location
    Birmingham
    Posts
    1,484
    Thank Post
    4
    Thanked 97 Times in 93 Posts
    Blog Entries
    1
    Rep Power
    50
    For internet access you want this command "ip route 0.0.0.0 0.0.0.0 x.x.x.x". Where x.x.x.x is the address of your internet gateway.

  19. Thanks to nicholab from:

    FragglePete (3rd March 2011)

  20. #13
    nicholab's Avatar
    Join Date
    Nov 2006
    Location
    Birmingham
    Posts
    1,484
    Thank Post
    4
    Thanked 97 Times in 93 Posts
    Blog Entries
    1
    Rep Power
    50
    Quote Originally Posted by nicholab View Post
    Have you set the default gateway on the server to the switch?
    Don't mind if nicholab take the credit for that?

  21. #14

    Join Date
    Feb 2008
    Location
    Wiltshire
    Posts
    882
    Thank Post
    274
    Thanked 139 Times in 112 Posts
    Blog Entries
    27
    Rep Power
    42
    Ok. Nicholab, thank you as well!!!!

    You just answered my other question that started rattling around in my head about the 'proper' Gateway. Thanks for clearing that one up for me. Getting my head round this now so the mist is starting to clear.

    Again, thank you, thank you, thank you! ;-)

    Pete

SHARE:
+ Post New Thread

Similar Threads

  1. VLAN Help!
    By edsa in forum Wireless Networks
    Replies: 2
    Last Post: 17th September 2010, 07:02 AM
  2. Vlan help
    By ful56_uk in forum Hardware
    Replies: 5
    Last Post: 23rd May 2010, 10:07 PM
  3. Vlan Help
    By Ste_Harve in forum Wireless Networks
    Replies: 2
    Last Post: 19th May 2010, 02:04 PM
  4. VLAN Help
    By jayemm in forum Wireless Networks
    Replies: 4
    Last Post: 19th November 2009, 05:01 PM
  5. To Vlan or not Vlan?
    By Theblacksheep in forum Wireless Networks
    Replies: 33
    Last Post: 19th August 2008, 03:22 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •