routing ...

Keramidas Giorgos keramida at ceid.upatras.gr
Fri Jan 22 16:17:03 EET 1999


On Fri, 22 Jan 1999, Anastasios Mavroudeas wrote:

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

Yparxei default-route kai eivai to

    Destination  Gateway      Genmask  Flags Metric Ref  Use
    0.0.0.0      192.168.0.1  0.0.0.0  UG    0      0    2   etho0
    ^^^^^^^                            ^^                    ^^^^^

me upogrammismeva ta snmeia pou exouv sxesn me to problnma sou.  Opws
blepw loipov, to default route sou stelvei ta paketa pisw sto ethernet
interface sou (auo snmaivei to `eth0' sto telos tns grammns), evw poio
fusiologiko 0a ntav va ta ksapostelvei sto ppp sou ola, ektos apo auta pou
eivai gia to eth0, pou etsi ki alliws kavouv match me tnv deuterh eggrafh
tou routing table sou kai dev prokeitai va xathouv.

Favtazomai, pws sto /etc/ppp/options sou (to arxeio me ta options tou pppd
sou, telospavtwv) dev exeis to option `defaultroute' pou 0a sou allaksei
to routing entry tou 0.0.0.0 va deixvei sto ppp0 molis petuxei to connect.
Av dev to 'xeis, va to baleis parauta kai va avapseis eva keri stov agio
R.W.Stevens, protou diabaseis kapoio RFC sxetiko me routing :)

Me 'geia to kaivourio sou routing table :)))

/keramida

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