Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - andyp

Pages: [1]
1
Hi all,

I have just enabled DDNS on Zentyal 2.2 for my two LANs:

192.168.0.0/24
192.168.111.0/24

Everything works well except when someone disconnects from the wifi on 192.168.0.0/24 and reconnects to the wired network on 192.168.111.0/24.  This results in a lot of error messages like:

Code: [Select]
Mar 14 12:57:58 kgeorge dhcpd: DHCPACK to 192.168.111.14 (00:24:8c:7b:5f:0b) via eth2
Mar 14 13:01:23 kgeorge dhcpd: DHCPREQUEST for 192.168.111.11 from 00:25:64:7d:70:d1 (Andy-Laptop) via eth2
Mar 14 13:01:23 kgeorge dhcpd: DHCPACK on 192.168.111.11 to 00:25:64:7d:70:d1 (Andy-Laptop) via eth2
Mar 14 13:04:01 kgeorge dhcpd: DHCPREQUEST for 192.168.111.14 from 00:24:8c:7b:5f:0b (Andy-Desktop) via eth2
Mar 14 13:04:01 kgeorge dhcpd: DHCPACK on 192.168.111.14 to 00:24:8c:7b:5f:0b (Andy-Desktop) via eth2
Mar 14 13:05:45 kgeorge dhcpd: DHCPDISCOVER from 90:4c:e5:45:22:01 via eth0
Mar 14 13:05:46 kgeorge dhcpd: DHCPOFFER on 192.168.0.2 to 90:4c:e5:45:22:01 (Andy-Laptop) via eth0
Mar 14 13:05:46 kgeorge named[10571]: client 127.0.0.1#42065: updating zone 'brocas.oit/IN': update unsuccessful: Andy-Laptop.brocas.oit: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Mar 14 13:05:46 kgeorge named[10571]: client 127.0.0.1#51922: updating zone 'brocas.oit/IN': update unsuccessful: Andy-Laptop.brocas.oit/TXT: 'RRset exists (value dependent)' prerequisite not satisfied (NXRRSET)
Mar 14 13:05:46 kgeorge dhcpd: Forward map from Andy-Laptop.brocas.oit. to 192.168.0.2 FAILED: Has an A record but no DHCID, not mine.
Mar 14 13:05:46 kgeorge dhcpd: DHCPREQUEST for 192.168.0.2 (192.168.0.254) from 90:4c:e5:45:22:01 (Andy-Laptop) via eth0
Mar 14 13:05:46 kgeorge dhcpd: DHCPACK on 192.168.0.2 to 90:4c:e5:45:22:01 (Andy-Laptop) via eth0
Mar 14 13:05:50 kgeorge dhcpd: DHCPINFORM from 192.168.0.2 via eth0
Mar 14 13:05:50 kgeorge dhcpd: DHCPACK to 192.168.0.2 (90:4c:e5:45:22:01) via eth0

Does anyone have any suggestions?  Surely this is not a very unusual situation?

I wanted to try the suggestion made in the below article where they change the ddns-hostname to append "-wifi" to the name of all the hosts on a particular network (192.168.0.0/24).

http://www.techswamp.com/2011/06/20/working-around-binds-ddns-limits-for-multi-homed-hosts/

According to your documentation customising configuration scripts is supposed to be easy - so I thought I'd give it a go.  However, I have no idea how to make that simple change to a section of the template that looks like this:

Code: [Select]
<%perl>
        foreach my $iface (keys(%real_ifaces)) {
           # Write configuration if there are any range or fixed addresses
           my @ifacesToCheck = @{$real_ifaces{$iface}};
           push(@ifacesToCheck, $iface);
           my $nIfaceToWrite = grep { @{$ifaces{$_}->{ranges}} > 0 or values(%{$ifaces{$_}->{fixed}}) > 0 } @ifacesToCheck;
           if ( $nIfaceToWrite > 0) {
</%perl>
<& dhcp/shared-network.mas, iface => $iface, ifaces => \%ifaces, vifaces => $real_ifaces{$iface} &>
%          }
%       }

I would really appreciate anyone's help here.  Either to make this minor change or to suggest a better way to overcome the problem.

Cheers,
Andy

2
Installation and Upgrades / Public static IP question...
« on: November 17, 2010, 01:00:01 pm »
Hi,

My Zentyal server has an internal PCI modem card.  My modem connects to my ISP using a kind of bridging and shows as a 'nas0' interface.  I configured it to use my public static IP address provided by my ISP.  I now also have some additional public static IP addresses and my question is, how do I register these with Zentyal?  Should I add them as "virtual interfaces"?

Many thanks,
Andy

3
Installation and Upgrades / Help configuring port forwarding
« on: November 15, 2010, 09:11:34 pm »
Hi,

Would someone please help me with port forwarding?  I used to use IPCop but have recently switched to Zentyal.  I'm basically trying to insert my new Zentyal machine where the old IPCop one was.  This means I have two servers behind my Zentyal machine.

My Zentyal server has a PCI ADSL modem (nas0) as external and an ethernet card for internal.  The internet etc. works fine.  My issue is when trying to open ports and forward them to my two internal machines.  I want to forward DNS, http, https, ftp, etc.

I'm not sure exactly what to do and am looking for some advice.  I have six public static IP addresses.  Obviously my Zentyal server uses one but should I add the others under "Virtual Interfaces" within Network --> Interfaces for nas0?

Currently I have added the IP's as virtual interfaces and added some rules to "External networks to internal networks" and port forwarding.  Is this correct because it don't seem to work?

Cheers!

4
Installation and Upgrades / Question about ppp0
« on: October 23, 2010, 03:16:24 am »
Hi,

If I had a PPPoA interface (ppp0) - would this show up in Zentyal under the network / interface section?

Cheers

5
Hi,

Is it possible to get the 4-port Solos Multiport PCI ADSL2+ Modem card (http://www.traverse.com.au/productview.php?product_id=116) from Traverse Technologies working under Zentyal?

Apparently the driver is included in kernel versions 2.6.29 and later so I was surprised that it was not automatically detected and working upon installation.

Zentyal was able to detect their single port card, the Vicking PCI ADSL2+ (http://www.traverse.com.au/productview.php?product_id=115).  This card worked out-the-box - all I had to do was enter my static IP details!  Is there any way to achieve the same functionality with the Solos 4 port?

Thanks in advance,
Andy

Pages: [1]