Re: [LINUX:1632] RedHat 5.0 da sorunum var

Gorkem Cetin (e077245@narwhal.cc.metu.edu.tr)
Thu, 2 Apr 1998 22:43:32 +0300 (MEST)


Selam.

``ifconfig down'' komutundan sonra ``ifconfig up'' demenin ardindan
yonlendirme tablosunu tekrar duzeltmen gerekir.. Ornegin :

[root@localhost /root]# ifconfig lo down
[root@localhost /root]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:80:AD:C8:B6:31
inet addr:144.122.202.114 Bcast:144.122.202.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:43522 errors:0 dropped:0 overruns:0
TX packets:22711 errors:0 dropped:0 overruns:0
Interrupt:3 Base address:0x280

Her sey normal calisiyor gorunuyor. loopback surucuyu kaldiralim.

[root@localhost /root]# ifconfig lo down
[root@localhost /root]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
144.122.202.0 * 255.255.255.0 U 0 0 12 eth0
default cisco7507-202.c 0.0.0.0 UG 0 0 17 eth0
[root@localhost /root]#

lo yonlendirme bilgisi kayip. Bu durumda

[root@localhost /root]# telnet 144.122.202.114
Trying 144.122.202.114...
telnet: Unable to connect to remote host: Network is unreachable
[root@localhost /root]#

hatasini alirim. Ama yeniden loopback yonlendirme ayarlarini yaparsam,

[root@localhost /root]# route add 127.0.0.1
[root@localhost /root]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
localhost * 255.255.255.255 UH 0 0 0 lo
144.122.202.0 * 255.255.255.0 U 0 0 15 eth0
default cisco7507-202.c 0.0.0.0 UG 0 0 21 eth0

tekrar kendi makinama ulasabilirim :

[root@localhost /root]# telnet 144.122.202.114
Trying 144.122.202.114...
Connected to 144.122.202.114.
Escape character is '^]'.

Turkuaz GNU/Linux 0.99.3
login:
^D

RedHat'in hangi paket program ile ag ayarlarini yaptigini bilmedigim icin
/etc/rc.d/rc.local'a istedigimi yerlestiriyorum.

Iyi calismalar,
Gorkem

On Thu, 2 Apr 1998, Selami AKSOY wrote:

> Merhaba.. RedHat 5.0 da bir sorunum var. Makine aCIldIGInda kendiliGinden
> loopback aktif olmuyor.
>
> root:~# ifconfig
> eth0 Link encap:Ethernet HWaddr 00:00:01:00:71:77
> inet addr:193.140.87.17 Bcast:193.140.87.255 Mask:255.255.255.0
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:31 errors:0 dropped:0 overruns:0
> TX packets:20 errors:0 dropped:0 overruns:0
> Interrupt:9 Base address:0x6100
>
> Her seferinde "ifconfig lo up" diyerek up ediyoruz. Bunu otomatik nerden
> yaptIrabiliriz acaba?
>
> Tamam bunu hallettik diyelim. Bir de SOyle bir sorun var.
>
> root:~# ifconfig lo up
> root:~# 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:00:01:00:71:77
> inet addr:193.140.87.17 Bcast:193.140.87.255 Mask:255.255.255.0
> ^^^^^^^^^^^^^
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:1115 errors:0 dropped:0 overruns:0
> TX packets:1267 errors:0 dropped:0 overruns:0
> Interrupt:9 Base address:0x6100
>
> root:~# telnet 193.140.87.17
> Trying 193.140.87.17...
> telnet: Unable to connect to remote host: Network is unreachable
>
> NasIl yani?
> Bu durumda iken makineye dISardan telnet Cekilebiliyor.
> Sadece iCerden Cekilemiyor. ilginC bir durum. AnlayamadIm.
> Redhat'In localhost tan telnet Cekilmesine bi gIcIklIGI filan mI var acaba?
>
> Bu arada netcfg proGramI loopback Uzerinde bir deGiSiklik yapmaya mUsade
> etmiyor. proGramI aCtIGImda lo down gOzUkUyor. up et diyorum beceremiyor.
> usernet mi ne Oyle birSey var o up edebiliyor ama. Programlarda biraz bug
> var herhalde.
>
> ---
> SaygIlar, Sevgiler
> SeLaMi.
>