[EMAIL PROTECTED] wrote:

> I'm trying to get SLIP to work between two machines with a null cable.
> The problem:
> 
> I do:
>  ifconfig sl0 -pointopoint up

You would normally specify the IP address, e.g.

        ifconfig sl0 192.168.1.1

or even both addresses, e.g.

        ifconfig sl0 192.168.1.1 pointopoint 192.168.1.2

> then 
>  ifconfig sl0
> 
> displays
> 
> sl0 Link encap:VJ Serial Line IP  
>     inet addr:133.11.22.33  P-t-P:133.11.22.33  Mask:255.255.255.255
>               ~~~~~~~~~~~~        ~~~~~~~~~~~~
>           POINTOPOINT NOARP MULTICAST  MTU:296  Metric:1
>           RX packets:53 errors:0 dropped:0 overruns:0 frame:0
>              compressed:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           Collisions:0 compressed:0 

Right. You haven't specified any IP address, so you get what you're
given.

> Notice the same addresses. The result is this machines slipline
> has the address of the partner. Is this normal ?

No. "normal" is when the ifconfig command has the IP address(es)
specified.

> No matter what, I can't get the machines to understand their own IP
> and that of the partner. (tried specifying the address after -pointopoint
> without luck....)

But did you try specifying the interface's IP address?

-- 
Glynn Clements <[EMAIL PROTECTED]>

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

Reply via email to