Announcement

Collapse
No announcement yet.

xAp,Static IP ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    xAp,Static IP ?

    Michael,

    Is there any way to set a static IP, or have it use the same network card in xAPHub/Database/Charting/1Wire.

    Example only.

    1-Server two network cards
    nick #1 static IP 192.168.1.2
    Nick #2 static IP 192.168.1.3

    Router set to forward port 25-FTP to 192.168.1.2 nick #1
    Router set to forward port 8081 to HS Web server 192.168.1.3 nick #2

    How can I set this to keep All xAp traffic off of 192.168.1.2 ?

    I can disable nick #1 then start xap and then enable nick #1 and all xap traffic will stay on nick #2.
    In less I restart the server and or forget to disable nick #1 or have a power failure and the server restarts its self when Iam not home then I get xAp traffic on both nicks.

    -Zap
    -Mike-

    -Home automation powered by the wind and sun-
    Zotac 9300g-Q9400s-4gb ram-Intel 120 SSD-MS XP
    HS 2.5.0.20, BLlan,BLweather,MCSXap,Jon00 graphing,Jon00 Whois,Snevl/Ten WeatherAlerts
    W2c,Ztroller,z-wave+18,Q100D's,Silex 3000gb
    Zoneminder 1.24.2 - Ubuntu 11.04 x64 on top of Xenserve
    Zoneminder 1.24.2 - Ubuntu 11.04 x64 Zotac D525 atom

    #2
    In the config folder of each xAP application there will be a mcsXap.ini file that will likely be blank. It is used to specify non-default IP binding. The following is in mine to force use of IP 192.168.0.10. I think this solves the problem you are having with multiple adapters.

    Code:
    [Interface]
    InterfaceAddress=192.168.0.10
    BroadcastAddress=192.168.0.255

    Comment


      #3
      Michael,

      Thank you, works like a charm.

      -Zap
      -Mike-

      -Home automation powered by the wind and sun-
      Zotac 9300g-Q9400s-4gb ram-Intel 120 SSD-MS XP
      HS 2.5.0.20, BLlan,BLweather,MCSXap,Jon00 graphing,Jon00 Whois,Snevl/Ten WeatherAlerts
      W2c,Ztroller,z-wave+18,Q100D's,Silex 3000gb
      Zoneminder 1.24.2 - Ubuntu 11.04 x64 on top of Xenserve
      Zoneminder 1.24.2 - Ubuntu 11.04 x64 Zotac D525 atom

      Comment

      Working...
      X