RE: lug-bg: ppp s razlichna netmask
- Subject: RE: lug-bg: ppp s razlichna netmask
- From: dobber@xxxxxxxxxxxx (Ivan Dimitrov)
- Date: Wed, 8 Aug 2001 10:10:40 +0300 (EEST)
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
|