LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Subnet Help (https://www.linuxquestions.org/questions/linux-networking-3/subnet-help-502019/)

msound 11-15-2006 07:39 PM

Subnet Help
 
Alrighty this is kind of a nooby question but please bare with me. I've been asked to segment our existing networks into 4 separate subnets. Right now all of our users have a 192.168.x.x address. I've been asked to setup a separate subnet for each of the 4 departments:

Accounting - 10.1.x.x
HR - 10.2.x.x
Admin - 10.3.x.x
IT - 10.4.x.x

Now I don't have a lot of experience (ok, no experience) working on a network with separate subnets. I do have experience with VLAN's however. So for example I could make each department the member or its down dept-specific VLAN. That would be a piece of cake with the switch we're using.

Now on to the linux portion of the question. Right now we have a linux file server with a 192.168.1.5 ip address. We also have a second file server with 192.168.1.6.

If each department is on a separate subnet, will they still all be able to access the same central file servers? Is the subnet irrelevant when it comes to access network shares in a single domain tree environment? I'm just having a hard time wrapping my mind around how this would all work.

Just to make it clear, I'm not worried about the different departments access eachother's shares. We're changing the subnets to try to keep the departments isolated from one another. So again the question comes back to how do I make my 2 linux file servers available on all 4 subnets?

amitsharma_26 11-16-2006 12:06 PM

Quote:

Originally Posted by msound
If each department is on a separate subnet, will they still all be able to access the same central file servers? Is the subnet irrelevant when it comes to access network shares in a single domain tree environment? I'm just having a hard time wrapping my mind around how this would all work.

Just to make it clear, I'm not worried about the different departments access eachother's shares. We're changing the subnets to try to keep the departments isolated from one another. So again the question comes back to how do I make my 2 linux file servers available on all 4 subnets?

Logically speaking; Being on a client side; because of subnet restriction you cannot go beyond your network & hence the scope dies but as a linux box can have as many virtual interfaces; placing a single virtual interface to those class C file servers & modifying smb.conf will make it work without a problem.

You can add virtual interface like
Code:

ifconfig eth0:1 10.1.x.254
ifconfig eth0:2 10.2.x.254
ifconfig eth0:3 10.3.x.254
ifconfig eth0:4 10.4.x.254



All times are GMT -5. The time now is 12:46 AM.