<div dir="ltr">Hi, <br>thanks for the help, enabling iprouting fixed the ping issue.<br>But have doubt on nat config.<br><br>on cisco850, i want to translate ip addresses on my internal lan to a global ip-address got via pppoe dialer0 .<br>
<br>interface FastEthernet0 --> connects to lan were linux box are dhcp client<br>interface FastEthernet4-> is uplink<br><br>so i tried this nat config which does not work.<br><br>ip nat pool letmeout <a href="http://172.16.1.1">172.16.1.1</a> <a href="http://172.16.1.254">172.16.1.254</a> netmask <a href="http://255.255.255.0">255.255.255.0</a><br>
ip nat inside source list 1 pool letmeout<br>!<br>access-list 1 permit <a href="http://192.168.1.0">192.168.1.0</a> <a href="http://0.0.0.255">0.0.0.255</a><br>dialer-list 1 protocol ip permit<br><br><br>interface FastEthernet0<br>
!<br>!<br>interface FastEthernet4<br> description "UPLINK connected to BRAS"<br> no ip address<br> ip nat outside<br> no ip virtual-reassembly<br> duplex auto<br> speed auto<br> pppoe enable group global<br> pppoe-client dial-pool-number 1<br>
!<br>interface FastEthernet4.4001<br> ip virtual-reassembly<br> pppoe enable<br>!<br>interface Vlan1<br> description "dhcp interface for home-users"<br> ip address <a href="http://192.168.100.1">192.168.100.1</a> <a href="http://255.255.255.0">255.255.255.0</a><br>
ip nat inside<br> no ip virtual-reassembly<br>!<br>interface Dialer0<br> ip address negotiated<br> ip mtu 1492<br> ip nat outside<br> ip virtual-reassembly<br> encapsulation ppp<br> dialer pool 1<br> dialer-group 1<br> ppp chap hostname team@teambackbone<br>
ppp chap password 0 team<br>!<br><br><div class="gmail_quote">On Thu, Sep 25, 2008 at 5:18 PM, Dinesh Bhonsle <span dir="ltr"><<a href="mailto:dineshbs123@gmail.com">dineshbs123@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">Hi,<br><br>I have cisco850 - pppoe client, i am unable to ping to the default gw on the bras.<br>pc-----cisco850(CPE)-------netgearSwitch(pvid 4001)------BRAS<br><br>cisco-850 gets a ip address from BRAS as <a href="http://172.16.1.3" target="_blank">172.16.1.3</a>. multibind interface at BRAS is <a href="http://172.16.1.254" target="_blank">172.16.1.254</a>.<br>
so when i try to ping <a href="http://172.16.1.254" target="_blank">172.16.1.254</a> from cisco, encapsulation fails, may be arp res<br><br>cpe1#sh run<br>Building configuration...<br><br>Current configuration : 1540 bytes<br>
!<br>version 12.4<br>
no service pad<br>service timestamps debug datetime msec<br>service timestamps log datetime msec<br>no service password-encryption<br>!<br>hostname cpe1<br>!<br>boot-start-marker<br>boot-end-marker<br>!<br>enable secret 5 $1$pb71$nc1Bi.IaAJLdMPXtXeggO0<br>
enable password test123<br>!<br>no aaa new-model<br>!<br>resource policy<br>!<br>ip subnet-zero<br>no ip routing<br>no ip dhcp use vrf connected<br>!<br>ip dhcp pool myownpool<br> import all<br> network <a href="http://192.168.100.0" target="_blank">192.168.100.0</a> <a href="http://255.255.255.0" target="_blank">255.255.255.0</a><br>
dns-server <a href="http://68.2.16.25" target="_blank">68.2.16.25</a> <br> lease 7<br>!<br>!<br>no ip cef<br>vpdn enable<br>!<br>!<br>!<br>!<br>!<br>! <br>!<br>!<br>!<br>interface FastEthernet0<br>!<br>interface FastEthernet1<br>
shutdown <br>
!<br>interface FastEthernet2<br> shutdown<br>!<br>interface FastEthernet3<br> shutdown<br>!<br>interface FastEthernet4<br> description "UPLINK connected to BRAS"<br> no ip address<br> ip virtual-reassembly<br> no ip route-cache<br>
duplex auto<br> speed auto<br> pppoe enable group global<br> pppoe-client dial-pool-number 1<br>!<br>interface Vlan1<br> description "dhcp interface for home-users"<br> ip address <a href="http://192.168.100.1" target="_blank">192.168.100.1</a> <a href="http://255.255.255.0" target="_blank">255.255.255.0</a><br>
ip nat inside<br> ip virtual-reassembly<br> no ip route-cache<br>!<br>interface Dialer0<br> ip address negotiated<br> ip mtu 1492<br> ip nat outside<br> ip virtual-reassembly<br> encapsulation ppp<br> dialer pool 1<br> dialer-group 1<br>
ppp chap hostname team@teambackbone<br> ppp chap password 0 team<br>!<br>ip classless<br>ip route <a href="http://0.0.0.0" target="_blank">0.0.0.0</a> <a href="http://0.0.0.0" target="_blank">0.0.0.0</a> Dialer0<br>!<br>
no ip http server<br>no ip http secure-server<br>
ip nat inside source list 1 interface Dialer0 overload<br>!<br>dialer-list 1 protocol ip permit<br>!<br>control-plane<br>! <br>!<br>line con 0<br> no modem enable<br>line aux 0<br>line vty 0 4<br> password test<br>
login<br>!<br>scheduler max-task-time 5000<br>end<br><br><br>cpe1#ping <a href="http://172.16.1.254" target="_blank">172.16.1.254</a> <br><br>Type escape sequence to abort.<br>Sending 5, 100-byte ICMP Echos to <a href="http://172.16.1.254" target="_blank">172.16.1.254</a>, timeout is 2 seconds:<br>
<br>*Mar 1 06:55:26.082: IP: tableid=0, s=<a href="http://172.16.1.4" target="_blank">172.16.1.4</a> (local), d=<a href="http://172.16.1.254" target="_blank">172.16.1.254</a> (Dialer0), routed via RIB<br>*Mar 1 06:55:26.082: IP: s=<a href="http://172.16.1.4" target="_blank">172.16.1.4</a> (local), d=<a href="http://172.16.1.254" target="_blank">172.16.1.254</a> (Dialer0), len 100, sending<br>
03C2C9D0: 45000064 004E0000 E..d.N..<br>03C2C9E0: FF016028 AC100104 AC1001FE 080031FD ..`(,...,..~..1}<br>03C2C9F0: 00130000 00000000 015E4ADC ABCDABCD .........^J\+M+M<br>03C2CA00: ABCDABCD ABCDABCD ABCDABCD ABCDABCD +M+M+M+M+M+M+M+M<br>
03C2CA10: ABCDABCD ABCDABCD ABCDABCD ABCDABCD +M+M+M+M+M+M+M+M<br>03C2CA20: ABCDABCD ABCDABCD ABCDABCD ABCDABCD +M+M+M+M+M+M+M+M<br><br><br> 1 06:55:26.082: IP: s=<a href="http://172.16.1.4" target="_blank">172.16.1.4</a> (local), d=<a href="http://172.16.1.254" target="_blank">172.16.1.254</a> (Dialer0), len 100, sending<br>
03C2C9D0: 45000064 004E0000 E..d.N..<br>03C2C9E0: FF016028 AC100104 AC1001FE 080031FD ..`(,...,..~..1}<br>03C2C9F0: 00130000 00000000 015E4ADC ABCDABCD .........^J\+M+M<br>03C2CA00: ABCDABCD ABCDABCD ABCDABCD ABCDABCD +M+M+M+M+M+M+M+M<br>
03C2CA10: ABCDABCD ABCDABCD ABCDABCD ABCDABCD +M+M+M+M+M+M+M+M<br>03C2CA20: ABCDABCD ABCDABCD ABCDABCD ABCDABCD +M+M+M+M+M+M+M+M<br>03C2CA30: ABCDABCD ABCDABCD ABCDABCD +M+M+M+M+M+M <br>*Mar 1 06:55:26.086: IP ARP: creating incomplete entry for IP address: <a href="http://172.16.1.254" target="_blank">172.16.1.254</a> interface Vlan1<br>
*Mar 1 06:55:26.086: IP ARP: sent req src <a href="http://192.168.100.1" target="_blank">192.168.100.1</a> 0018.1849.c9ee,<br> dst <a href="http://172.16.1.254" target="_blank">172.16.1.254</a> 0000.0000.0000 Vlan1<br>
*Mar 1 06:55:26.086: IP ARP: sent req src <a href="http://172.16.1.4" target="_blank">172.16.1.4</a> 0018.1849.c9ee,<br>
dst <a href="http://172.16.1.254" target="_blank">172.16.1.254</a> 0000.0000.0000 Dialer0<br>*Mar 1 06:55:27.086: IP ARP: sent req src <a href="http://192.168.100.1" target="_blank">192.168.100.1</a> 0018.1849.c9ee,<br>
dst <a href="http://172.16.1.254" target="_blank">172.16.1.254</a> 0000.0000.0000 Vlan1<br>
*Mar 1 06:55:27.086: IP ARP: sent req src <a href="http://172.16.1.4" target="_blank">172.16.1.4</a> 0018.1849.c9ee,<br> dst <a href="http://172.16.1.254" target="_blank">172.16.1.254</a> 0000.0000.0000 Dialer0.<br>
*Mar 1 06:55:28.086: IP ARP: sent req src <a href="http://192.168.100.1" target="_blank">192.168.100.1</a> 0018.1849.c9ee,<br>
dst <a href="http://172.16.1.254" target="_blank">172.16.1.254</a> 0000.0000.0000 Vlan1<br>*Mar 1 06:55:28.086: IP ARP: sent req src <a href="http://172.16.1.4" target="_blank">172.16.1.4</a> 0018.1849.c9ee,<br>
dst <a href="http://172.16.1.254" target="_blank">172.16.1.254</a> 0000.0000.0000 Dialer0<br>
*Mar 1 06:55:29.086: IP ARP: sent req src <a href="http://192.168.100.1" target="_blank">192.168.100.1</a> 0018.1849.c9ee,<br> dst <a href="http://172.16.1.254" target="_blank">172.16.1.254</a> 0000.0000.0000 Vlan1<br>
*Mar 1 06:55:29.086: IP ARP: sent req src <a href="http://172.16.1.4" target="_blank">172.16.1.4</a> 0018.1849.c9ee,<br>
dst <a href="http://172.16.1.254" target="_blank">172.16.1.254</a> 0000.0000.0000 Dialer0<br>*Mar 1 06:55:29.086: IP: s=<a href="http://172.16.1.4" target="_blank">172.16.1.4</a> (local), d=<a href="http://172.16.1.254" target="_blank">172.16.1.254</a> (Dialer0), len 100, encapsulation failed<br>
03C2C9D0: 45000064 004E0000 E..d.N..<br>03C2C9E0: FF016028 AC100104 AC1001FE 080031FD ..`(,...,..~..1}<br>03C2C9F0: 00130000 00000000 015E4ADC ABCDABCD .........^J\+M+M<br>03C2CA00: ABCDABCD ABCDABCD ABCDABCD ABCDABCD +M+M+M+M+M+M+M+M<br>
03C2CA10: ABCDABCD ABCDABCD ABCDABCD ABCDABCD +M+M+M+M+M+M+M+M<br>03C2CA20: ABCDABCD ABCDABCD ABCDABCD ABCDABCD +M+M+M+M+M+M+M+M<br><br><br></div>
</blockquote></div><br></div>