2 subnets

Bernardo Vieira bernardo.vieira at terra.com.br
Fri Apr 22 16:09:14 CEST 2005

Hash: SHA1
I'll give that a try.

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.
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

More information about the netfilter mailing list