2 subnets
Hello,
My server is on Mandrake10.1
eth0 is WAN with static IP connected to 512Kbps DSL.
We have two subnets :
192.168.0.0/24
192.168.21.0/24
Clients on both subnets will browse, send/ recieve mails and use MSN or Yahoo chat.
Right now I am using eth1 as LAN as follows :
eth1 - 192.168.0.0/24
eth1:1 - 192.168.21.0/24
Right now I am using shorewall. But I would like to switch to iptables.
My question is having seperate network card for each subnets a better option.
eth1 and eth2.
Or eth1 and eth:1 is also fine
Thanks
Varun
Quoted 8 lines · On Thu, Apr 21, 2005 at 07:18:33PM +0500, [email protected] wrote:
Hello,
My server is on Mandrake10.1
eth0 is WAN with static IP connected to 512Kbps DSL.We have two subnets :
192.168.0.0/24 192.168.21.0/24
[...]
Quoted 6 lines
My question is having seperate network card
for each subnets a better option.eth1 and eth2.
Or eth1 and eth:1 is also fine
This depends on two things:
1. Do you want to physicaly separate these two network segments?
2. If you want to, for example, shape the traffic, you'll have a more complicated setup if you have separate interfaces.
Therefore it's up to you and depends only on your needs in this matter.
Signature · 4 lines
/\-\/\-\/\-\/\-\/\-\/\-\/\ Always remember that you are unique. Just \ [email protected] / like everyone else. / http://epsilon.eu.org/ \ \/-/\/-/\/-/\/-/\/-/\/-/\/
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 33 lines · Mariusz Kruk
Quoted 10 lines · On Thu, Apr 21, 2005 at 07:18:33PM +0500, [email protected] wrote:
Hello,
My server is on Mandrake10.1
eth0 is WAN with static IP connected to 512Kbps DSL.We have two subnets :
192.168.0.0/24
192.168.21.0/24[...]
Quoted 7 lines
My question is having seperate network card for each subnets a better option.
eth1 and eth2.
Or eth1 and eth:1 is also fine
This depends on two things:
1. Do you want to physicaly separate these two network segments?
2. If you want to, for example, shape the traffic, you'll have a more complicated setup if you have separate interfaces.Therefore it's up to you and depends only on your needs in this matter.