[LINUX:3265] Re: Bir interface'e 2 IP ???

Doruk Fisek (dfisek@piyon.net)
Thu, 14 Jan 1999 11:18:47 +0200 (EET)


On Thu, 14 Jan 1999, ilker Aktuna wrote:

> Linux'ta bir eth kartina 2 IP verilebilir mi ?
> hangi kernel ile ve nasil verilebiliyor ?
> simdiden tesekkurler.
IP-aliasing ile.

Kernel'da IP-Aliasing destegi varsa,

ifconfig eth0 195.174.232.5
ifconfig eth0:0 195.174.232.6
ifconfig eth0:1 195.174.232.7

route add -net 195.174.232.0 dev eth0
route add -host 195.174.232.5 dev eth0
route add -host 195.174.232.6 dev eth0:0
route add -host 195.174.232.7 dev eth0:1

gibi ethernet kartina degisik IP'ler atayabilirsin.

IP-Aliasing mini-howto'suna goz atmani tavsiye ederim.

Doruk


Listeden cikmak icin:
unsub linux
mesajini listeci@bilkent.edu.tr'a gonderiniz.
Lutfen Listeci icin MIME / HTML / Turkce Aksan kullanmayin.
Liste arsivinin adresi: http://listweb.bilkent.edu.tr/