Periergo fainomeno

Thalis Kalfigopoulos tkalfigo at alexandros.csd.auth.gr
Thu Apr 2 01:51:17 EEST 1998


On Wed, 1 Apr 1998, Peter Avgeris wrote:

> Proxtes agorasa 2 kartes diktyoy, tis 3com 509B, gia na syndesw to
> mhxanhma moy (Pentium) me ena palio PC, enan 486, poy adikws to eixa
> parapetameno sth gwnia. Egkatesthsa RedHat 5 ston 486, setara tis
> Ethernet kartes kai doylepse to LAN moy amesws, xwris to paramikro
> problhma. Ta panta doyleyoyn teleia sto LAN moy.
> Sto prwto (Pentium) toy exw dwsei IP 195.195.195.1 kai sto deytero (486)
> IP 195.195.195.2, me onomata pa1.pavgeris.gr kai pa2.pavgeris gr
> antistoixa (nick names pa1 kai pa2 antistoixa).
> Profanws sto resolv.conf exei prosteqei o name server 195.195.195.1, poy
> ton exw orisei domain name server. Ayto exei mpei profanws kai sta 2
> resolv.conf kai twn 2 mhxanhmatwn.
> 
> Molis prin apo ligo, prospaqhsa na bgw sto net me to arxiko mhxanhma,
> opws dhladh ekana pantote.
> Monaxa poy apo th stigmh poy synedesa ta PC se LAN kai ebala sto
> resolv.conf ton domain name server 195.195.195.1, to mhxanhma de blepei
> internet. Dokimasa na to balw katw katw sto resolv.conf, alla tzifos.
> 
> Exei kaneis ypopsh toy ti diaolo mporei na ftaiei gia ayto to periergo?
> 
> 
> --
> +---------------------------+-----------------------------------------+
> | Peter D. Avgeris          | Mechanical Engineer (N.T.U.A.)          |

Prose3e ta IP pou dialegeis. Se ekeina ta noumera pou paizeis ta kontinotera eleu8era gia ektos inet xrhsh einai to 192.168.xxx.xxx
Diavase to IP-masquerade mini howto sxetika me to pws na vgaleis me mia syndesh kai ta 2 mhxanhmata sto diktyo [einai epe3hghmatikotato kai aploustato]
Para8etw paragrafo sxetika me ta reserved gia xrhsh ektos inet IPs:
Section 3: Private Address Space
 
       The Internet Assigned Numbers Authority (IANA) has reserved the
       following three blocks of the IP address space for private networks:
 
                     10.0.0.0        -   10.255.255.255
                     172.16.0.0      -   172.31.255.255
                     192.168.0.0     -   192.168.255.255

Epishs ftia3e swsta to routing table sou...an 8eleis steilto alla nomizw oti h route exei aplh synta3h :-)

Sthn periptwsh sou kane: {an diale3eis 192.168.1.1 gia to Pentium kai 192.168.1.2 gia to 486}
[sto 486] 
# route add default netmask 0.0.0.0 gw 192.168.1.1 eth0 [ypo8etw oti auto einai to ethernet interface]
# route add -net 192.168.1.0 netmask 255.255.255.0  [gia to topiko ethernet.]

[Pentium]
# route add -net 192.168.1.0 netmask 255.255.255.0 
To default ston Pentium 8a bei otan arxiseiz ton pppd me defaultroute 
Epishs 8a vreis sto howto pou sou eipa 2 grammes [ipfwadm] pou prepei na tre3eis ston Pentium  gia na vgainei e3w to 486

Den eimai sigouros gia auta pou sou eipa...any corrections R welcome :-)
Tis 3 route pou sou grafw tis vazeis sto /etc/rc.d/rc.inet1 [se Slackware milaw.Einai sxedon etoima]

regards
thalis

---------------------
43rd Law of Computing:
        Anything that can go wr
Segmentation violation -- Core dumped   
--------------------

--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at argos.hol.gr
Ta archives tis listas einai sto http://www.argos.hol.gr/lists :
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users
====================================================================



More information about the Linux-greek-users mailing list