All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jose Luis Domingo Lopez <lartc@24x7linux.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Aliases and Multipath
Date: Mon, 08 Dec 2003 12:35:42 +0000	[thread overview]
Message-ID: <marc-lartc-107088857012911@msgid-missing> (raw)
In-Reply-To: <marc-lartc-107055227804578@msgid-missing>

On Thursday, 04 December 2003, at 11:06:58 -0400,
Guillermo Gomez wrote:

> Does anyone know if i can use ethernet aliases like eth0:1 in advanced
> routing like multipath routing in order to avoid to have nxEthernet
> interfaces in my Linux box.
> 
I think it is always better to think "in ip terms" instead of "in
ifconfig terms" with respect to multiple IP addresses assigned to the
same network interface.

I don't know exactly for "ifconfig", but the syntax for "ip address"
states clearly what seems to be happening behind the scenes:
# ip address add 172.16.1.1/24 broad + dev eth1
# ip address add 172.16.2.1/24 broad + dev eth1
# ip address add 172.16.3.1/24 broad + dev eth1

So what you are doing is assigning several IP to the same physical
interface, and you deal just with IP, anything else.
# ip address show dev eth1
2: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:05:1c:09:f2:14 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.12/24 brd 192.168.1.255 scope global eth0
    inet 172.16.1.1/24 brd 172.16.1.255 scope global eth0
    inet 172.16.2.1/24 brd 172.16.2.255 scope global eth0
    inet 172.16.3.1/24 brd 172.16.3.255 scope global eth0

Greetings.

-- 
Jose Luis Domingo Lopez
Linux Registered User #189436     Debian Linux Sid (Linux 2.6.0-test10-mm1)
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

  parent reply	other threads:[~2003-12-08 12:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-04 15:06 [LARTC] Aliases and Multipath Guillermo Gomez
2003-12-05 14:03 ` Guillermo Gomez
2003-12-08  0:37 ` Damion de Soto
2003-12-08 11:34 ` Guillermo Gomez
2003-12-08 12:35 ` Jose Luis Domingo Lopez [this message]
2003-12-10  4:12 ` Damion de Soto

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=marc-lartc-107088857012911@msgid-missing \
    --to=lartc@24x7linux.com \
    --cc=lartc@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.