Re: lug-bg: ppp s razlichna netmask
- Subject: Re: lug-bg: ppp s razlichna netmask
- From: teodor@xxxxxxxxxxxxxxx (teodor@xxxxxxxxxxxxxxx)
- Date: Wed, 08 Aug 2001 13:14:24 +0300
Vasil Kolev wrote:
> Spored mene netmask opciqta trqbva da vurshi rabota...
> tova e ot man-a :
> netmask n
> Set the interface netmask to n, a 32 bit netmask in "decimal
> dot" notation (e.g. 255.255.255.0). If this option is given, the value
> specified is ORed with the default netmask.
> The default netmask is chosen based on the negotiated remote
> IP address; it is the appropriate network mask for the class of the remote
> IP address, ORed with the netmasks for
> any non point-to-point network interfaces in the system
> which are on the same network. (Note: on some platforms, pppd will always
> use 255.255.255.255 for the netmask, if that
> is the only appropriate value for a point-to-point
> interface.)
>
> zabelezhi note: ...
> Ne sum siguren dali v linux mozhe pointopoint interface da ima druga
> netmaska, vupreki che az ne vizhdam problem za tova.....
> (zavisi de :) fakticheski, s taq netmaska mozhe prosto da e netmaskata
> na route kojto se dobavq ... )
>
> Taka che ako opciqta ne raboti, shte ti preporucham da pravish
> ip route add xx.xx.xx.xx/28 dev $IFACE , vmesto toq ifconfig...
>
Dokolkoto znam, tazi opcia se prilaga pri tehnologii kato PPPoE (PPP over
Ethernet), tam si ima nuzhda ot
netmaska. I mai che patcha na pppd za PPPoE si go ima tova kato poddryzhka, no
mozhe i da gresha.
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|