2 subnets
Quoted 5 lines · Bernardo Vieira
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.
Signature · 4 lines
[------------------------] Bet you can't stop reading here <--- [ [email protected] ] I knew it... [ http://epsilon.eu.org/ ] [------------------------]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'll give that a try.
thx!
Quoted 9 lines · Mariusz Kruk
Quoted 5 lines · Bernardo Vieira
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?
Quoted 13 lines
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-----