Re: zmiana adresu eth


Autor: jedensen (jedensen_at_insurance.waw.pl)
Data: pon 07 paź 2002 - 14:56:09 CEST


On Monday, October 07, 2002 1:32 PM,
Admin ZST- E <admin_at_zst.kalisz.pl> wrote:

> Wydajac polecenie:
> ifconfig eth0 192.168.1.1 netmask 255.255.255.0 up
> skonfigurujemy pierwsza sieciowke, tak iz bedzie ona miala
> IP 192.168.1.1, a jej maska podsieci to 255.255.255.0
>
> W podobny sposob mozemy skonfigurowac nastepne karty sieciowe
> zastepujac eth0 na np. eth1 Jezeli chcemy wylaczyc dany
> interfejs wpisujemy np.: ifconfig eth0 down

dodajac mozna nadac dwa adresy IP tworzac wirtualne sieciowki:
ifconfig eth0:0 <inne IP> [netmask <netmask>]

> Zmiana MAC Adresu Karty sieciowej:
> ifconfig eth0 hw ether 00:C0:DF:F2:D4:9D 192.168.1.1 netmask
> 255.255.255.0 up
> Dzieki temu interfejs eth0 bedzie mial adres MAC 00:C0:DF:F2:D4:9D,
> IP 192.168.1.2, a jego maska to 255.255.255.0

tu chyle czola i zwracam honor

... i pozdrawiam
____________________________________________
jedensen
GG#3383394



To archiwum zostało wygenerowane przez hypermail 2.1.5 : pią 03 sty 2003 - 19:12:42 CET

Wyprawa Shackleton 2014