* [gentoo-user] netcard interface with alias
@ 2009-03-02 12:10 Zhu Sha Zang
2009-03-02 12:14 ` Tomáš Krasničan
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Zhu Sha Zang @ 2009-03-02 12:10 UTC (permalink / raw
To: gentoo-user
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I have 7 networks behind a machine with 5 network's device. Now, this
machine running debian, but i'll upgrade too gentoo. How i can create
a eth0:1, for example, using /etc/conf.d/net?
Thanks
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkmrzNAACgkQ35zeJy7JhCijFwCfaIgUYnNX3og3zQ/RMRyEb8vY
SmoAmgPshApqi3hLGxbuz/mXhOc6GVgK
=J1Fx
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] netcard interface with alias
2009-03-02 12:10 [gentoo-user] netcard interface with alias Zhu Sha Zang
@ 2009-03-02 12:14 ` Tomáš Krasničan
2009-03-02 12:18 ` Alan McKinnon
2009-03-10 5:11 ` Joshua Schmidlkofer
2 siblings, 0 replies; 6+ messages in thread
From: Tomáš Krasničan @ 2009-03-02 12:14 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 715 bytes --]
Hi,
the guide to networking in Gentoo (with examples) is avaible here:
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=4
Regards
krasko
Zhu Sha Zang wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I have 7 networks behind a machine with 5 network's device. Now, this
> machine running debian, but i'll upgrade too gentoo. How i can create
> a eth0:1, for example, using /etc/conf.d/net?
>
> Thanks
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkmrzNAACgkQ35zeJy7JhCijFwCfaIgUYnNX3og3zQ/RMRyEb8vY
> SmoAmgPshApqi3hLGxbuz/mXhOc6GVgK
> =J1Fx
> -----END PGP SIGNATURE-----
>
>
[-- Attachment #2: krasko.vcf --]
[-- Type: text/x-vcard, Size: 241 bytes --]
begin:vcard
fn;quoted-printable:Tom=C3=A1=C5=A1 Krasni=C4=8Dan
n;quoted-printable;quoted-printable:Krasni=C4=8Dan;Tom=C3=A1=C5=A1
email;internet:krasko@krasko.sk
tel;cell:+420 605 520 368
x-mozilla-html:FALSE
version:2.1
end:vcard
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] netcard interface with alias
2009-03-02 12:10 [gentoo-user] netcard interface with alias Zhu Sha Zang
2009-03-02 12:14 ` Tomáš Krasničan
@ 2009-03-02 12:18 ` Alan McKinnon
2009-03-02 12:33 ` Zhu Sha Zang
2009-03-10 5:11 ` Joshua Schmidlkofer
2 siblings, 1 reply; 6+ messages in thread
From: Alan McKinnon @ 2009-03-02 12:18 UTC (permalink / raw
To: gentoo-user
On Monday 02 March 2009 14:10:57 Zhu Sha Zang wrote:
> I have 7 networks behind a machine with 5 network's device. Now, this
> machine running debian, but i'll upgrade too gentoo. How i can create
> a eth0:1, for example, using /etc/conf.d/net?
The top section in the default /etc/conf.d/net says that more info is in
/etc/conf.d/net.example
If you look there, around about line 70, you'll find something about aliases.
--
alan dot mckinnon at gmail dot com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] netcard interface with alias
2009-03-02 12:18 ` Alan McKinnon
@ 2009-03-02 12:33 ` Zhu Sha Zang
2009-03-02 13:47 ` Graham Murray
0 siblings, 1 reply; 6+ messages in thread
From: Zhu Sha Zang @ 2009-03-02 12:33 UTC (permalink / raw
To: gentoo-user
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Alan McKinnon escreveu:
> On Monday 02 March 2009 14:10:57 Zhu Sha Zang wrote:
>> I have 7 networks behind a machine with 5 network's device. Now,
>> this machine running debian, but i'll upgrade too gentoo. How i
>> can create a eth0:1, for example, using /etc/conf.d/net?
>
> The top section in the default /etc/conf.d/net says that more info
> is in /etc/conf.d/net.example
>
> If you look there, around about line 70, you'll find something
> about aliases.
>
>
>
Yeah Yeah, i've already seen this net.example. But before change to
appropriate setting, don't appear any interface with alias, anda
occour some errors when try to initialize devices. And the routes used
by alias don't worked.
Someone had this working succesfully?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkmr0fwACgkQ35zeJy7JhCiCXwCgn24dcLSj/fAfSYwKGM+44AXz
ODUAn3gkAUPUadS3bEjs6ZvbnV77kUmV
=vldQ
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] netcard interface with alias
2009-03-02 12:33 ` Zhu Sha Zang
@ 2009-03-02 13:47 ` Graham Murray
0 siblings, 0 replies; 6+ messages in thread
From: Graham Murray @ 2009-03-02 13:47 UTC (permalink / raw
To: gentoo-user
Zhu Sha Zang <zhushazang@yahoo.com.br> writes:
> Yeah Yeah, i've already seen this net.example. But before change to
> appropriate setting, don't appear any interface with alias, anda
> occour some errors when try to initialize devices. And the routes used
> by alias don't worked.
>
> Someone had this working succesfully?
You do not need to use aliases. Using iproute2, you can have as many
(within reason) IP addresses as you want on each interface. You
configure it as
conf_eth0=( "1.2.3.4/24" "10.11.12.13/24" "20.21.22.23/24" )
For routing via the different networks use iproute2 rules, see the
postup() function (towards the end of /etc/conf.d/net.example) for an
example of how to set this up.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] netcard interface with alias
2009-03-02 12:10 [gentoo-user] netcard interface with alias Zhu Sha Zang
2009-03-02 12:14 ` Tomáš Krasničan
2009-03-02 12:18 ` Alan McKinnon
@ 2009-03-10 5:11 ` Joshua Schmidlkofer
2 siblings, 0 replies; 6+ messages in thread
From: Joshua Schmidlkofer @ 2009-03-10 5:11 UTC (permalink / raw
To: gentoo-user
On 3/2/09 4:10 AM, Zhu Sha Zang wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I have 7 networks behind a machine with 5 network's device. Now, this
> machine running debian, but i'll upgrade too gentoo. How i can create
> a eth0:1, for example, using /etc/conf.d/net?
>
> Thanks
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkmrzNAACgkQ35zeJy7JhCijFwCfaIgUYnNX3og3zQ/RMRyEb8vY
> SmoAmgPshApqi3hLGxbuz/mXhOc6GVgK
> =J1Fx
> -----END PGP SIGNATURE-----
>
>
>
>
Is there are reason you haven't considered something like pfSense for
this machine?
Sincerely,
Joshua
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-03-10 5:11 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-02 12:10 [gentoo-user] netcard interface with alias Zhu Sha Zang
2009-03-02 12:14 ` Tomáš Krasničan
2009-03-02 12:18 ` Alan McKinnon
2009-03-02 12:33 ` Zhu Sha Zang
2009-03-02 13:47 ` Graham Murray
2009-03-10 5:11 ` Joshua Schmidlkofer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox