Check to determine if the default gateway used by the PC knows the route
to the Linux subnet.  The problem is probably the routing back to Linux
from the PC.

Harold Grovesteen

Paul Burke wrote:

Configuring my first Linux under S/390 and cannot get Linux to communicate
with the network. Following is a brief overview of the environment.

We run a class C network 192.168.168. with a subnet mask of 255.255.255.128.
Existing network runs on low order, Linux network runs on the high order.
Connectivity between the network to z/VM on a Multiprise 3000 H30 is
provided by a Bustech MAN device owned by VM TCP/IP.

192.168.168.20 is the VM stack
192.168.168.129 is the Linux stack
192.168.168.35 is a PC on the network

From a Z/VM CMS virtual machine I can ping all resources.
From Linux, I can ping VM but not the PC.
From the PC, I can ping VM but not Linux.

So Linux appears to not be routing to the network. Here is the detail stuff for those of you in the know. Any advice and guidance would be appreciated. Thanks


z/VM & TCP/IP (192.168.168.20)

q cplevel

z/VM Version 4 Release 2.0, service level 0101 (32-bit)

Generated at 01/02/02 13:52:35 BST

IPL at 03/26/04 14:31:27 BST

Ready; T=0.01/0.01 10:50:26


netstat level

VM TCP/IP Netstat Level 420

IBM 7060; z/VM Version 4 Release 2.0, service level 0101 (32-bit), VM TCP/IP
Lev
el 420; RSU 0101

Ready; T=0.02/0.03 10:50:29

netstat devlinks
VM TCP/IP Netstat Level 420

Device VMCTCA            Type: LCS          Status: Ready
Queue size: 0            Address: 0C16
  Link VMLINK           Type: ETHERNET     Net number: 0
      Multicast Capability: Yes
      Group            Members
      -----            -------
      224.0.0.1           1

Device LINUX1            Type: CTC          Status: Ready
Queue size: 0            Address: 0400
  Link LINUX1V          Type: CTC          Net number: 0
      Multicast Capability: Yes
      Group            Members
      -----            -------
      224.0.0.1           1
Ready; T=0.03/0.04 10:56:49


netstat home

VM TCP/IP Netstat Level 420

Home address list:



Address            Link

-------            ------

192.168.168.20     VMLINK

192.168.168.20     LINUX1V

Ready; T=0.02/0.03 10:50:32

netstat gate

VM TCP/IP Netstat Level 420

Known gateways:



NetAddress      FirstHop        Flgs PktSz Subnet Mask   Subnet Value  Link

----------      --------        ---- ----- -----------   ------------
------
192.168.168.0   <direct>        US   1500  0.0.0.128     0.0.0.0
VMLINK
192.168.168.129 <direct>        UHS  1500  HOST
LINUX1V
Ready; T=0.02/0.03 10:50:49



Linux (192.168.168.129 - Debian distribution)

Linux version 2.2.16 ( <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]) (gcc version
2.95.2 19991024 (release)) #3
SMP Mon Jul 9 01:55:17 EDT 2001

Command line is: dasd=200-203 root=/dev/ram0 ro

We are running under VM

This machine has an IEEE fpu

Initial ramdisk at: 0x02000000 (8388640 bytes)

.
SenseID : device 0400 reports: Dev Type/Mod = 3088/08
SenseID : device 0401 reports: Dev Type/Mod = 3088/08
.
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
.
CTC driver Version: 1.25.2.5  initialized
ctc0: read dev: 0400 irq: 0004 - write dev: 0401 irq: 0005
.
INIT: version 2.74 booting
                       Welcome to Red Hat Linux
Mounting proc filesystem ^  OK  ]
Activating swap partitions ^  OK  ]
Setting hostname  ^  OK  ]
Checking root filesystem
ext2fs_check_if_mount/dev/ram0 was not cleanly unmounted, check forced.
: No such file or directory while determining whether /dev/ram0 is mounted.
.
/dev/ram0: 1066/2048 files (0.4% non-contiguous), 8031/8192 blocks
^PASSED]
Remounting root filesystem in read-write mode ^  OK  ]
Finding module dependencies ^  OK  ]
Checking filesystems
^  OK  ]
Mounting local filesystems ^  OK  ]
Enabling swap space ^  OK  ]
INIT: Entering runlevel: 3
Entering non-interactive startup
.
Welcome to Linux for S/390
Is your machine connected to a network (Yes/No) ?
yes
yes
Select the type of your network device
1) for osa token ring
2) for osa ethernet
3) for channel to channel
4) for IUCV
5) for escon channel
Enter your choice (1-5): 3
3
Please enter your host name: linux1
linux1
Please enter your IP address: 192.168.168.129
192.168.168.129
Please enter the IP address of your peer: 192.168.168.20
192.168.168.20
Please enter the IP address of the DNS server:
.
Please enter the DNS search domain:
.
Configuration will be:
Network device   : ctc0
Host name        : linux1
IP address       : 192.168.168.129
Net mask         : 255.255.255.255
Peer IP address  : 192.168.168.20
Net address      : 192.168.168.20
DNS IP address   :
DNS search domain:
Is this correct (Yes/No) ?

yes
yes
Bringing up interface lo ^  OK  ]
Bringing up interface ctc0 ^  OK  ]
Starting portmapper: ^  OK  ]
Initializing random number generator ^  OK  ]
Starting INET services: ^  OK  ]
Give root password for maintenance
(or type Control-D for normal startup): pass4root

<mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] /root]#

ifconfig ctc0

ifconfig ctc0

ctc0      Link encap:Serial Line IP

         inet addr:192.168.168.129  P-t-P:192.168.168.20
Mask:255.255.255.255


UP POINTOPOINT RUNNING NOARP MTU:1500 Metric:1

         RX packets:0 errors:0 dropped:0 overruns:0 frame:0

         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

         collisions:0 txqueuelen:100



<mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] /root]#

route

route

Kernel IP routing table

Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.168.168.20  *               255.255.255.255 UH    0      0        0 ctc0

192.168.168.129 *               255.255.255.255 UH    0      0        0 ctc0

127.0.0.0       *               255.0.0.0       U     0      0        0 lo

default         192.168.168.20  0.0.0.0         UG    0      0        0 ctc0

<mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] /root]#

ping -c 1 192.168.168.129
ping -c 1 192.168.168.129
PING 192.168.168.129 (192.168.168.129): 56 data bytes
64 bytes from 192.168.168.129: icmp_seq=0 ttl=255 time=0.3 ms

--- 192.168.168.129 ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 0.3/0.3/0.3 ms
<mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] /root]#

ping -c 1 192.168.168.20
ping -c 1 192.168.168.20
PING 192.168.168.20 (192.168.168.20): 56 data bytes
64 bytes from 192.168.168.20: icmp_seq=0 ttl=60 time=0.9 ms

--- 192.168.168.20 ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 0.9/0.9/0.9 ms
<mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] /root]#

ping -c 1 192.168.168.35
PING 192.168.168.35 (192.168.168.35): 56 data bytes

--- 192.168.168.35 ping statistics ---
1 packets transmitted, 0 packets received, 100% packet loss
<mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] /root]#


PC (192.168.168.35)

C:\>ipconfig /all

Windows 2000 IP Configuration

       Host Name . . . . . . . . . . . . : PC047
       Primary DNS Suffix  . . . . . . . :
       Node Type . . . . . . . . . . . . : Hybrid
       IP Routing Enabled. . . . . . . . : No
       WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Local Area Connection:

       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : 3Com 3C920 Integrated Fast
Ethernet
Controller (3C905C-TX Compatible)
       Physical Address. . . . . . . . . : 00-06-5B-12-99-19
       DHCP Enabled. . . . . . . . . . . : No
       IP Address. . . . . . . . . . . . : 192.168.168.35
       Subnet Mask . . . . . . . . . . . : 255.255.255.128
       Default Gateway . . . . . . . . . : 192.168.168.1
       DNS Servers . . . . . . . . . . . : 154.15.243.2
                                           154.15.244.2
       Primary WINS Server . . . . . . . : 192.168.168.3

C:\>route print
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x1000003 ...00 06 5b 12 99 19 ...... 3Com EtherLink PCI
===========================================================================
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
         0.0.0.0          0.0.0.0    192.168.168.1  192.168.168.35       1
       127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1
   192.168.168.0  255.255.255.128   192.168.168.35  192.168.168.35       1
  192.168.168.35  255.255.255.255        127.0.0.1       127.0.0.1       1
 192.168.168.128  255.255.255.128   192.168.168.20  192.168.168.35       1
 192.168.168.255  255.255.255.255   192.168.168.35  192.168.168.35       1
       224.0.0.0        224.0.0.0   192.168.168.35  192.168.168.35       1
 255.255.255.255  255.255.255.255   192.168.168.35  192.168.168.35       1
Default Gateway:     192.168.168.1
===========================================================================
Persistent Routes:
 None

Thanks for any help.


















This e-mail, and any attachment, is confidential. If you have received it in error, please delete it from your system, do not use or disclose the information in any way, and notify the sender immediately. The contents of this message may contain personal views which are not the views of Adare Intellidata Limited. Any representations or commitments expressed in this email are subject to contract and confirmation in writing.


---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390




---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to