From: Alexei Monastyrnyi (alexeim@orcsoftware.com)
Date: Tue May 15 2007 - 05:46:08 ART
Hi.
quoting DHCP client section of IOS 12.4 documentation
=== beginning of quote ===
ip dhcp client request option-name
Example:
Router(config-if)# no ip dhcp client request tftp-server-address
(Optional) Configures a DHCP client to request an option from a DHCP
server.
b"The option name can be tftp-server-address, netbios-nameserver,
vendor-specific, static-route, domain-name, dns-nameserver, or router.
By default, all these options are requested. The no form of the command
instructs the system to not request certain options.
=== end of quote ===
So here is the options list, though I couldn't find yet how to check
which ones were obtained. it probably can be don indirectly, by checking
by checking routing table for any static router etc.
This way BTW you can probably get a default route as well.
HTH
A.
on 5/14/2007 5:26 AM sirus MOGHADASIAN wrote:
> Hi,
>
> 1) is there any command that shows when configure router as DHCP client,
> what options actually router gets from DHCP server ???? like DNS server
> ,dhcp server , default gateway.
> I search documents of cisco but I found nothing abou such a show command.
>
>
>
> 2)Is there a command that bind (DNS server ,dhcp server , default gateway)
> that router gets as a client to DHCP server pool?
>
> actually command , import all ,not works for this purpose.
>
>
>
> 3)when I add static route to interface that connect to ISP interface ,like
> this
>
> ip route 0.0.0.0 0.0.0.0 fa0/0
>
> that's not work but when I use this
> ip route 0.0.0.0 0.0.0.0 112.23.45.64 (ip address of ISP interface)
>
> it works, why??? typically these are same commands or am I wrong?
>
>
>
> Thanks
>
> I really frustrated with these ,any help greatly appreciated .
>
> Sirus
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Fri Jun 01 2007 - 06:55:21 ART