?
Solved

Not all PCs are getting addresses from Netscreen DHCP, why?

Posted on 2007-07-31
5
Medium Priority
?
1,027 Views
Last Modified: 2011-09-20
Netscreen DHCP. After recovering from a lost config (restoring and older backup to the netscreen) there are several computers on the local subnet that are unable to get an address via DHCP. Where do i find what addresses have been leased on the Netscreen? I can find where to define the lease range but not who has what addresses?

Thanks
Mark
0
Comment
Question by:mspencer100
  • 4
5 Comments
 
LVL 4

Expert Comment

by:amoldkelkar
ID: 19606101
Hi,
Can you please reframe your question? Didnt get really when you mentioned what addresses have been leased on Netscreen?

Do you mean where the addresses can be found on netscreen which are in DHCP ip pool?
0
 
LVL 4

Expert Comment

by:amoldkelkar
ID: 19606115
To find the DHCP settings and the allocated list of ips by the DHCP server running on Netscreen following cli should help you,
Lets say you have enabled DHCP server on your ethernet3 interface,
If you look at the last cli below you can even find the lease for the addresses.


nsdut-> get interface ethernet3 ?
>                    redirect output
|                    match output
<return>
dhcp                 show dhcp info
protocol             show routing protocol details
screen               show screen counter
nsdut-> get interface ethernet3 dhcp ?
>                    redirect output
|                    match output
<return>
client               show dhcp client info
relay                show dhcp relay agent info
server               show dhcp server info
nsdut-> get interface ethernet3 dhcp server ?
>                    redirect output
|                    match output
<return>
ip                   show all dhcp IP state
option               show all dhcp options

nsdut-> get interface ethernet3 dhcp server op
nsdut-> get interface ethernet3 dhcp server option ?
>                    redirect output
|                    match output
<return>
nsdut-> get interface ethernet3 dhcp server option
DHCP Server Options:
        Lease:          3 days 0 hours 0 minutes
        IP Range:       1.1.1.101 - 1.1.1.105
        Netmask:        0.0.0.0
        Gateway:        0.0.0.0
        Domain Name:
        DNS:            0.0.0.0         0.0.0.0         0.0.0.0
        WINS:           0.0.0.0         0.0.0.0
        SMTP:           0.0.0.0
        POP3:           0.0.0.0
        NEWS:           0.0.0.0
        NetInfo:        0.0.0.0         0.0.0.0
nsdut->

0
 
LVL 4

Expert Comment

by:amoldkelkar
ID: 19606117
I meant,
'get int eth3 dhcp server option'

It even tells you about the 'Lease' as well as the addresses ip range.

Hope it helps.
Do let me know

Thanks
-AK
0
 

Author Comment

by:mspencer100
ID: 19606477
What I'm trying to find out is what address have been assigned from the DHCP server. who they were assigned to and if all addresses have been used.
Thanks
Mark
0
 
LVL 4

Accepted Solution

by:
amoldkelkar earned 2000 total points
ID: 19606505
Open up a webUI session for the device.

Go to Network > DHCP  > Whichever interface you have the DHCP enabled > Report

You will see the whole mapping for every ip in the pool

Using cli,
nsdut-> get int eth3 dhcp server ip
       IP               State        MAC        Lease Time
 1.1.1.101              IDLE
 1.1.1.102              IDLE
 1.1.1.103              IDLE
 1.1.1.104              IDLE
 1.1.1.105              IDLE
nsdut-> get int eth3 dhcp server ip allo
nsdut-> get int eth3 dhcp server ip allocate ?
>                    redirect output
|                    match output
<return>
nsdut-> get int eth3 dhcp server ip allocate
       IP               State        MAC        Lease Time
nsdut->

Hope it helps you.

-AK
0

Featured Post

 The Evil-ution of Network Security Threats

What are the hacks that forever changed the security industry? To answer that question, we created an exciting new eBook that takes you on a trip through hacking history. It explores the top hacks from the 80s to 2010s, why they mattered, and how the security industry responded.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will show you with short command examples how to obtain a packet footprint of all traffic flowing thru your Juniper device running ScreenOS. I do not know the exact firmware requirement, but I think the fprofile command is availab…
Imagine you have a shopping list of items you need to get at the grocery store. You have two options: A. Take one trip to the grocery store and get everything you need for the week, or B. Take multiple trips, buying an item at a time, to achieve t…
Screencast - Getting to Know the Pipeline
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses
Course of the Month13 days, 21 hours left to enroll

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question