Koozali.org: home of the SME Server

can't add hostname if the ip is a gateway

Offline horsedog

  • *
  • 16
  • +0/-0
    • http://www.thecardpros.com
can't add hostname if the ip is a gateway
« on: September 30, 2005, 07:07:37 PM »
Is there some rhyme/reason why SME 6.5 doesn't
allow me to name my gateway/firewall computer?

I get the error:

Error: IP cannot be server IP or Gateway IP.

It is quite a pain having to point to it via an ip address and then confirm that the certificate doesn't match the url..

any suggestions?

alejandro

Re: can't add hostname if the ip is a gateway
« Reply #1 on: October 01, 2005, 02:49:37 AM »
Quote from: "horsedog"
Is there some rhyme/reason why SME 6.5 doesn't
allow me to name my gateway/firewall computer?
quote]
could you explain what "doesn't allow" exactly means
you can name the box at the begining of the configuration stage after install is completed, or you can rename it at the admin cosole configuration option.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: can't add hostname if the ip is a gateway
« Reply #2 on: October 03, 2005, 02:54:52 AM »
Quote from: "horsedog"
Is there some rhyme/reason why SME 6.5 doesn't
allow me to name my gateway/firewall computer?

I get the error:

Error: IP cannot be server IP or Gateway IP.

It is quite a pain having to point to it via an ip address and then confirm that the certificate doesn't match the url..

any suggestions?


If you think anything is "wrong behaviour", then raise it as a bug in the bug tracker.

Offline horsedog

  • *
  • 16
  • +0/-0
    • http://www.thecardpros.com
can't add hostname if the ip is a gateway
« Reply #3 on: October 03, 2005, 08:20:27 PM »
I don't think it is an error, i think it is intentional..

I believe that it is a behavior change since 6.0.1 as I can create a hostname and point it to my internal gateway without receiving this error.

Is there a way to bypass this behavior, or do i have to install a full blown dns server. (or go back to 6.0.1)

Offline horsedog

  • *
  • 16
  • +0/-0
    • http://www.thecardpros.com
can't add hostname if the ip is a gateway
« Reply #4 on: October 03, 2005, 08:36:00 PM »
could you explain what "doesn't allow" exactly means
you can name the box at the begining of the configuration stage after install is completed, or you can rename it at the admin cosole configuration option.


- When creating a new host name in the server-manger, Click on "Hostname and Addresses"
Click on "Add Hostname"

Create a local hostname - firewall
Select Domain   Select Local
Click NEXT

Enter Local IP - 192.168.2.254
Click NEXT

SME responds with error in red box

Error: IP cannot be server IP or Gateway IP.

In this case, my gateway-- an ipcop firewall is that ip address..

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
can't add hostname if the ip is a gateway
« Reply #5 on: October 04, 2005, 02:59:44 AM »
Quote from: "horsedog"
I don't think it is an error, i think it is intentional..


Sure you think it is intentional. But you also think it is "wrong behaviour". Report it as a bug.

Quote

Is there a way to bypass this behavior, or do i have to install a full blown dns server. (or go back to 6.0.1)


Well, you could report it as a bug and hope that someone fixes it.