On Sun, 15 Aug 2004 16:52:57 GMT, Edog <(E-Mail Removed)> wrote:
> Hello all,
>
> I was issued 5 sequential IPs by my ISP (24.XXX.XXX.234-238) with a
> gateway set on my cable modem. (24.XXX.XXX.233).
>
> In order to achieve what we want to do with our ISA server and DMZ, we
> need to have two different subnets of public IP addresses. So I
> subnetted the 5 IPs into 2 seperate subnets. So now I have
> 24.XXX.XXX.234 and 235 that use 24.XXX.XXX.233 as a gateway. I then have
> 24.XXX.XXX.237 and 238. My ISA box uses .234 as the interface connecting
> to the internet, and has a default gateway assigned as 24.XXX.XXX.233.
> The other NIC is using 24.XXX.XXX.237 as it's IP with no default gateway
> set. (ISA reequirement) I also have an internal network in this machine
> assigned a 10 net range. That is set on the third NIC. (also no default
> gateway)
It sounds like your cable modem is a modem/router, so wouldn't it be
simpler to just put a switch on the cable modem/router with ISA box and
Linux connected directly to the switch?
> Finally the problem. The host I have on the DMZ is a Redhat box hosting
> my email and websites for my customers. I use the ISA box for my own
> internal mail. The problem is browsing the internet from the DMZ box. I
> am now almost certain it is due to the fact that I subnet my original IP
> block and the cable modem doesn't contain any routing information for
> that second IP range that I created by subnetting. Fine. I contacted the
> ISP and they want to charge me to get a second range of IPs and I don't
> want to do that.
There is nothing that says you cannot have the same IP on 2 different
interfaces as long as they have correct netmasks. In this case the .234
public interface would need netmask 255.255.255.255, broadcast same as IP,
host route to .233, and default gateway .233, and proxy arp enabled so it
would answer for Linux on the DMZ.
The DMZ interface could also have .234 IP netmask 255.255.255.255 and host
route to Linux IP.
If the ISA box does not do proxy arp, you could NAT the Linux box on a
private IP and forward necessary ports to it.
> My thoughts are to stick another Redhat box in between my Cable Modem
> and my ISA box and let THAT figure out the two subnets. So then my
> questions is how am I going to do that? With three nics? One assigned as
> the gateway for the two seperate subnets and the external using what? I
> only have 5 IPs to work here, so I am a little bit limited. Limited and
> confused as to what direction to head from here.
What would that do that a switch could not do. I assume the ISA box has a
decent firewall if it is on the internet now.
--
David Efflandt - All spam ignored
http://www.de-srv.com/