Koldov Posted September 11, 2023 Posted September 11, 2023 We have a Cisco 3750 and it handles DNS for us (set up before I started here). I need to patch in a new device and it has to have a static I.P. and I seem to remember being told that the first & last 10 I.P.s in any VLAN range are available for static assignment. I need to verify this now as this device will take up the last 'static' I.P. I think I can use. I'm looking to Putty in and CLI, so I need to know the syntax for the commands that mean I can view the config of the VLAN (or specifically where it gives the info I need). Any other easier way to do this also welcome...
Davit2005 Posted September 11, 2023 Posted September 11, 2023 (edited) First address in a subnet i.e. 192.168.1.0/24 (subnet address) can be used in certain scenarios but best advice is against it, last address is the broadcast and cannot be used. So yes you could use 192.168.1.1/24 - 192.168.1.10/24 or 192.168.1.244/24 - 192.168.1.254 On Cisco the vlan interface gets the IP if it needs one. I believe you can use show interface vlan [vlan-id] i.e. show interface vlan 200 . Where as HP Procurve you would do something like show run vlan [vlan-id] *not available on all switches Edited September 11, 2023 by Davit2005
mavhc Posted September 11, 2023 Posted September 11, 2023 You'll need to check you DHCP settings, there's no rule 1
Koldov Posted September 12, 2023 Author Posted September 12, 2023 (edited) Ah good shout and well spotted... I meant DHCP not DNS... Anyway, interesting... as I don't have a clue (which you might have guessed from my original post) I ended up doing a 'show running-config' that I found from another forum. Scrolling through I found a section on DHCP with a part showing 'ip dhcp excluded-address' However, the VLAN (SERVERS/PRINTERS) I am looking at isn't in that list, nor does it appear in the next section detailing each 'ip dhcp pool'... Do I take it that this VLAN is excluded completely (or alternatively is not included) in DHCP and so all I.P. addresses within it are only available for static assignment? Edited September 12, 2023 by Koldov
mavhc Posted September 12, 2023 Posted September 12, 2023 Seems correct, plug a computer into that vlan and see what happens if you wish to check
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now