This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Desparate DMZ help needed!

Hi all,

I have added a third NIC to my ASL 4 box to use for a DMZ.

Currently my LAN is setup with the following 

Internal (eth0)
IP: 192.168.0.1 / 255.255.255.0
Gateway:  none

External (eth1)
IP: (public IP) / (public mask)
Gateway: (public gw)

DMZ (eth2)
IP: 192.168.1.1 / 255.255.255.0
Gateway: none

So you see I'm attempting to use private IP's for my DMZ?  
Is this OK?  I know I will have to Masq the DMZ and setup the 
appropriate rules so machines can get out to the Internet.

My problem is that I want to setup a Linux server in the DMZ 
to host http, smtp, ssh.  I assigned it the private IP
192.168.1.2/255.255.255.0 to it, but I do not know what 
default gateway to assign.  When I attempt to use route 
to assign 192.168.0.1 the default gateway to it, it complains 
that the network is unreachable.  I can ping the external 
interface and the dmz interface from this server in the dmz.

What am I doing wrong?  What should I be doing?  Is this a 
valid configuration I am even attempting?  

Any help on this would be greatly appreciated!  I am desparate 
to get this working.  Thanks in advance for any help on this.

Thanks!  


This thread was automatically locked due to age.
Parents
  • Hi, 
    your linux server is the dmz needs the default gateway 192.168.1.1. This is the firewall interface in the DMZ. If you use the 192.168.0.1 the message "unreachable" is correct, because, a gateway and a host have to be in the same network. 192.168.0.1 is the gateway for your internal LAN.
    I hope this helps.
    Karsten.   
Reply
  • Hi, 
    your linux server is the dmz needs the default gateway 192.168.1.1. This is the firewall interface in the DMZ. If you use the 192.168.0.1 the message "unreachable" is correct, because, a gateway and a host have to be in the same network. 192.168.0.1 is the gateway for your internal LAN.
    I hope this helps.
    Karsten.   
Children
  • Hi Karsten,

    Yeah, right after I had posted my problem, I searched through the messages again in this forum and was able to figure it out, and then I came back later and seen that you had the same response.  I need a refresher course in TCP/IP badly...  

    Thanks for your help!

      =Jeffrey=