From: "D. Stimits" <stimits@attbi.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] ethernet sub-interfaces??
Date: Tue, 11 Feb 2003 20:54:22 +0000 [thread overview]
Message-ID: <marc-lartc-104499682100750@msgid-missing> (raw)
In-Reply-To: <marc-lartc-104496685419776@msgid-missing>
Luis Miguel Cruz Miranda wrote:
> No I don't want ip aliases since I can't use it as devices into my
> netfilter-firewall script.
>
Perhaps you mean something like eth0:0, eth0:1, eth0:2, where each eth0
is the same hardware devies, and :0, :1, and :2 are different
IP/Mask/Networks? If you are in Redhat, ~ version 7.3+, you can go to
/etc/sysconfig/network-scripts/, and find a file named ifcfg-eth0 for
the first hardware device, ifcfg-eth1 for the 2nd device, so on. To add
a second IP/Mask/Network to eth0, you can create this file:
ifcfg-eth0:1. The contents of that file can be similar to:
DEVICE=eth0:1
ONBOOT=yes
BOOTPROTO=static
IPADDR\x10.0.0.0
NETMASK%5.0.0.0
BROADCAST\x10.255.255.255
D. Stimits
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
prev parent reply other threads:[~2003-02-11 20:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-11 12:31 [LARTC] ethernet sub-interfaces?? Luis Miguel Cruz Miranda
2003-02-11 12:41 ` Matthew S. Crocker
2003-02-11 13:57 ` Luis Miguel Cruz Miranda
2003-02-11 14:26 ` Bartek Krajnik
2003-02-11 14:32 ` Luis Miguel Cruz Miranda
2003-02-11 14:52 ` Matthew Crocker
2003-02-11 20:54 ` D. Stimits [this message]
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-104499682100750@msgid-missing \
--to=stimits@attbi.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.