How can I send a 0.0.0.0 local ip address to my isp?
I'm using ppp with demand dialing. It worked fine until 2 days ago, but
the ISP behaviour seems to have changed. Although it does dynamic IP
addressing, now it acks whatever ip address is requested, even addresses not
in its network.
For example:
Jul 2 13:30:29 Zaphod pppd[24249]: sent [IPCP ConfReq id=0x1 <addr 10.0.0.2>
<compress VJ 0f 01>]
Jul 2 13:30:29 Zaphod pppd[24249]: rcvd [IPCP ConfReq id=0x1 <compress VJ 0f
01> <addr 203.110.15.1>]
Jul 2 13:30:29 Zaphod pppd[24249]: sent [IPCP ConfAck id=0x1 <compress VJ 0f
01> <addr 203.110.15.1>]
Jul 2 13:30:29 Zaphod pppd[24249]: rcvd [IPCP ConfAck id=0x1 <addr 10.0.0.2>
<compress VJ 0f 01>]
Jul 2 13:30:29 Zaphod pppd[24249]: Remote IP address changed to 203.110.15.1
I can use another isp, which behaves correctly:
Jul 2 19:06:54 Zaphod pppd[1159]: sent [IPCP ConfReq id=0x1 <addr 10.0.0.2>
<compress VJ 0f 01>]
Jul 2 19:06:54 Zaphod pppd[1159]: rcvd [IPCP ConfNak id=0x1 <addr
130.195.8.52>]
Jul 2 19:06:54 Zaphod pppd[1159]: sent [IPCP ConfReq id=0x2 <addr
130.195.8.52> <compress VJ 0f 01>]
Jul 2 19:06:54 Zaphod pppd[1159]: rcvd [IPCP ConfAck id=0x2 <addr
130.195.8.52> <compress VJ 0f 01>]
Jul 2 19:06:56 Zaphod pppd[1159]: rcvd [IPCP ConfReq id=0x2 <compress VJ 0f
00> <addr 130.195.199.13>]
Jul 2 19:06:56 Zaphod pppd[1159]: sent [IPCP ConfAck id=0x2 <compress VJ 0f
00> <addr 130.195.199.13>]
Jul 2 19:06:56 Zaphod pppd[1159]: Local IP address changed to 130.195.8.52
Jul 2 19:06:56 Zaphod pppd[1159]: Remote IP address changed to 130.195.199.13
Unfortunately, I can only make limited use of this, so I need to get the other
isp working.
Frustratingly, Windows makes the connection correctly. It does so by sending
an initial request for 0.0.0.0, which is denied, and a valid address offered.
So I need to get pppd to do the same, but I can't make it happen. I have tried
various things:
If I use
/usr/sbin/pppd /dev/modem 115200 connect /usr/local/lib/connect debug crtscts
defaultroute demand holdoff 30 idle 600 :10.0.0.10 ipcp-accept-local
ipcp-accept-remote
it starts with and offers the default address 10.0.0.2 (from the hostname)
Adding noipdefault:
/usr/sbin/pppd /dev/modem 115200 connect /usr/local/lib/connect debug crtscts
defaultroute demand holdoff 30 idle 600 noipdefault :10.0.0.10
ipcp-accept-local ipcp-accept-remote
gives
Jul 3 17:32:47 Zaphod pppd[8751]: ioctl(SIOCSIFDSTADDR): Cannot assign
requested address(99)
Adding a non-zero local address selects that as the requested local address,
whether noipdefault is used or not.
Adding a zero local address
usr/sbin/pppd /dev/modem 115200 connect /usr/local/lib/connect debug crtscts
defaultroute demand holdoff 30 idle 600 noipdefault 0.0.0.0:10.0.0.10
ipcp-accept-local ipcp-accept-remote
has the same effect as not using one.
I'm using ppp 2.3.7 with kernel 2.2.9. I don't know what is at the other end.
The isp is not particularly helpful - they only support windows users.
Help, please.
--brian
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]