Automated Testing

Automated Testing

Automated Testing

Build an automated testing process to enable continuous integration of your hybrid cloud applications including z/OS

 View Only
  • 1.  Network issue with Scenario 5

    Posted Tue July 14, 2015 11:35 AM

    I installed RD&T v9.1 in SUSE 11SP3, the SUSE linux running on VM machine. I followed by the redbook sg24-8205-01. The RD&T environment:

    SUSE Linux eth1 IP: 10.233.82.148,  TAP0 IP: 10.1.1.1,  IP reserve for z/OS (NAT): 10.233.82.149, z/OS ETH1: 10.1.1.2

    nat2 script as following:
    if [[ $EUID -ne 0 ]]; then
        echo 'You must be root to run this command' 1>&2
        exit 1
    fi
    echo 'Your firewall must be enabled for this command to be meaningful'
    CHPID_A0_INTERFACE=eth1
    CHPID_A0_EXTERNAL_IP=10.233.82.149
    CHPID_A0_EXTERNAL_BC=10.233.82.255
    CHPID_A0_EXTERNAL_NM=255.255.255.0
    CHPID_A0_VIRTUAL_IP=10.1.1.2
    echo 1 > /proc/sys/net/ipv4/ip_forward
    echo 'IP forwarding set'
    iptables -t nat -F
    echo 'nat table flushed'
    echo 'External IP address for System z is ' $CHPID_A0_EXTERNAL_IP
    echo 'Real LAN interface is ' $CHPID_A0_INTERFACE
    echo 'Tap (tunnel) address for System z is ' $CHPID_A0_VIRTUAL_IP
    echo 'External netmask and broadcast address are ' $CHPID_A0_EXTERNAL_NM \
    $CHPID_A0_EXTERNAL_BC
    ifconfig $CHPID_A0_INTERFACE:0 $CHPID_A0_EXTERNAL_IP netmask \
    $CHPID_A0_EXTERNAL_NM broadcast $CHPID_A0_EXTERNAL_BC up
    iptables -t nat -A POSTROUTING -o $CHPID_A0_INTERFACE -s \
    $CHPID_A0_VIRTUAL_IP/32 -j SNAT --to $CHPID_A0_EXTERNAL_IP
    iptables -t nat -A PREROUTING -i $CHPID_A0_INTERFACE -d \
    $CHPID_A0_EXTERNAL_IP/32 -j DNAT --to $CHPID_A0_VIRTUAL_IP
    echo 'Done. Please exit from root'

    But I couldn't access the z/OS System from client PC (IP: 10.232.68.119). How could I trace & resolve this problem? How to troubleshooting? Any comments?

     

    DNAP_Jian_Jun_WU


  • 2.  Re: Network issue with Scenario 5

    Posted Wed July 15, 2015 11:43 PM

    We use command "iptables -L -n -v" & "iptables -L -v -n -t nat" to trace tcpip traffic, found that pkts in 10.1.1.2 is ok, but no pkts out from 10.1.1.2. So the problem maybe cause by the wrong routing configuration in z/OS.

    ABC environment TCPIP PROFILE is dataset SYS1.TCPPARMS.UPGRADE(PROFILE):
    BEGINRoutes
    ; Destination Subnet Mask FirstHop Link Size
    ROUTE 10.0.0.0 255.0.0.0 = ETH1 MTU 1492
    ROUTE DEFAULT 10.1.1.1 ETH1 MTU 1492
    ENDRoutes

    It must modify as following, because of ABC intranet IP is 10.233.XXX.XXX.:
    BEGINRoutes
    ; Destination Subnet Mask FirstHop Link Size
    ROUTE 10.1.1.0 255.255.255.0 = ETH1 MTU 1492
    ROUTE DEFAULT 10.1.1.1 ETH1 MTU 1492
    ENDRoutes

    DNAP_Jian_Jun_WU