Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have two internal networks that are connected to each other and

I am trying to make devices on the network be able to access the devices on the network and vice versa.

My questions is what is the networking term used to "bridge/route" traffic between the two networks making each other available to one another.

Also what is the process in getting this going using iptables?

share|improve this question

migrated from Jun 1 '12 at 16:11

This question came from our site for professional and enthusiast programmers.

1 Answer 1

It is called forwarding. You need a router between them, which knows the routes to each of those networks (if it's directly connected to them, it knows the routes automatically). Also the client PCs default gateway (router also) needs to know the way (route) to them (via another router). If they are both connected to the same router, then they should see eachother fine without any other devices. If they are on separate routers, and each has an unused interface, you can connect the routers, and set up routes for the networks.

If you have more networks, and need the routers to be able to set up routes dynamically, you also need one of the routing protocols (RIP, OSPF, IS-IS,...).

You don't need iptables for routes and basic forwarding. You'd need iptables for NAT or firewall.

If you want a better answer, you should explain more (IPs with netmasks, and the connection scheme, what is connected to what and how, etc.).

share|improve this answer
The issue im having is the following. I am using ClearOS as my router and within that network ( I have an OpenVPN Access Server( at giving out ips which when in Layer 3 (Routing/NAT) mode I cannot access the other peers of the network. If I enable Layer 2 mode with Bridging I can access all peers on the network without a problem however it does not currently Support Mac clients. What i'd like to do is create a separate network in openvpn for clients and make it able to view network. Any suggestions? – Nick M. Jun 1 '12 at 22:12

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.