If you're using GNS3 please test it on 7200 router JM
________________________________ From: Lukasz <[email protected]> To: imad Abdallah <[email protected]> Cc: CCIE OSL <[email protected]> Sent: Wednesday, January 9, 2013 4:08 AM Subject: Re: [OSL | CCIE_RS] DHCP pool with Binding Thanks Imad, Regards, Lukasz On 2013-01-08 23:26, imad Abdallah wrote: > GNS has all sorts of problems when it comes to switching. > I tried it on real hardware and it worked with no issues. > So I guess, the problem is with GNS > >> Date: Tue, 8 Jan 2013 14:23:29 +0000 >> From: [email protected] >> To: [email protected] >> CC: [email protected] >> Subject: RE: [OSL | CCIE_RS] DHCP pool with Binding >> >> Thanks, >> >> I have tried this and Client received desired IP address.I have also > >> added extra router which is on the same subnet and it is dhcp client > as >> well. >> >> R3 DHCP client ---- Switch ------ R4 DHCP Server >> R5 DHCP Client ----- >> >> I have copied R3 client-id so that R3 receives the same IP address. >> >> R3/R5 DHCP Client >> ! >> username R4 password 0 cisco >> ! >> interface FastEthernet0/0 >> no ip address >> duplex auto >> speed auto >> pppoe enable group global >> pppoe-client dial-pool-number 1 >> ! >> ! >> interface Dialer1 >> ip address dhcp >> ip mtu 1492 >> encapsulation ppp >> dialer pool 1 >> ! >> --------------------------- >> R4 DHCP server >> >> ! >> username R3 password 0 cisco >> username R5 password 0 cisco >> ! >> bba-group pppoe global >> virtual-template 1 >> ! >> interface FastEthernet0/0 >> no ip address >> duplex auto >> speed auto >> pppoe enable group global >> end >> ! >> interface Virtual-Template1 >> ip address 34.34.34.44 255.255.255.0 >> ip mtu 1492 >> peer default ip address dhcp >> ppp authentication chap >> end >> >> ip dhcp excluded-address 34.34.34.1 34.34.34.29 >> ip dhcp excluded-address 34.34.34.51 34.34.34.254 >> ! >> ip dhcp pool POOL >> network 34.34.34.0 255.255.255.0 >> ! >> ip dhcp pool CLIENT >> host 34.34.34.47 255.255.255.0 >> client-identifier >> 0063.6973.636f.2d63.3230.302e.3032.6434.2e30.3030.302d.4469.31 >> ! >> >> Both DHCP CLient Routers receives IP address (R3 static) but the >> problem lies when I try to ping R4. (output from debug ip packet on > R4 >> when Ping is run from R3). >> >> *Mar 1 04:00:22.003: IP: s=34.34.34.47 (Virtual-Access1.1), >> d=34.34.34.44, len 100, rcvd 2 >> *Mar 1 04:00:22.003: IP: tableid=0, s=34.34.34.44 (local), >> d=34.34.34.47 (Virtual-Access1.2), routed via FIB >> *Mar 1 04:00:22.007: IP: s=34.34.34.44 (local), d=34.34.34.47 >> (Virtual-Access1.2), len 100, sending >> *Mar 1 04:00:22.051: IP: tableid=0, s=34.34.34.44 > (Virtual-Access1.2), >> d=34.34.34.47 (Virtual-Access1.2), routed via FIB >> *Mar 1 04:00:22.051: IP: s=34.34.34.44 (Virtual-Access1.2), >> d=34.34.34.47 (Virtual-Access1.2), len 100, rcvd local pkt >> >> It looks packets are replied correctly but I cannot see anything > coming >> back on R3. >> >> >> Type escape sequence to abort. >> Sending 5, 100-byte ICMP Echos to 34.34.34.44, timeout is 2 seconds: >> >> *Mar 1 04:01:32.051: IP: tableid=0, s=34.34.34.47 (local), >> d=34.34.34.44 (Dialer1), routed via FIB >> *Mar 1 04:01:32.051: IP: s=34.34.34.47 (local), d=34.34.34.44 >> (Dialer1), len 100, sending. >> *Mar 1 04:01:34.047: IP: tableid=0, s=34.34.34.47 (local), >> d=34.34.34.44 (Dialer1), routed via FIB >> *Mar 1 04:01:34.047: IP: s=34.34.34.47 (local), d=34.34.34.44 >> (Dialer1), len 100, sending. >> *Mar 1 04:01:36.047: IP: tableid=0, s=34.34.34.47 (local), >> d=34.34.34.44 (Dialer1), routed via FIB >> *Mar 1 04:01:36.047: IP: s=34.34.34.47 (local), d=34.34.34.44 >> (Dialer1), len 100, sending. >> *Mar 1 04:01:38.047: IP: tableid=0, s=34.34.34.47 (local), >> d=34.34.34.44 (Dialer1), routed via FIB >> *Mar 1 04:01:38.047: IP: s=34.34.34.47 (local), d=34.34.34.44 >> (Dialer1), len 100, sending. >> *Mar 1 04:01:40.047: IP: tableid=0, s=34.34.34.47 (local), >> d=34.34.34.44 (Dialer1), routed via FIB >> *Mar 1 04:01:40.047: IP: s=34.34.34.47 (local), d=34.34.34.44 >> (Dialer1), len 100, sending. >> Success rate is 0 percent (0/5) >> >> >> R3(config-if)#do show ip route >> >> Gateway of last resort is not set >> >> 34.0.0.0/24 is subnetted, 1 subnets >> C 34.34.34.0 is directly connected, Dialer1 >> >> >> The same case is when I run ping from R5 to R4. >> >> >> Interesting enough is that when I shut/no shut Dialer 1 on R3 and I >> receive again the same IP then ping works. >> >> >> R3(config-if)#do ping 34.34.34.44 >> >> Type escape sequence to abort. >> Sending 5, 100-byte ICMP Echos to 34.34.34.44, timeout is 2 seconds: >> !!!!! >> Success rate is 100 percent (5/5), round-trip min/avg/max = 16/40/88 > ms >> R3(config-if)# >> *Mar 1 04:05:37.498: IP: tableid=0, s=34.34.34.47 (local), >> d=34.34.34.44 (Dialer1), routed via FIB >> *Mar 1 04:05:37.502: IP: s=34.34.34.47 (local), d=34.34.34.44 >> (Dialer1), len 100, sending >> *Mar 1 04:05:37.582: IP: tableid=0, s=34.34.34.44 (Dialer1), >> d=34.34.34.47 (Dialer1), routed via RIB >> *Mar 1 04:05:37.582: IP: s=34.34.34.44 (Dialer1), d=34.34.34.47 >> (Dialer1), len 100, rcvd 3 >> *Mar 1 04:05:37.586: IP: tableid=0, s=34.34.34.47 (local), >> d=34.34.34.44 (Dialer1), routed via FIB >> >> R3(config-if)# >> >> >> Any ideas why I see this? I use GNS3. Is that possibly the issue > with >> ethernet switch in the middle? >> >> >> Regards, >> Lukasz >> >> >> On 2013-01-07 23:56, imad Abdallah wrote: >> > you have to create a separate pool for the host >> > >> >> Date: Mon, 7 Jan 2013 23:26:51 +0000 >> >> From: [email protected] >> >> To: [email protected] >> >> Subject: [OSL | CCIE_RS] DHCP pool with Binding >> >> >> >> Hi All, >> >> >> >> >> >> I want to set up PPPoE client/server with server providing the >> > client >> >> IP address via DHCP. I have created a dhcp pool on the server but > I >> >> would like also to force the client to receive the same IP > address. >> >> I know that I need to use client-identifier (debug ip dhcp > packets) >> >> with host option to provide the same address. When I try to use > both >> > >> >> dhcp pool with subnet and host I receive error ¨% This command > may >> > not >> >> be used with host, origin, network or vrf pools.¨ >> >> >> >> Is there any way of doing this? >> >> >> >> >> >> Regards >> >> Lukasz >> >> _______________________________________________ >> >> 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 >> _______________________________________________ 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 _______________________________________________ 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
