Re: hi



In comp.os.linux.networking ksravi29@xxxxxxxxx <ksravi29@xxxxxxxxx>:
hi linuxgurus

i have been asked in one interview that the DHCP server having two
NIC cards . how the client machine get the ip address from DHCP
server from which NIC card

waiting for reply

Sounds as if you asked for an admin type position? Not knowing
the answer isn't a big problem, there is just to much stuff to
know anything. However, not knowing how to find the answer makes
me curious if you were the right person for the job?

Presuming I would not know the answer, the next xterm should get
me going, like this:

$ man -k dhcp
dhclient-script (8) - DHCP client network configuration
script
dhclient.conf [dhclient] (5) - DHCP client configuration file
dhclient.leases [dhclient] (5) - DHCP client lease database
dhcp-eval (5) - ISC DHCP conditional evaluation
dhcp-options (5) - Dynamic Host Configuration Protocol options
dhcpd (8) - Dynamic Host Configuration Protocol Server
dhcpd.conf [dhcpd] (5) - dhcpd configuration file
dhcpd.leases [dhcpd] (5) - DHCP client lease database

Mh, there are quite some man pages concerning dhclient, but we
just want to look at the server:

$ man -k dhcpd
dhcpd (8) - Dynamic Host Configuration Protocol Server
dhcpd.conf [dhcpd] (5) - dhcpd configuration file
dhcpd.leases [dhcpd] (5) - DHCP client lease database

You might find ways to gather such information even faster, after
some time on your own...

Now this looks fine, after a short look I should have picked how
to restrict dhcpd to a certain device. Now the option should be
somehow handed over to dhcpd during startup, its init script
should show which /etc/sysconfig/blah or alike is sourced or we
just ask the package manager. Editing the file with vi(m) and
restarting/reloading the service should be enough. You might want
to monitor system logs if anything is working as expected and
ensure the service is started during boot.

To sum it up, if you really want to get closer to Linux, just
start using it. Nothing else will improve your knowledge more.
Stay away from any GUI config tools, they'll teach you nothing,
just stay at the shell. You might find ways to gather such
information

Good luck

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo zvpunry@xxxxxxxxxx | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 253: We've run out of licenses
.



Relevant Pages

  • Re: works on desk computer but not on wireless laptop
    ... RARP server, the DHCP server, or manually? ... So I chose that and now it wants to know the DHCP Client ID. ... And a 12 character number like a Mac ID. ... The OEM computer MAC address is the same as the DHCP ...
    (alt.internet.wireless)
  • Re: Understanding the impact of a DHCP server outage
    ... At 50% of the lease time the DHCP client attempts to renew its lease from the DHCP server that it leased the address from via unicast. ... If this is not successful the DHCP client waits until 87.5% of the lease time has expired and then re-attempts to renew it address, again via unicast to the DHCP server. ...
    (microsoft.public.windows.server.networking)
  • Re: Understanding the impact of a DHCP server outage
    ... At 50% of the lease time the DHCP client attempts to renew its lease from ... from any DHCP server via the standard broadcast method. ...
    (microsoft.public.windows.server.networking)
  • how to set fixed address problem at dhcpd.conf
    ... configuration for an internal subnet' at my ... But now I want to assign some of dhcp client fixed ... # Fixed IP addresses can also be specified for hosts. ... and another problem is still some words from dhcpd, ...
    (freebsd-questions)
  • Re: Filtering DHCP Requests so that ICS DHCPD dont get them
    ... firewall and NAT serving DHCP and some services to internal network ... Getting external IP with dhcp client. ... dhcpd replies "DHCPNAK" to external interface ... a range does not have any options, the server sends a DHCPNAK, which is ...
    (comp.os.linux.networking)