Re: Mudando o MAC (HWaddr) de uma interface ethernet
Use: up e/ou pre-up
Do focalinux:
http://focalinux.cipsga.org.br/guia/intermediario/ch-etc.htm#s-etc-networks-interfaces
--- "Douglas A. Augusto" <daaugusto@yahoo.com.br>
wrote:
> On Wed, 21 May 2003 21:55:43 +0000
> Michelle Ribeiro <michelle@cipsga.org.br> wrote:
>
> > Você pode fazer em qualquer distribuição Linux com
> o ifconfig, opção hw.
> >
> > Um man ifconfig vai te ajudar bastante. :)
>
> Ok, feito.
> Agora estou em dúvida onde colocar esses parâmetros
> para que possam ser
> passados no momento da inicialização.
>
> meu /etc/network/interfaces está assim:
>
> ### etherconf DEBCONF AREA. DO NOT EDIT THIS AREA OR
> INSERT TEXT BEFORE IT.
> auto lo eth0 eth1
>
> iface lo inet loopback
>
> iface eth0 inet static
> address 192.168.0.2
> netmask 255.255.255.0
> broadcast 192.168.255.255
> gateway 192.168.0.1
>
> iface eth1 inet dhcp
> ### END OF DEBCONF AREA. PLACE YOUR EDITS BELOW;
> THEY WILL BE PRESERVED.
>
> Preciso passar 'hw ether XX:XX:XX:XX:XX:XX' ao
> ifconfig da 'eth1'. Já tentei
> colocar logo abaixo mas me parece que foi ignorado.
>
> Além disso, preciso que a rota seja sempre
> estabelecida no boot, no caso 'route
> add default dev eth1'. Qual o procedimento/local
> seria indicado?
>
> Grato,
>
> --
> Douglas Augusto
>
>
> --
> To UNSUBSCRIBE, email to
> debian-user-portuguese-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
>
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
Reply to: