Discussion:
How to PING through a secondary TCPIP stack?
(too old to reply)
Brian Nielsen
2006-02-28 16:22:41 UTC
Permalink
I have brought up a second TCPIP stack (in userid TCPIPDR) to test a
routing setup for DR. NETSTAT has the TCP option to send the command to
the TCPIP stack of my choice, but I don't see a similar option for PING or
TRACERTE. The test network is isolated from the production network. How
do I send the PING to my test network via the second TCPIP stack?

Brian Nielsen
Rob van der Heij
2006-02-28 16:23:52 UTC
Permalink
It takes the TCPIPUSERID option from your TCPIP DATA file.

--
Rob van der Heij
Velocity Software, Inc
David Boyes
2006-02-28 16:35:30 UTC
Permalink
Create a copy of TCPIP DATA on your a-disk and change the TCPIP virtual
machine userid listed in the TCPIPUSERID statement to your other stack.
Remember to erase it when you're done.
Post by Brian Nielsen
do I send the PING to my test network via the second TCPIP stack?
David Kreuter
2006-02-28 16:50:05 UTC
Permalink
If you want to make this known permanently you can use a combination of
SYSTEM NETID, TCPIP DATA, and SET CPUID commands.
TCPIP DATA:
TCPIP: TCPIPUSERID TCPIP
TCPIP1: TCPIPUSERID TCPIP1
TCPIP2: TCPIPUSERID TCPIP2
TCPIP3: TCPIPUSERID TCPIP3

SYSTEM NETID:
:
222222 TCPIP TCPIP
111111 TCPIP1 TCPIP1
:

From TCPMAINT:
q cpuid
CPUID = FF22222220948000
Ready; T=0.01/0.01 11:46:03
netstat home
VM TCP/IP Netstat Level 520

IPv4 Home address entries:

Address Subnet Mask Link
------- ----------- ------
172.27.96.174 255.255.255.0 OSASERV


IPv6 Home address entries: None

ping 172.27.96.174
Ping level 520: Pinging host 172.27.96.174.
Enter 'HX' followed by 'BEGIN' to interrupt.
PING: Ping #1 response took 0.029 seconds. Successes so far 1.

netstat home tcp tcpip1
VM TCP/IP Netstat Level 520

IPv4 Home address entries:

Address Subnet Mask Link
------- ----------- ------
192.168.150.1 255.255.255.0 HIPER

IPv6 Home address entries: None

set cpuid 111111

ping 192.168.150.1
Ping Level 520: Pinging host 192.168.150.1.
Enter 'HX' followed by 'BEGIN' to interrupt.
PING: Ping #1 response took 0.060 seconds. Successes so far 1.


David
Post by Brian Nielsen
I have brought up a second TCPIP stack (in userid TCPIPDR) to test a
routing setup for DR. NETSTAT has the TCP option to send the command to
the TCPIP stack of my choice, but I don't see a similar option for PING o
r
TRACERTE. The test network is isolated from the production network. How
do I send the PING to my test network via the second TCPIP stack?
Brian Nielsen
Bob Robinson
2006-02-28 17:21:20 UTC
Permalink
Greetings,
Take a look at post / item # 45252 or do a search on SETID
It contains a nice Rexx exec for working with multiple stacks.
Brian Nielsen
2006-02-28 18:39:19 UTC
Permalink
Thanks to all who replied.

Brian Nielsen
Post by David Boyes
Create a copy of TCPIP DATA on your a-disk and change the TCPIP virtual
machine userid listed in the TCPIPUSERID statement to your other stack.
Remember to erase it when you're done.
Post by Brian Nielsen
do I send the PING to my test network via the second TCPIP stack?
========================================================================
Loading...