Guest User!

You are not Sophos Staff.

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

Need Help Configuring CIDR Block, 2 Different IP's

Hello,

I'm hopping that I posted in the correct Bulliten Board.

I've been on a DSL connection for sometime, using the Astaro User Bulletin Board, and Google, I learned how to configure the DSL modem as a "dumb" modem, and use Astaro as my "true gateway." In addition, I learned how to add additional external fixed IP addresses to the interface, configure DNAT/SNAT, etc.

Recently, I needed to change my service provider from a DSL connection to a Cable connection, in which I was provided a block of /16 fixed ip addresses for the same price as the DSL conneciton [:)]

I was provided with the IP information, something that struck me odd was that they provide me 2 sets of IP, needless to say my world came crashing down, I haven’t seen this type of stuff before (being new [:$] )

The information that was provided was as follows:

IP Address: 98.abc.de.fg9
GW: 98.abc.de.fg1
Netmask: 255.255.255.240
IP Address: 174.ab.cd.ef2/28
And the ip address of their DNS servers.

I was told that I am to use the 98.abc.de.fg9 as my external IP address and 98.abc.de.fg1 as my Gateway IP

I was also told the following:
1. 174.ab.cd.ef2 can not be used it's the "network address"
2. they suggested that 174.ab.cd.ef3 be the gateway
3. they also said that the last 174 ip address can not be used because it's the broadcast address?……and that was it.  [:S]

So, I configured my external nic from dsl to “Ethernet Standard” added the 98.abc.de.fg9 and 98.abc.de.fg1(GW) information, the Netmask accordingly. I rebooted the Firewall to be on the safe side, I understand that part of the puzzle.

After the reboot, I was able to get on the Internet without any problems.

My trouble is, how do I configure the other IP’s so that my servers are visible from the outside world? And how do I configure Masqerading (and DNAT/SNAT)?

I’m on Astaro Security Gateway Software version 7.510, with 3 NIC

Thanks for any assistance.

Dan


This thread was automatically locked due to age.
  • Which Cable company is this?

    You should be able to add 'additional addresses' on the External interface using the 174... addresses.

    Then you can DNAT the incoming traffic to your internal addresses.

    You can use Masquerading for your LAN, and you can also use SNAT if you want to tie outgoing traffic to different external IPs.

    You might want to setup a DMZ internally for your servers.

    Barry
  • Hello Barry,
     
    Thanks for your time,
     
    Which Cable company is this?

    ...Cox Cable

    I'll try your suggestions, based on what I learned when I was on the DSL connection. I'll keep you posted on the results.

    Once again, thanks.
  • Hello Barry,

    An update to my situation...

    1. I added one "additional" ip address from the CIDR block to the External Interface.
    2. Under Masquerading, I configured "Internal (Network)" ---> "External /113"...result: I was not able to connect to the internet.
    3. Changed the Masquerad to "Internal (Network)" ---> External...result: I was able to connect to the internet.
    4. Added another "additional" ip address from the CIDR block to the External Interface.
    5. Created a DNAT Rule: Internet->HTTPS->External [117] (Address), Destination Translation: Webmail...result, external client can not connect
    6. Changed the DNAT Rule to: Internet->HTTPS->External (Address), Destination Translation: Webmail...result, external client can connect.
  • re #5 & 6, which address are you trying to connect to for webmail (using DNS?)?

    Barry
  • #5: strictly via IP, ie 174.ab.cd.117 address for now
    #6: strictly via IP, ie 98.abc.de.249 address for now

    Dan
  • Hello Barry,
     
    Problem solved....I'm so frustrated, almost 2 weeks of wasted time/frustration. It turned out that the ISP provider did not provision the CIDR block correctly. After countless calls, I final won the lottery, with a Tech Support Rep that really took ownership of the problem, dived in to analysis it, and resolved it.

    Dan
  • Glad you got it resolved.

    Barry