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.
- 07-01-2008 #1
- Join Date
- Jul 2008
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
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:126.96.36.199 P-t-P:188.8.131.52 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
and running 'route' gives
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
184.108.40.206 * 255.255.255.255 UH 0 0 0 ppp0
172.16.0.0 * 255.255.0.0 U 0 0 0 eth0
default 220.127.116.11 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?
- 07-01-2008 #2
- Join Date
- Jan 2007
[root@localhost]# /sbin/route add default gw xxx.xxx.xxx.xxx