cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3944
Views
0
Helpful
20
Replies

Help configurating an 851 with PPPoE and DHCP

paltinis2
Level 1
Level 1

   Hi,

I write this because i'm puzzling myself for a few days now trying to find a way to configure my 851 for home use.

My internet provider use PPPoE with PAP and althrough I found many configuration options they all are incomplete...or i cant find the logic behind those commands.

First of all I need to say what I need:

1. Configurate my int Fa4 (WAN) with pppoe so when i insert my ISP cable in it it will negotiate and take IP.

2. Configurate DHCP on LAN (Fa0-3) so that when I insert my PC it will take a fake IP.

Here is the place where i found some conf examples: http://www.cisco.com/en/US/docs/routers/access/800/850/software/configuration/guide/pppoenat.html and I have some questions:

1. MTU - Should I use the 1492 value or the "pppoe-client ppp-max-payload 1500"?

2. ip route 10.10.25.2 255.255.255.255 dialer 0 - How can i set an IP route when my connexion informations only come after i connect? (Because is PPPoE)???

3. I cant configurate the DHCP because I dont know the default route, I dont know the DNS, and i dont know the default gateway because I dont know them due to PPPoE !!!

Please help me because I dont know what to do whit it.

Thank you

20 Replies 20

Hi,

ip subnet-zero

no ip routing    change it to ip routing

no ip dhcp use vrf connected

ip dhcp excluded-address 192.168.0.1 192.168.0.10

interface Dialer0

ip address negotiated

ip mtu 1492                                            You're missing the ip nat outside command

encapsulation ppp

dialer pool 1

dialer-group 1

ppp authentication pap

ppp pap sent-username ************ password **************!

Regards.

Alain.

Don't forget to rate helpful posts.

I have repaired that Cadet Alain earlyer with the help of Mr. Peter Paluch who posted me the cfg commands, but i still forgot something . I really do appologise for my stuborness but i'm kinda new with the Cisco configurations,but I want to learn because is really nice, I like it!

Tank you

Now i'm closer than ever, the DHCP is working, and even the led for PPP is now on, but something still dosent tie up, maybe is because i missed that command.

   Hello,

I'm trying to use this running config to a 851 router but i get an error to this line:

Paltinis(config)#no ip dhcp use vrf connected

                                ^

% Invalid input detected at '^' marker.

Paltinis(config)#no ip dhcp use vrf connected

                                ^

% Invalid input detected at '^' marker.

and the confir dose not work.

Here is my running config someone can helpme to see what i do wrong.

Thank you.

Paltinis#sh running-config

Building configuration...

Current configuration : 1654 bytes

!

version 12.4

no service pad

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname Paltinis

!

boot-start-marker

boot-end-marker

!

enable secret 5 $1$T/5A$rNrZUOri4.JHzFBb7vB.21

enable password admins

!

no aaa new-model

!

!

dot11 syslog

no ip dhcp use class

no ip dhcp use vrf connected

ip dhcp excluded-address 192.168.0.1 192.168.0.10

!

ip dhcp pool LAN-Palt

   import all

   network 192.168.0.0 255.255.255.0

   default-router 192.168.0.1

   lease infinite

!

!

ip cef

ip auth-proxy max-nodata-conns 3

ip admission max-nodata-conns 3

!

!

!

username admin password 0 admin

!

!

archive

log config

  hidekeys

!

!

!

!

!

interface FastEthernet0

!

interface FastEthernet1

!

interface FastEthernet2

!

interface FastEthernet3

!

interface FastEthernet4

no ip address

shutdown

duplex auto

speed auto

pppoe enable group global

pppoe-client dial-pool-number 1

!

interface Vlan1

ip address 192.168.0.1 255.255.255.0

ip nat inside

ip virtual-reassembly

ip tcp adjust-mss 1452

!

interface Dialer0

ip address negotiated

ip mtu 1492

ip nat outside

ip virtual-reassembly

encapsulation ppp

dialer pool 1

dialer-group 1

no cdp enable

ppp pap sent-username ************* password ***************

ppp ipcp dns request accept

!

ip forward-protocol nd

ip route 0.0.0.0 0.0.0.0 Dialer0

!

no ip http server

no ip http secure-server

ip nat inside source list 1 interface Dialer0 overload

!

access-list 1 permit 192.168.0.0 0.0.0.255

dialer-list 1 protocol ip permit

!

control-plane

!

!

line con 0

no modem enable

line aux 0

line vty 0 4

password admin

login

!

scheduler max-task-time 5000

end

Paltinis#

I have found out this post

http://808techblog.com/netflow/2008/02/ saying that there is a problem in diffrent software versions. I checked and my router has Version 12.4(15)T6. Please tell me if i need to make downgrade in order to work.

Hello Adrian,

I do not think you need to downgrade your IOS version. Also, those two lines (no ip dhcp use class and no ip dhcp use vrf connected) can be ignored and skipped, as they are not important for your basic setup. The configuration should work nicely without these two lines.

So what exactly does not work for you?

Best regards,

Peter

P.S.: It would be more appropriate to create a new, separate thread for your issue, instead of discussing this in an existing thread.

  Thanks for your reply, I did opend a new thread here:

https://supportforums.cisco.com/message/3889331#3889331 and I got it working now. It looks like it was the Int Fa4 disabled...:) I was prepared to downgrade it to an older version but than Mr. Richard Burts  told me to check the interface.

Thank you again for the reply.