Home > Archive > CCNP > April 2002 > Dynamic Interface on a router?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Dynamic Interface on a router?
cisco_kidd20

2002-04-10, 8:00 am

This might be a stupid question, but is there a way to "Dynamically" assign an interface on a router to "dynamically" assign itself an ip address from a Cable or DSL connection? Kind of like those Linksys routers. Your feedback is greatly appreciated!! Thanks!
The Reamer

2002-04-10, 8:06 am

If you mean a logical connection like a dialer interface, then yes. I use my 1605 with my DSL service. Here is a section of the config relating to the ethernet interface and the logical dialer interface.

interface Ethernet1
description connected to Internet
no ip address
no keepalive
pppoe enable
pppoe-client dial-pool-number 1
!
interface Serial0
no ip address
shutdown
!
interface Dialer1
description connected to Internet
ip address negotiated
ip access-group 10 in
ip mtu 1492
ip nat outside
encapsulation ppp
no ip mroute-cache
dialer pool 1
dialer-group 2
ppp authentication chap callin
ppp chap hostname ******@********.net
ppp chap password 7 ************

I had to enable vpdn on the router to get this to work.

HTH,

Reamer
cisco_kidd20

2002-04-10, 9:26 am

will that work for a fast ethernet as well? I have a 2621.
wirechild

2002-04-10, 1:01 pm

int fe0
ip address dhcp

I am not sure but I think this started with 12.1 IOS. It does depend on your provider. Some require you to use their hostname also
in which case

hostname 4990023456-a1
Yankee

2002-04-13, 7:07 am

Agree with wirechild. It is far more likely his suggestion will work because most ISPs use DHCP. The IP negotiated is a great command when you control both ends and can set them up that way, particularily with ISDN as in Reamer's example.

Yankee
mracki

2002-04-17, 9:40 pm

The command "ip address dhcp" was added into IOS during the 12.1.2T rev. I'm using an ancient 2514 to get NAT with a dynamic address from my cable vendor. Anyway find a friend with a CCO login, or get a copy of 12.1.2T from someone with the same major router type (2600, 2500, etc.)
cisco_kidd20

2002-04-17, 10:32 pm

I have a CCO, will download that IOS, thanks guys for the help!!
Sponsored Links





Free Braindumps | MCSE braindumps software forum

Copyright 2003 - 2009 examnotes.net