[linux] Re: Is dit gedrag van TCP/IP normaal?

Hugo van der Kooij hvdkooij op vanderkooij.org
Wo Jul 27 11:02:06 CEST 2005


On Wed, 27 Jul 2005 asmuth op bakunin.xs4all.nl wrote:

> Ik zat achter een host met Red Hat Enterprise Linux 3.0.
> Ik (ingelogd als root) deed: ifconfig eth1 a.b.c.d netmask 255.255.255.0
> De host startte de interface en voegde er een statische route
> voor toe...
>
> Later deed ik: ifconfig eth1 down
> netstat -n -r geeft nu geen entry meer voor a.b.c.0
> ifconfig geeft geen entry voor eth1
> ifconfig eth1 geeft het adrees a.b.c.d, maar zonder 'UP' in de output
> ip addr geeft eth1 wel in de lijst, maar zonder het woord 'UP'
>
> Als ik nu 'ssh a.b.c.d' doe, dan krijg ik *wel* verbinding met localhost.
> Is dit een fout of hoort het zo?

Als je op de machine zelf zit weet de machine nog wel dat dit IP adres bij
zichzelf behoort dus uitwijken naar de localhost is niet zo vreemd.

Let ook op je entry in je host tabel.

Hugo.

-- 
	I hate duplicates. Just reply to the relevant mailinglist.
	hvdkooij op vanderkooij.org		http://hvdkooij.xs4all.nl/
		Don't meddle in the affairs of magicians,
		for they are subtle and quick to anger.



More information about the Linux mailing list