Find the answer to your Linux question:
Results 1 to 2 of 2
I am running pppd on uClinux on an Analog Devices processor platform to connect to the internet via a GPRS modem. In my ppp options file, I have the following ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2008
    Posts
    1

    PPPD : Remote IP same as local IP


    I am running pppd on uClinux on an Analog Devices processor platform to connect to the internet via a GPRS modem.

    In my ppp options file, I have the following options among others

    defaultroute
    ipcp-accept-local
    ipcp-accept-remote

    so that the IP and routing are done by the ppp daemon.

    After the IP is assigned to my system, running 'ifconfig ppp0' gives

    ppp0 Link encap:Point-to-Point Protocol
    inet addr:117.97.149.105 P-t-P:117.97.149.105 Mask: 255.255.255.255
    UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
    RX packets:10 errors:1 dropped:0 overruns:0 frame:0
    TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:3


    and running 'route' gives

    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    117.97.149.105 * 255.255.255.255 UH 0 0 0 ppp0
    172.16.0.0 * 255.255.0.0 U 0 0 0 eth0
    default 117.97.149.105 0.0.0.0 UG 0 0 0 ppp0

    Is it possible for the remote-IP (or the gateway IP) as assigned by the ISP to be same as the local IP assigned to the system?

    Regards,
    Aparna

  2. #2
    Just Joined!
    Join Date
    Jan 2007
    Posts
    4
    try this
    [root@localhost]# /sbin/route add default gw xxx.xxx.xxx.xxx

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •