From: Adam Carter <adamcarter3@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Adding more than one static IP
Date: Tue, 25 Jan 2011 19:01:54 +1100 [thread overview]
Message-ID: <AANLkTinHWJrXb6Y_uRtOB8rM3kJ_eFtM27Xtg+KcOcHH@mail.gmail.com> (raw)
In-Reply-To: <AANLkTimby7W7Lx2QMwEr7xomuBS+PfW8xajKCRe4h3cK@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 890 bytes --]
> config_eth0=( "77.xxx.104.14/24" )
> routes_eth0=( "default via 77.xxx.104.1" )
> config_eth0:1=( "77.xxx.104.100/24" )
> routes_eth0:1=( "default via 77.xxx.104.1" )
> config_eth0:2=( "77.xxx.104.101/24" )
> routes_eth0:2=( "default via 77.xxx.104.1" )
> config_eth0:3=( "77.xxx.105.100/24" )
> routes_eth0:3=( "default via 77.xxx.105.1" )
>
You should let us know what you're trying to achieve with this. Every time I
have seen config like this, it has been because of fundamental
misunderstandings of networking. More that one IP address on a subnet
(unless there are VIPs) = fail.
Remember routing occurs at layer 3, and for most configs should have no
reference physical interface. The OS knows which interface the next hop can
be found. In your config you've set the same route three times which makes
no sense.
(ok i've oversimplified, but for 99.9% of cases the above is true)
[-- Attachment #2: Type: text/html, Size: 1255 bytes --]
next prev parent reply other threads:[~2011-01-25 8:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-24 15:15 [gentoo-user] Adding more than one static IP Amar Cosic
2011-01-24 15:28 ` Alan McKinnon
2011-01-24 17:59 ` Graham Murray
2011-01-25 3:35 ` Walter Dnes
2011-01-25 8:01 ` Adam Carter [this message]
2011-01-25 11:08 ` Amar Cosic
2011-01-25 16:48 ` Marius Vaitiekunas
2011-01-31 14:54 ` Bill Longman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTinHWJrXb6Y_uRtOB8rM3kJ_eFtM27Xtg+KcOcHH@mail.gmail.com \
--to=adamcarter3@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox