Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

RE: lug-bg: ppp s razlichna netmask


  • Subject: RE: lug-bg: ppp s razlichna netmask
  • From: vasil@xxxxxxxxxxx (Vasil Kolev)
  • Date: Wed, 8 Aug 2001 12:25:22 +0300 (EEST)



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...

On Wed, 8 Aug 2001, Ivan Dimitrov wrote:

> tochno taka. ideata e da ostane v routing tablicata samo edno pravilo a ne
> 2. v momenta kolegata pravi tova s ip-up:
> ifconfig ppp0 localip pointopoint remoteip netmask 255.255.255.240
> i taka raboti.
> ideata e da se izbegne tozi ip-up i da se kaje netmaskata oshte pri
> puskane na ppp-to. ima li takava "raboteshta" opcia v /etc/ppp/options ?!?
>
>     Ivan Dimitrov
> System Administrator
>   dobber@xxxxxxxxx
>
> On Tue, 7 Aug 2001, Boyan Krosnov wrote:
>
> > ne e praw nikola!
> > maskata ne se negotiate-wa prez ipcp i moje da e kakwato chowek si iska
> > ot dwete strani na wryzkata
> > edinstwenoto i znachenie e kakkyw route shte se insertne w routing
> > tablicata na mashinata koqto runva ppp.
> >
> > primerno
> >
> > [1]---[2]-|
> >
> > 1 i 2 sa linuxki mashini zakacheni prez ppp. twa sled 2 e ethernet
> > 1 ppp0-> ip address 10.10.10.1 mask 255.255.255.0
> > 2 eth0-> ip address 10.10.10.2 mask 255.255.255.0
> > 2 ppp0-> ip address 10.10.10.2 mask 255.255.255.255, proxyarp
> >
> > bez da ima default route na 1 kym ppp0 interface-a pak shte moje da
> > pingwa drugite mashini w etherneta na 2 zashtoto shte ima route kym
> > 10.10.10.0/24 prez ppp0 a mashinite ot ethernet shte si mislqt che 1 e
> > na mac adresa na 2.
> > towa e samo primer i razbira se che ne e edinstweniq nachin po kojto
> > moje da mu hrumne na chowek da polzwa toq feature.
> >
> >
> > > -----Original Message-----
> > > From: Jordan Dimitrov [mailto:jordan@xxxxxxxxx]
> > > Sent: Tuesday, August 07, 2001 6:58 PM
> > > To: lug-bg@xxxxxxxxxxxxxxxxxx
> > > Subject: Re: lug-bg: ppp s razlichna netmask
> > >
> > >
> > > Chakaj malko Vasile. Neshto ne razbiram tuka. Mislja si, che Ivan ima
> > > edna gateway machina s 2 interface, t.e. 1 modem za wruzka s ISP-to i
> > > pone 1 mrezhowa karta za lichnata (private) mrezha. Ta tozi
> > > gateway ima
> > > 2 IP adresa. Na modema e publichen i validen adres registriran w
> > > http://www.icann.org/, a na lichnata mrezha e publichno
> > > nevaliden adres.
> > > Kak togawa shte stane re-routewaneto samo s netmask hitrinki? Tuk
> > > trjabwa IPNAT. Ako wuobshte za towa stawa wupros. A inache Nikola e
> > > prav. PPP ne mozhe da ima druga netmask osven ff.ff.ff.ff
> > > ============
> > > Jordan (at home)
> > > http://www.cse.dmu.ac.uk/~jordan/
> > >
> > > >Date: Tue, 7 Aug 2001 18:12:25 +0300 (EEST)
> > > >From: Vasil Kolev <vasil@xxxxxxxxxxx>
> > > >
> > > >Ideqta mu , dokoloto razbiram, e druga - da se routira
> > > cqlata mrezha s
> > > >netmask 255.255.255.0 prez toq interface - t.e. da slozhi
> > > takuv netmask na
> > > >iface i route s takuv netmask, suotvetno.
> > > >
> > > >On Tue, 7 Aug 2001, Nickola Kolev wrote:
> > > >
> > > >> > vuzmojno li e da se okaje v /etc/ppp/options da ne puska
> > > standartnata
> > > >> > maska 255.255.255.255 a nqkoq druga. znam che ima opcia
> > > "netmask" no ot
> > > >> > testovete se vijda che neraboti i pak si slaga 255 nakraq.
> > > >> >
> > > >> >     Ivan Dimitrov
> > > >> > System Administrator
> > > >> >   dobber@xxxxxxxxx
> > > >>
> > > >>
> > > >> mi tova e Point To Point vryzka. Ne mozhesh da imash
> > > poveche ot 2 pointa,
> > > >> tyi che kak tochno she slozhish maska, razlichna ot .255
> > > na dvata kraq? :))
> > > >>
> > >
> > > ==============================================================
> > > =============
> > > A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
> > > http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd.
> > > - Stara Zagora
> > >
> > ===========================================================================
> > A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
> > http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
> >
>
> ===========================================================================
> A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
> http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
>

===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora



 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.