Different masks, DHCP reflects the subnet.
 
IPCP 
R7#show ip int dialer 1 | i Internet
  Internet address is 172.31.200.7/32
DHCP
R7(config-if)#do show ip int dialer 1 | i Internet
  Internet address is 172.31.200.7/25

 

 



From: [email protected]
Date: Fri, 11 May 2012 22:10:47 +0100
Subject: Re: [OSL | CCIE_RS] PPPoE IPCP/DCHP and MPLS
To: [email protected]
CC: [email protected]

show ip int dialer | i Internet


I wanted to compare the masks we got on the dialer from DHCP and IPCP



On 11 May 2012 22:01, Fulvio allegretti <[email protected]> wrote:



Hi Olu, here it is. I've labbed it again. There is something in it and I pretty 
sure someone at ipexpert knows about this. I bumped into this as I was doning 
Lab 1 vol 3, the requirement clearly states not to use IPCP on the PPoE task, 
later on a different task we are asked to enable MPLS on that link. I didn't 
follow the DHCP requirement, can't remember why, but I am learning that the 
more you break things the more you learn.
 
Starting with only PPoE configured.

*****************R6

R6(config)#do sh ip int bri | ex un
Interface                  IP-Address      OK? Method Status                
Protocol
Virtual-Access1.1          172.31.200.6    YES TFTP   up                    up
Virtual-Template1          172.31.200.6    YES manual down                  down

R6(config)#do show run | s Dialer|Virtual|pool|dhcp
interface Virtual-Template1
 mtu 1492
 ip address 172.31.200.6 255.255.255.128
 peer default ip address pool TEST
ip local pool TEST 172.31.200.7
R6(config)#do ping 172.31.200.7
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.31.200.7, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms
R6(config)#
 
*************R7
R7(config)#do sh ip int br | ex un
Interface                  IP-Address      OK? Method Status                
Protocol
Dialer1                    172.31.200.7    YES IPCP   up                    up

R7(config)#do show run | s Dialer|Virtual|pool|dhcp
 pppoe-client dial-pool-number 1
interface Dialer1
 mtu 1492
 ip address negotiated
 encapsulation ppp
 dialer pool 1

R7(config)#do ping 172.31.200.6
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.31.200.6, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/3/4 ms
 
 

-------------------------------------------------------------------
Assing loopback, adding static routes, enabling mpls

*********************R6

R6(config)#do sh ip int bri | ex un
Interface                  IP-Address      OK? Method Status                
Protocol
Virtual-Access1.1          172.31.200.6    YES TFTP   up                    up
Virtual-Template1          172.31.200.6    YES manual down                  down
Loopback0                  192.168.6.6     YES manual up                    up

R6(config)#do show run | s Dialer|Virtual|pool|dhcp
interface Virtual-Template1
 mtu 1492
 ip address 172.31.200.6 255.255.255.128
 mpls ip
 peer default ip address pool TEST
ip local pool TEST 172.31.200.7

R6(config)#do sh mpls ldp n
    Peer LDP Ident: 192.168.7.7:0; Local LDP Ident 192.168.6.6:0
        TCP connection: 192.168.7.7.62159 - 192.168.6.6.646
        State: Oper; Msgs sent/rcvd: 8/8; Downstream
        Up time: 00:00:55
        LDP discovery sources:
          Virtual-Access1.1, Src IP addr: 172.31.200.7
        Addresses bound to peer LDP Ident:
          172.31.200.7    192.168.7.7

R6(config)#do ping 172.31.200.7
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.31.200.7, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)

R6(config)#do ping 192.168.7.7
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.7.7, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
R6(config)#

R7(config)#do sh ip int bri | ex un
Interface                  IP-Address      OK? Method Status                
Protocol
Dialer1                    172.31.200.7    YES IPCP   up                    up
Loopback0                  192.168.7.7     YES manual up                    up

R7(config)#do show run | s Dialer|Virtual|pool|dhcp
 pppoe-client dial-pool-number 1
interface Dialer1
 mtu 1492
 ip address negotiated
 encapsulation ppp
 dialer pool 1
 mpls ip

R7(config)#do sh mpls ldp nei
    Peer LDP Ident: 192.168.6.6:0; Local LDP Ident 192.168.7.7:0
        TCP connection: 192.168.6.6.646 - 192.168.7.7.62159
        State: Oper; Msgs sent/rcvd: 11/11; Downstream
        Up time: 00:03:38
        LDP discovery sources:
          Dialer1, Src IP addr: 172.31.200.6
        Addresses bound to peer LDP Ident:
          172.31.200.6    192.168.6.6
R7(config)#do ping 172.31.200.6
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.31.200.6, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
R7(config)#do ping 192.168.6.6
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.6.6, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
R7(config)#
------------------------------------------------------------------------------------------
Let's change ip assignement to DHCP
R6(config-if)#do sh ip int bri | ex un
Interface                  IP-Address      OK? Method Status                
Protocol
Virtual-Access1.1          172.31.200.6    YES TFTP   up                    up
Virtual-Template1          172.31.200.6    YES manual down                  down
Loopback0                  192.168.6.6     YES manual up                    up

R6(config-if)#do show run | s Dialer|Virtual|pool|dhcp
ip dhcp excluded-address 172.31.200.0 172.31.200.6
ip dhcp excluded-address 172.31.200.8 172.31.200.255
ip dhcp pool TESTDHCP
   network 172.31.200.0 255.255.255.128
interface Virtual-Template1
 mtu 1492
 ip address 172.31.200.6 255.255.255.128
 mpls ip
 no peer default ip address

R6(config-if)#do sh mpls ldp n
    Peer LDP Ident: 192.168.7.7:0; Local LDP Ident 192.168.6.6:0
        TCP connection: 192.168.7.7.25521 - 192.168.6.6.646
        State: Oper; Msgs sent/rcvd: 8/8; Downstream
        Up time: 00:01:04
        LDP discovery sources:
          Virtual-Access1.1, Src IP addr: 172.31.200.7
        Addresses bound to peer LDP Ident:
          192.168.7.7     172.31.200.7
R6(config-if)#do ping 172.31.200.7
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.31.200.7, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
R6(config-if)#

********************R7
R7(config-if)#do sh ip int bri | ex un
Interface                  IP-Address      OK? Method Status                
Protocol
Dialer1                    172.31.200.7    YES DHCP   up                    up
Loopback0                  192.168.7.7     YES manual up                    up
R7(config-if)#do show run | s Dialer|Virtual|pool|dhcp
 pppoe-client dial-pool-number 1
interface Dialer1
 mtu 1492
 ip address dhcp
 encapsulation ppp
 dialer pool 1
 mpls ip
R7(config-if)#do sh mpls ldp n
    Peer LDP Ident: 192.168.6.6:0; Local LDP Ident 192.168.7.7:0
        TCP connection: 192.168.6.6.646 - 192.168.7.7.25521
        State: Oper; Msgs sent/rcvd: 9/9; Downstream
        Up time: 00:01:55
        LDP discovery sources:
          Dialer1, Src IP addr: 172.31.200.6
        Addresses bound to peer LDP Ident:
          192.168.6.6     172.31.200.6
R7(config-if)#do ping 172.31.200.6
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.31.200.6, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
R7(config-if)#


 





From: [email protected]
Date: Fri, 11 May 2012 19:07:46 +0100
Subject: Re: [OSL | CCIE_RS] PPPoE IPCP/DCHP and MPLS
To: [email protected]
CC: [email protected]



Fulvio, 


for the two configs (DHCP & IPCP)  post output of   
show run | s Dialer|Virtual|pool|dhcp 


along with 


show ip int dialer | i Internet


On 11 May 2012 09:38, Fulvio allegretti <[email protected]> wrote:


Hi there,
I have bumped into this and I am trying to understand the logic behind it. The 
set up is two routers running PPPoE with the client ip address being negotiated 
by IPCP. I then run MPLS over it, just adding mpls ip on the interfaces, I've 
got my static routes to the loopbacks, neighbors come up,  I've got labels, 
it's all good execept that I can't ping the other end, I can't sill ping the 
loopbacks. Change the ip assignment method to DHCP and it is all working. 
Change it back to IPCP, no pin. Remove MPLS, ping is  back. Put MPLS back on, 
no ping. Change to DHCP ping is back. You get the picture.........SIIL (stuck 
in ignorant loop that is). Fulvio
_______________________________________________
For more information regarding industry leading CCIE Lab training, please visit 
www.ipexpert.com

Are you a CCNP or CCIE and looking for a job? Check out 
www.PlatinumPlacement.com

http://onlinestudylist.com/mailman/listinfo/ccie_rs



-- 
Olugbenga Oyebande
MD, DAIT
234-803-302-5287 
http://www.dait-ng.com
Cisco Networks, Network Security & Quality of Service
DAIT Linux Enterprise Network Servers, Web Portal Projects
Broadband Internet Deployment & ISP Consultancy
View Olugbenga Oyebande's profile



-- 
Olugbenga Oyebande
MD, DAIT
234-803-302-5287 
http://www.dait-ng.com
Cisco Networks, Network Security & Quality of Service
DAIT Linux Enterprise Network Servers, Web Portal Projects
Broadband Internet Deployment & ISP Consultancy
View Olugbenga Oyebande's profile
                                          
_______________________________________________
For more information regarding industry leading CCIE Lab training, please visit 
www.ipexpert.com

Are you a CCNP or CCIE and looking for a job? Check out 
www.PlatinumPlacement.com

http://onlinestudylist.com/mailman/listinfo/ccie_rs

Reply via email to