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

 

начало

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

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

семинари ...

документи

как да ...

 

 

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

lug-bg: Problem with Internet server Again


  • Subject: lug-bg: Problem with Internet server Again
  • From: stan@xxxxxxxxxxx (Stanish Stanishev)
  • Date: Tue, 27 Jul 1999 14:41:50 +0300



mam slednia problem

triabva da se pusne linux server za celta az imam svoboni ip adresi :

212.56.1.102,
212.56.1.103,
212.56.1.104,
212.56.1.105,
212.56.1.106,
212.56.1.107,
212.56.1.108,
212.56.1.109
edinia ot tiah shte e ip na servera drugite shte sa za dial-upite

ega:
az vryzvam Linux mashinata po ppp za rutera kato mu zadadoh na pppto za
linuxa 212.56.1.102
za otsreshtnata strana na liniata 212.56.1.97 (rutera)-

linux mashinata e dostypna ot sveta i tia ima dostyp do sveta
obache dialup clienta moje da viojda samo linux mashinata i nishto navyn
sega
oshte ima i ehernet kontroler
koito sym go zabranil zashtoto inache pyk linux mashinata niama dostyp kym
sveta ako e aktiven

neshto rutiraniata ne sa v chas a i az neznam kak da se opravia
izprashtam rezultata ot netstat -nr
v momenta kogato niama dial up klienti

Kernel IP routing table

Destination Gateway Genmask Flags MSS Window irtt Iface

212.56.1.97 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0

127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo

0.0.0.0 212.56.1.97 0.0.0.0 UG 0 0 0 ppp0

i rezultata of ifconfig comandata

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:110 errors:0 dropped:0 overruns:0 frame:0
          TX packets:110 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0

ppp0      Link encap:Point-to-Point Protocol
          inet addr:212.56.1.102  P-t-P:212.56.1.97  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:122130 errors:5 dropped:0 overruns:0 frame:5
          TX packets:52462 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:10

i sled kato se dial up ne edin klient
Kernel IP routing table

Destination Gateway Genmask Flags MSS Window irtt Iface

212.56.1.97 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0

212.56.1.103 0.0.0.0 255.255.255.255 UH 0 0 0 ppp1

127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo

0.0.0.0 212.56.1.97 0.0.0.0 UG 0 0 0 ppp0

i ifconfig pak

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:110 errors:0 dropped:0 overruns:0 frame:0
          TX packets:110 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0

ppp0      Link encap:Point-to-Point Protocol
          inet addr:212.56.1.102  P-t-P:212.56.1.97  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:124752 errors:7 dropped:0 overruns:0 frame:7
          TX packets:53104 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:10

ppp1      Link encap:Point-to-Point Protocol
          inet addr:212.56.1.102  P-t-P:212.56.1.103  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:22 errors:2 dropped:0 overruns:0 frame:2
          TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:10

eto i rezultata ot route

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
212.56.1.97     *               255.255.255.255 UH    0      0        0 ppp0
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         212.56.1.97     0.0.0.0         UG    0      0        0 ppp0

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
212.56.1.97     *               255.255.255.255 UH    0      0        0 ppp0
212.56.1.103    *               255.255.255.255 UH    0      0        0 ppp1
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         212.56.1.97     0.0.0.0         UG    0      0        0 ppp0

212.56.1.103 e ip na dial up client

tova e rezultata ot Linux mashinata - tam sa izpylneni komandite

eto i dvata ppp.options ttyS0 e modema za ppp vryzkata mejdu rutera i Linux
mashinata
ttyD0 e modem zakachen na mnogoportovata platka

options.ttyD1
212.56.1.102:212.56.1.103
ms-dns 212.56.1.102
ms-dns 212.56.1.100
crtscts
modem
lock
proxyarp

options.ttyS0

asyncmap 0
212.56.1.102:212.56.1.97
proxyarp
defaultroute
lock
crtscts
modem
19200
-detach

lojil sym ip forwarding v linuxa
sys komandata echo "1">/proc/sys/net/ipv4/ip_forward

prosto i ideia niama zashto ne iskat dialup-ite da vijdat sveta

moje bi triabva tezi 8 adresa da sÁ chast ot otdelna mreja sys sobstvena
maska li ?!?
prosto neznam - za pyrvi pyt se sblyskvam s podoben problem

kak triabva da se postypi v edna takava situacia ?!?
za da moga da nakaram dialup userite da vijdat sveta i sveta da gi vijda
tiah

ysshto ne sym naiasno kakvo triabva da se nastroi za ethernet kontrolera
i dali triabva niakakvi routove da se slojat

i dali triabva neshto v rutera da se nastroiva ?!?

Blagodaria vi predvaritelno

hte ochakvam otgovora vi!

Stan
 P.S
RedHat 6.0 e linuxa mi

==================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
For more send to lug-bg-request@xxxxxxxxxxxx a single word 'info'
==================================================================



 

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

 

линукс за българи
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.