Re: Configure Router as a DHCP Client?

From: Brian Lodwick (xpranax@xxxxxxxxxxx)
Date: Sun Mar 10 2002 - 13:24:24 GMT-3


   
I wonder if it is possible to use EastIp in this situation to NAT private
networks behind this to the DHCP assigned address. I understand EasyIp is a
feature that is made to be used in conjunction with a PPP and a Dialer
interface, but I just wonder if you could use it in the DHCP client
situation on any interface with any encapsulation type? Below is an example
of what I'm talking about. Does anyone know if this will work?

Router(config)#int e0
Router(config-if)#ip address dhcp
Router(config-if)#description WAN side

Router(config)#int e1
Router(config-if)#ip address 10.0.0.1 255.255.255.0
Router(config-if)#description LAN side

Router(config)#access-list 1 permit 10.0.0.0 0.0.0.255

Router(config)#ip nat inside source list 1 interface ethernet0 overload

>>>Brian

>From: "Jaeheon Yoo" <kghost@chollian.net>
>Reply-To: "Jaeheon Yoo" <kghost@chollian.net>
>To: "ccielab" <ccielab@groupstudy.com>, "Joseph Hao - Hotmail"
><jthao1@hotmail.com>
>Subject: Re: Configure Router as a DHCP Client?
>Date: Sun, 10 Mar 2002 23:42:02 +0900
>
>Yes, it was newly introduced in IOS 12.1(2)T.
>Actually, it's very simple.
>
>Router(config)#int e0
>Router(config-if)#ip address dhcp
>
>http://www.cisco.com/univercd/cc/td/doc/product/software/ios121/121newft/121t/
121t2/dt_dhcpc.htm
>(watch the word wrap)
>
>Jaeheon
>
>----- Original Message -----
>From: "Joseph Hao - Hotmail" <jthao1@hotmail.com>
>To: <ccielab@groupstudy.com>
>Sent: Sunday, March 10, 2002 10:26 PM
>Subject: Configure Router as a DHCP Client?
>
>
> > Is it possible to configure a router's Ethernet interface to request an
>IP
> > address and Mask from a DHCP server somewhere on the Ethernet segment?
>I
> > have always configured a static IP Address and I am wondering if it is
> > possible for it to have a dynamically acquired IP address.
> >
> > Don't ask me why I'm interested in doing it, I need it for some research
> > project I'm working on.
> >
> > Joseph



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:56:58 GMT-3