Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Bernardo Vieira <bernardo.vieira@terra.com.br>
To: netfilter@lists.netfilter.org
Subject: Re: 2 subnets
Date: Fri, 22 Apr 2005 11:09:14 -0300	[thread overview]
Message-ID: <4269058A.7020208@terra.com.br> (raw)
In-Reply-To: <20050422132502.GA19589@epsilon.rdc.pl>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
I'll give that a try.
thx!


Mariusz Kruk wrote:

> On Thu, Apr 21, 2005 at 12:19:33PM -0300, Bernardo Vieira wrote:
>
>> Getting a ride on Mariusz's question, but probably deviating off
>> topic: I if a had the setup where the two subnets run off the
>> same network card on virtual interfaces, i.e. not physically
>> separeted, could I still run a DHCP server on them? How about
>> bandwidth limiting? Could anyone give me some pointers?
>
>
> To clarify the things, the ethX:Y is a obsolete notation. This was
> the only way to specify multiple IPs on one physical interface up
> to 2.0 or 2.2 line of kernels. It's still provided for
> compatibility reasons, I think. With modern kernels and tools you
> don't have to use this notation at all. Kernel itself doesn't know
> a thing about something called, for example, eth1:2. It's just
> another IP addr added to eth1 interface. Therefore, you can
> normally configure DHCP to bind to interface eth1 and assign IPs
> from both nets based on MAC address of requesting host. If you
> route the packets, it's irrelevant whether you push them to eth1 or
> eth1:2. They end up on the same interface. So you can still attach
> your queues and disciplines to eth1.
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
 
iD8DBQFCaQUugs4DP681Hi8RAtGwAKCxmRqHJJ1wdzL9GTuYhtai4uNL1ACfRmqf
qeRHJwqLeFHRWvS/DNDOnzk=
=oxgL
-----END PGP SIGNATURE-----



  reply	other threads:[~2005-04-22 14:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-22 13:25 2 subnets Mariusz Kruk
2005-04-22 14:09 ` Bernardo Vieira [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-04-21 14:18 varun_saa
2005-04-21 14:25 ` Mariusz Kruk
2005-04-21 15:19   ` Bernardo Vieira

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=4269058A.7020208@terra.com.br \
    --to=bernardo.vieira@terra.com.br \
    --cc=netfilter@lists.netfilter.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