Gentoo Archives: gentoo-user-br

From: Eduardo Schoedler <eschoedler@×××××××××××.br>
To: gentoo-user-br@l.g.o
Subject: Re: [gentoo-user-br] alias de interface de rede
Date: Mon, 02 Mar 2009 12:17:05
Message-Id: DE481AF5E8744766803523446F3C342B@viaadmredesold
In Reply to: [gentoo-user-br] alias de interface de rede by Zhu Sha Zang
1 Já foi dito aqui na lista.
2 Existem váááriooooos exemplos em /etc/conf.d/net.example
3
4 Para seu caso específico, está dentro desse arquivo:
5
6 # If you need more than one address, you can use something like this
7 # NOTE: ifconfig creates an aliased device for each extra IPv4 address
8 # (eth0:1, eth0:2, etc)
9 # iproute2 does not do this as there is no need to
10 #config_eth0=(
11 # "192.168.0.2/24"
12 # "192.168.0.3/24"
13 # "192.168.0.4/24"
14 #)
15
16
17
18 Abraço,
19 Eduardo.
20
21
22 --------------------------------------------------
23 From: "Zhu Sha Zang" <zhushazang@×××××××××.br>
24 Sent: Monday, March 02, 2009 9:07 AM
25 To: <gentoo-user-br@l.g.o>
26 Subject: [gentoo-user-br] alias de interface de rede
27
28 > -----BEGIN PGP SIGNED MESSAGE-----
29 > Hash: SHA1
30 >
31 > Hey galera, bom dia
32 >
33 > Como posso usar 7 redes com 5 placas de rede? Atualmente o sistema usa
34 > debian com alias de rede (eth0:1, eth2:1, por exemplo). Como fazer
35 > algo desse tipo no gentoo configurando pelo /etc/conf.d/net?
36 >
37 > Obrigado.
38 > -----BEGIN PGP SIGNATURE-----
39 > Version: GnuPG v2.0.9 (GNU/Linux)
40 > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
41 >
42 > iEYEARECAAYFAkmry/4ACgkQ35zeJy7JhChYZACcCET8o/siNSJTb4sp9dYud9i5
43 > NrgAnixrCZSfFOp5TxGJG6ut1PIxrr32
44 > =R5h3
45 > -----END PGP SIGNATURE-----
46 >
47 >