routing ...
Anastasios Mavroudeas
tmavr at clara.co.uk
Fri Jan 22 11:59:18 EET 1999
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 .
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 .
ifconfig :
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0
TX packets:0 errors:0 dropped:0 overruns:0
eth0 Link encap:Ethernet HWaddr 00:80:AD:30:22:4B
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7 errors:0 dropped:0 overruns:0
TX packets:7 errors:0 dropped:0 overruns:0
Interrupt:10 Base address:0x6c00
ppp0 Link encap:Point-to-Point Protocol
inet addr:195.8.77.91 P-t-P:195.8.83.11 Mask:255.255.255.0
UP POINTOPOINT RUNNING MTU:1500 Metric:1
RX packets:5 errors:0 dropped:0 overruns:0
TX packets:5 errors:0 dropped:0 overruns:0
[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
/etc/resolv.conf :
domain *my.*isp
nameserver w.x.y.z
nameserver a.b.c.d
opou *my.*isp o provider mou kai oi duo nameservers oi DNS servers tou
provider.
/etc/host.conf :
order host,bind
multi on
NAI, 8a to psaksw perissotero, alla kapoios apo esas isws va mporei va
me boh8hsei ligaki.
Filika,
Anastasios Mavroudeas
--
====================================================================
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