Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

in this scenario

           [ net2 / ] ---- [ net1 / ] --- ( Internet )
                    |                          |      
                 < pc2 >                    < pc1 >

if i set pc2 inside a DMZ would it be able to interact with pc1 and any other devices as if they where both connected to the same router ? Would pc2 be able to send broadcast packets and recieve them, access and serve all ports without NAT forwarding

I'm unable to test this and cant find any straight answers to this question


share|improve this question

migrated from Feb 2 '12 at 3:01

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

Since you talk about DMZ I guess there is a firewall involved. So it completely depends on what firewall rules you configure! By the way, you didn't give the prefix lengths for and so it's not clear whether or not they're on the same layer 3 network. The only part of your question I can answer is about the broadcasts: assuming pc1 and pc2 are on separate layer 3 networks, they cannot of course communicate using broadcast packets. – Celada Feb 1 '12 at 22:21
Well to be more specific about the scenario, and sorry for not doing so in my previous post, the two networks are just two interconnected Linksys routers with stock firmware. net2 bas the range and net1 the range. The idea is to have pc2 (a home server) freely interact with net1 without physically moving it – user1116856 Feb 1 '12 at 22:27
Say en1 is your server (static) and en2 is lan (NAT) you have two options. 1 set incoming rule/s from en2 to en1 on specific ports you need. 21, 80, 443... etc. or 2 create a vpn account for en2. – atrueresistance Feb 1 '12 at 22:37
up vote 0 down vote accepted

Well it depends on your subnetting router setup. For instance

First host:
 Last host:

Total hosts: 254 Broadcast:

If I'm thinking correctly they can't talk unless you bridge the subnets via a router.

If they are just hooked to a hub I believe PC2 can send packets to PC1's location, but PC1 can't respond back, but don't quote me on that one.

share|improve this answer

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.