[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: two networks sharing one router

You can use a linux box as a firewall with three ethernet interfaces:
1) eth0 on the router
2) eth1 on the 1st lan
3) eth2 on the 2nd lan
You connect patch panels directly on the firewall, then using simple
iptables rules you can allow internet connection for the 2 lans by
masquerading 2 different subnet (for instance 10.100.X.X and 10.200.X.X)
You must configure the router to route packets on the linux-box external
interface (eth0).

> I have two networks which belong to two different companies in a building
> and one broadband internet connection. I decided to buy an inexpensive 4
> port router and plug each hub to 2 of the 4 ports on this router.
> Questions
> are:
> 1. Is it possible to have both networks use the same internet connection
> in
> this way?
> 2. Is it possible to prevent the computers see the other network's
> computers? If yes, how?
> Thanks
> M. Civan Camkiran
> --
> To UNSUBSCRIBE, email to debian-firewall-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org

Reply to: