Gateway NAT use locking up OS

From: David Varley (David.Varley_at_cborn.com)
Date: 02/28/05


Date: Tue, 1 Mar 2005 09:49:31 +1100

I have a Kontron ThinkIO with Kontron CE 4.2 BSP (modified CEPC) Industrial
Controller, which has been working successfully for some time. The device
has 2 Ethernet ports, and I've added the gateway components (NAT, ICS, UPNP
+ IGD, firewall, DHCP allocator, etc). the private interface is set up as
192.168.0.1, and on that side is a Rockwell L34 PLC, statically assigned at
192.168.0.2. I've configured port forwarding, so that from the public
interface port 8080 TCP forwards to internal 192.168.0.2:80, also the
EthernetIP port 44818 (TCP and UCP) are forwarded to the internal PLC.
This works, such that when I point my external web browser at port 8080 on
the public interface (DHCP allocated at 192.168.221.58), it brings up the
startup page of the PLC's http interface. However thats all I see, the CE OS
immediately locks up. I don't get ant diagnostic debug messages on the
serial port, and don't know what's happening. The lockup also happens when I
connect a laptop to the hub on the private side. It get DHCP allocation, and
I can ping devices on the public side (NAT translation works), but if I
tracert I get 3 hits on the CE interface (192.168.0.1), then one from the
device on the public side (eg 192.168.221.4) and then CE locks up again.
I suspect something in NAT if forwarding to itself in a tight loop, but I
can't diagnose with the debugger, as the BSP doesn't support KITL over
serial, or VMINI with the two Ethernet interfaces in use, as far as I can
ascertain.
Does anyone have any suggestions here, have I missed something?
One other clue, early on in bootup the CE box actually sends two DHCP
packets (the second an offer) with a source address of 192.168.0.1 out over
the 192.168.221.58 public interface, which should never happen...

Thanks for any assistance,

David



Relevant Pages

  • Re: Additional Hardware Module with Xilinx MicroBlaze Processor
    ... a pcore for your LCD module. ... You can write to the fsl interface with the function putfslx, ... What I would like to do is define a GPIO port on the processor to ... and write to the FSL bus suffice? ...
    (comp.arch.fpga)
  • ng_one2many v.s. AFT (NIC Fault Tolerance/Fail Over/Redundancy Revisited)
    ... Then I was thinking about the OpenBSD/NetBSD bridgeinterface. ... Spanning Tree as an alogirth could provide Intel AFT ... illustrates, regardless of which interface is the root port, ARP replys ... Topology change flag not set, detected flag not set, changes 54 ...
    (freebsd-questions)
  • Re: ng_one2many v.s. AFT (NIC Fault Tolerance/Fail Over/Redundancy Revisited)
    ... Then I was thinking about the OpenBSD/NetBSD bridgeinterface. ... Spanning Tree as an alogirth could provide Intel AFT ... illustrates, regardless of which interface is the root port, ARP replys ... Topology change flag not set, detected flag not set, changes 54 ...
    (freebsd-questions)
  • kgdb 2.0.5
    ... When using the ethernet interface, ... KGDB: Linux Kernel Source Level Debugger ... the questions about Ethernet network cards. ... +static int xlockholdcount = 0; ...
    (Linux-Kernel)
  • Reproducable panic under heavy disk I/O on 5.4-latestandthegreatest
    ... the machine panics. ... commands output, the kernel config file, dmesg output and backtraces ... <RealTek internal media interface> on miibus0 ... port may not be enabled ...
    (freebsd-hackers)