2 nic cards & file sharing within 2 networks

Status
Not open for further replies.

monsnet

Beta member
Messages
3
Hi,

Is there anybody who can help me to find out a solution of the problem illustrated below? as a newbie I eagerly need your help.

In my small office I have a computer (Ubuntu) with 2 nic card installed which are connected with a hub; the hub is connected with a router by which each computer can access internet.

2 nic card seperated the office network like this,

network one:
DHCP with gateway 192.168.1.1

Under this network, client pcs are- A: 192.168.1.3 (XP), B: 192.168.1.6 (XP), C:192.168.1.50 (Ubuntu)

Network two:
DHCP with gate with 192.168.0.1

Under this network, client pcs are- d: 192.168.0.5 (XP), e: 192.168.0.6 (XP), f:192.168.0.10 (XP)

What I need to do,
d,e and f can connect and share files with only c(ubuntu) not a or b

at the same time, all should access internet connection.

Bridging nic cards is the solution? Let me know all posibilities please.

Thanks
 
i would look to add a static route in the router and restrict access with a firewall rule. Does the router support static routes and firewall rules?
 
Thx for your reply.

I have a router with wan IP address 92.54.178.x
With lan IP 46.34.30.Y/29 (one is used by telephone system)
Subnet 255.255.255.248
PDNS 135.196.0.6
SDNS 135.196.0.14
I have a Linksys router.
I do not have installed any server except a ftp server.

All are assigned by my ISP. Please teach me in detail how can I use these IPs to solve my problem.

I appreciate your help in advance.
 
Status
Not open for further replies.
Back
Top Bottom