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

Gateway

hi sds,

#1: there is one DEFAULT gateway (this is quite normal). You can of course have other gateways by adding static routes later.

#2: the machines on the LAN must use the ASL as their default gateway. What IP they get depends on your current setup, you can keep the 10.0.0.x range, of course.


HTH,

/tom

[ 31 July 2001: Message edited by: tom ]


This thread was automatically locked due to age.
Parents
  • hello sds,

    i think the gateway you mean is the default gateway, which is normally your internet router.

    you have to install the firewall between your pc's and the gateway.
    the asl-box is the only one which has direct access to your internet gateway all other pc's (with normally private adresses like 10.x.x.x) have to use the asl as gateway.

    otherwise it wouldn't make sense   [;)] 

    you should walk around in the forum and also have a look at the documentation site of Astaro.

    then many questions will get answered   [:)] 

    regards, karsten
  • quote:
    Originally posted by tom:
    hi sds,

    #1: there is one DEFAULT gateway (this is quite normal). You can of course have other gateways by adding static routes later.

    [ 31 July 2001: Message edited by: tom ]



    Hi Tom,

    I live in an apartment that has 10/100MB ethernet connection. All my PCs are currently connecting to a Linksys switch.  Let's assume our default gateway value is 202.199.199.1 . When configuring local network during the installation, it suggests the IP for eth0 192.168.10.100 (or whatever the value is, I don't remember), then I need to change the default gateway to 202.199.199.1 ?

    It doesn't make any sense to use default gateway of public IP for LAN setting. I'm trying to understand.

    Thank you for your tip.

    Larry
  • All your internal systems will reside on an internal network using whatever IP numbers you chose.  They will have the Internal IP number, say 10.20.30.1, for the firewall system as their default gateway.

    In other words, if PC 10.20.30.41 wants to talk to a system that is not on your  10.20.30.0 network, it needs to talk to the firewall box and ask it to forward its traffic. So, its default gateway would be set to 10.20.30.1.

    The firewall system, on the other hand, needs to know how to talk to the internet, so its external IP number needs to be the one your ISP assigns and its default route also needs to be the one assigned by your ISP.  It will accept traffic from your internal boxes and send it to the outside world.

    Sakshale
  • quote:
    Originally posted by sakshale:
    All your internal systems will reside on an internal network using whatever IP numbers you chose.  They will have the Internal IP number, say 10.20.30.1, for the firewall system as their default gateway.

    In other words, if PC 10.20.30.41 wants to talk to a system that is not on your  10.20.30.0 network, it needs to talk to the firewall box and ask it to forward its traffic. So, its default gateway would be set to 10.20.30.1.

    The firewall system, on the other hand, needs to know how to talk to the internet, so its external IP number needs to be the one your ISP assigns and its default route also needs to be the one assigned by your ISP.  It will accept traffic from your internal boxes and send it to the outside world.

    Sakshale



    Hi Sakshale,

    Thank you for your explanation but my question is about the configuration for the internal NIC when you first run the installation on the Astaro box, not the clients behind this box. Do you take the suggested default gateway (I think it is 192.x.x.x) for eth0? 

    After finishing the installation, I tried to define the network for my eth1, I enter my external IP, netmask and it complains that my netmask (255.255.254.0) doesn't make sense for the external IP I just assigned even though that is the correct value for our external network. What should I do?

    I've heard great things about Astaro and just trying to make it to work.  I think the installation is somewhat confused for me.  I did read the manual. Maybe I need to read it again  [:)]  

    I have done several set up successfully with fwfloppy, EngardeLinux, Mandrake Single Network Firewall, except for Astaro.

    Thanks again for your help.

    -Larry
  • Larry,
    I have never used the suggested default gateway in the installation. 
    Remember - there is only ONE default gateway on your system, and it's irrelevant whether it's configured at the same time as your internal nic or not.
    You don't have to do this right during install though, as the only problem if it's not set properly, is that your box can't find the rest of the world.
    You then need to connect to the admin interface and set the default gateway.

       
    quote:
     
    After finishing the installation, I tried to define the network for my eth1, I enter my external IP, netmask and it complains that my netmask (255.255.254.0) doesn't make sense for the external IP I just assigned even though that is the correct value for our external network. What should I do?



    Ok, to give an exact answer to this, I would have to know the exact IP-address of your gateway, your ext-ip and the proper subnet mask. 
    BUT - some valid assumptions may work too.

    You mention ip 202.199.199.1 as a possible default gateway, and this is a class C IP-address.
    You also mention a netmask of 255.255.254.0
    This is not a standard class C netmask. A standard class C netmask has 255.255.255.0, or even 255.255.255.128 (or however you'd like to divide this subnet).

    If the default gateway ip is correct for the first octet, and the netmask you've given is correct - you are on a network which is supernetted (as opposed to subnetted)

    Supernetting is, if my memory doesn't fail me completely, a way to take several class C networks transforming them into a network with more hosts on it. I have not seen this in a long time, but of course it is still possible.

    The big Q now - is whether ASL supports supernetting!!

    The reason why ASL complains that the netmask doesn't make sense for the external IP you've assigned, is PROBABLY that the ip-address and netmask is matched against the classtype netmask and possible, allowed subnet alternatives.
    I don't know the logic behind ASL, so others will have to shoot or cheer me here :-)

    I have also used floppyfw, Mandrake SNF, as well as Smoothwall, ClarkConnect and others, and quite frankly - ASL is way way ahead of them all in most aspects that a business will expect of a professional firewall.

    I hope you get it working, and I hope some of the techies have an opinion on my thoughts on the supernetting issue.

    Best regards,
    Ørjan Sandland

    [ 28 August 2001: Message edited by: Ørjan Sandland ]
  • quote:
    Originally posted by Ørjan Sandland:
    Larry,
    I have never used the suggested default gateway in the installation. 
    Remember - there is only ONE default gateway on your system, and it's irrelevant whether it's configured at the same time as your internal nic or not.
    You don't have to do this right during install though, as the only problem if it's not set properly, is that your box can't find the rest of the world.
    You then need to connect to the admin interface and set the default gateway.

       Ok, to give an exact answer to this, I would have to know the exact IP-address of your gateway, your ext-ip and the proper subnet mask. 
    BUT - some valid assumptions may work too.

    You mention ip 202.199.199.1 as a possible default gateway, and this is a class C IP-address.
    You also mention a netmask of 255.255.254.0
    This is not a standard class C netmask. A standard class C netmask has 255.255.255.0, or even 255.255.255.128 (or however you'd like to divide this subnet).

    If the default gateway ip is correct for the first octet, and the netmask you've given is correct - you are on a network which is supernetted (as opposed to subnetted)

    Supernetting is, if my memory doesn't fail me completely, a way to take several class C networks transforming them into a network with more hosts on it. I have not seen this in a long time, but of course it is still possible.

    The big Q now - is whether ASL supports supernetting!!

    The reason why ASL complains that the netmask doesn't make sense for the external IP you've assigned, is PROBABLY that the ip-address and netmask is matched against the classtype netmask and possible, allowed subnet alternatives.
    I don't know the logic behind ASL, so others will have to shoot or cheer me here :-)

    I have also used floppyfw, Mandrake SNF, as well as Smoothwall, ClarkConnect and others, and quite frankly - ASL is way way ahead of them all in most aspects that a business will expect of a professional firewall.

    I hope you get it working, and I hope some of the techies have an opinion on my thoughts on the supernetting issue.

    Best regards,
    Ørjan Sandland

    [ 28 August 2001: Message edited by: Ørjan Sandland ]




    Orjan,

    Thank you so much for your tip.  I do, in fact, have a class C IP (209.163.x.x)and yes, the netmask is 255.255.254.0. I don't know what kind of network they use here, I'm just a resident in this apartment. So, I guess I will not be able to use Astaro since I can't never set up my external network due to netmask issue.

    I'm aware that Astaro is way way better than floppyfw, MD SNF, Smoothwall....I just want to compare the installation process and how easy it is to get them installed.  Maybe it was not the best example since those products do not provide what Astaro does, except for Mandrake SNF which does have similar features (only no DNS as I remember).

    I just hope Astaro developers will take these issues into consideration. After all the only reason for me to try out Astaro because of its good reputation.

    Cheers,

    -Larry
  • Larry, let's wait and hear what the astaro developers say before you throw in the towel :-) - nobody died and made me god of ASL :-))

    I still have a suitable floppyfw bootdisk here though, just in case any current firewall wants to make things difficult for me.

    The Mandrake SNF looked nice, but was very very unstable, and the Mandrake dev crew was nowhere to be found for help.

    If ASL doesn't take supernetting into consideration, perhaps it has an easy fix.

    Ørjan
  • hi larry,

    I'm sure we can set this up.

    I need the following data:

    1. Your ASL external IP
    2. The default gateway IP
    3. The netmask

    Just anonymize them by xxx-ing out the first 2 octets (not the last 2).

    I'll help you with installation then  

    /tom
  • Hi again,

    I've been exchanging emai with Tom but I still haven't got it to work yet. I understand Tom is trying to help me out on this netmask issue.

    Will keep you all posted.

    -Larry
Reply Children
No Data