routing ...
Michalis Kabrianis
kabrianis at hellug.gr
Fri Jan 22 16:16:00 EET 1999
On 22-Jan-99 Anastasios Mavroudeas wrote:
> Gia,
> exw mperdeutei teleiws !!! Exw eva linux-pc (RedHat 5.1) subdedemevw se
> eva mikro ethernet network 3 H/Ywv. To IP tou linux-pc eivai 192.168.0.1
> kai ta alla duo pc exoun ta 192.168.2 kai 198.162.3 .
An exeis subnet mask 255.255.255.0 opws leei to ifconfig, mallon tha exoun
problima na milisoun ta 192.168.2 kai 192.168.3 diktya. Ektos an ennoeis IPs
192.168.0.2 kai 192.168.0.3 opw prepei.
> Sto linux-pc exw eva modem sthv com2. 8elw va suvdewmai me auto to
> modem sto internet. Xwris va kavw polla pragmata ... etre3a modemtool
> kai xisp. To configuration tou xisp eivai ok kai h suvdesh oloklhrovetai
> ... authorisation kai dynamic IP. Otav olla auta teleiwsouv kai kavw eva
> tuxew ping se kapoio server to ping pote dev apavtaei.
> Ypo8etw oti kati paei strava me to route, para8etw loipwv to output twv
> ifconfig kai route -n .
To ifconfig den dinei polles xrisimes plirofories, kai gi ayto to ekopsa. To
route omws....
> [root at kirki /root]# route -n
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 195.8.83.11 0.0.0.0 255.255.255.255 UH 0 0 0
> ppp0
> 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 2
> eth0
> 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 1
> lo
> 0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 2
> eth0
>
>
> Ok, dev uparxei default route kat'arxas... Isws kai kati va phgevei
> straba me ta /etc/resolve.conf /etc/host.conf
Lathos. Yparxei default route (to 0.0.0.0) to opoio pigainei sto 192.168.0.1
ara sto mesa diktyo, ara... sto chaos.
kane ena "route add default ppp0" (kai nomizw oti prepei prwta na tou dwseis to
route del default) kai logika tha paiksei.
Apo tin alli meria, prepei na exei mia tetoia ryhtmisi nomizw to xisp.
> NAI, 8a to psaksw perissotero, alla kapoios apo esas isws va mporei va
> me boh8hsei ligaki.
>
> Filika,
> Anastasios Mavroudeas
elpizw na paizei etsi.
-----------------------------
Michalis Kabrianis
kabrianis at hellug.gr
-----------------------------
--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at hellug.gr
Ta archives tis listas einai sto http://lists.hellug.gr
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