On Thu, 23 Mar 2000, Lorenzo Canovi wrote:

|Since a month ago our ISP started to use network 10.x.x.x to set up his
|side of P-t-P:
|
|> ippp0     Link encap:Point-to-Point Protocol
|>           inet addr:212.216.141.209  P-t-P:10.31.92.42  Mask:255.255.255.255
|>           UP POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
|
|Of course, the other end (our end) of p-t-p has a valid internet ip. The
|questions are:
|
|1) I know that some RFC's says that a network 10.x.x.x cannot be used on
|internet. Does our isp pratice violates those RFCs?

No.  If the ISP will oblige then *you* can select the IP address (it should
be a reserved IP address though) that it will use for the PPP connection
and things work fine.  You can try doing that with, say, 192.168.0.1 and
see whether the ISP accepts it or not.

|2) We are using network 10 for our internal networks. We have a lot of
|lan, so the chance to hit the same ip used by our ISP are not so far.
|Can this produce problems?

I don't *think* so.  The IP address that the ISP uses seems to be a
convenience for local routing to the PPP interface.  You should be able to
put up a default network route to the PPP interface with, say, "route add
default ppp0", and then remove the host route, and the connection still
work fine. 

|My guess is that the route of a p-t-p (that is netmasked
|255.255.255.255) shouldn't hurt the  internal lan in any case, but
|sometime I'm in doubt.

Correct, except for the IP address that the ISP assigns itself for the PPP
connection.  If ipppd sets a host route to the PPP interface for that IP
address and then it overrides any other local network routing. 

|When I setup a default gateway via this ppp link, the routing bind is
|made on the device, on the first address, on the second address, on
|both? As I can see from the route -n report
|
|     0.0.0.0    0.0.0.0    0.0.0.0  U  0  0  0 ippp0
|
|seems that the default route is assigned to a "device", not ad
|"address".

Yes.  This is the default routing suggested above.  I was thinking in terms
of what pppd does but ipppd must do this by default.

|The doubts become from the fact that I can ping the first address (our
|side of p2p), but I can ping the other side, too. What happen if, for
|istance, my lan is exactly a 10.31.92.0 network? And if I have an host
|10.31.92.42 on it?

Again I don't *think* it will cause trouble.  The local network-specific
routing should override the default route through the PPP interface.

---
Clifford Kite                                               Not a guru. (tm)


-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to