Okay,
Lets treat things one at a time:
PROFILE dataset
DEVICE CTCA1 CTC E20
LINK CTC1 CTC 1 CTCA1 <--- 1 is write device, 0 is read device, change it to zero or define E21 device for the other one (CTCA2) and use two device and link statements and start both adapters.
HOME is okay
GATEWAY <-- replace
192.168.1.1 = CTC1 1492 HOST <-replace
DEFAULTNET 192.168.1.0 CTC1 1492 0 <--replace 192.168.1.0 is NOT your router
Replace the above with these.
BEGINROUTES
ROUTE 192.168.0.0 255.255.0.0 = CTC1 MTU 1492
ROUTE DEFAULT 192.168.1.1 CTC1 MTU 1492
ENDROUTES
All of the stuff from BEGINVTAM to ENDVTAM belongs in your TN3270 profile. You should have TN3270 set up as a separate task in your current ADCD z/OS release. It won't hurt you right now, but in the long run you should move it.
TCPDATA dataset
DOMAINORIGIN 192.168.1.1 is incorrect. It needs to point to a "name" for instance, it will make life easier if you set it to the same name as your email web site, (assuming you have one). For instance, if your email address is ***@Bobs.net, then it would be best as:
DOMAINORIGIN BOBS.NET
This will make life infinitely easier when you try to connect this thing up with using the internet. If you have your won web site, even though it's at some ISP, use that one. Don't use YAHOO or GMAIL, it's just asking for problems down the line. If you don't have one, get one, you can get a free one from one of the dynamic DNS places.
NSINTERADDR 192.168.1.1
NAMESERVER 4.4.4.4 <--- comment this one out. You already have NSINTERADDR, it's an either/or type thing for you on this platform. If your router 192.168.1.1 goes down, having google's name server won't help you. I am assuming you have a name server setup in your router already, you're able to use the internet.
RESOLVERTIMEOUT 10 <--- make this 30 or 45 seconds, 10 is too short for a PC trying to startup TCP and everyone else at the same time.
Incidentally, make sure you are starting RESOLVER, either automatically or as a started task, and ABSOLUTELY make sure that it points to THIS TCPDATA member, not some nebulous one that came with the ADCD. They absolutely MUST match. If you don't know how to change the one that gets loaded dynamically, then add the one from SAMPLIB, stop the running one and start your new one (Make sure you start it with SUB=MSTR). If you need help with this, let me know and I'll send you all of the information on how to do it. But if they don't match, then your set up will never work correctly.
LOOKUP LOCAL DNS <---uncomment or add this line. make sure it's in this order, which tells TCP to first check locally for names, THEN to check your DNS. This is VERY important because unless you are going to get a website name for your z/OS, you will want to refer to yourself internally before you go out to the internet to see who/where you are.
ROUTE TABLE:
Wow, this is really messed up.
First, you don't need the Microsoft loopback adapter, you should delete it from your devices. It will just get in the way. I have no idea if you need the VirtualBox host only adapter. If you don't, then get rid of it. You want to make sure that your Atheros 802.11 a/b/g/n Dualband Wireless adapter is first. Unless it's not a "real" adapater, then maybe you will want the Microsoft one. In any case, the one you are using to get to the internet is the one you want ot come up first in your adapter list (when you execute the TUNTAP test program (TT32Test or TT32Test64). Make sure you have it set up to be the first adapter presented to WinPcap and TUNTAP.
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.6 281
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
169.254.0.0 255.255.0.0 On-link 169.254.70.25 286 <---remove
169.254.0.0 255.255.0.0 On-link 169.254.46.198 266 <---remove
169.254.46.198 255.255.255.255 On-link 169.254.46.198 266 <--- remove
169.254.70.25 255.255.255.255 On-link 169.254.70.25 286 <--- remove
169.254.255.255 255.255.255.255 On-link 169.254.70.25 286 <--- remove
169.254.255.255 255.255.255.255 On-link 169.254.46.198 266 <--- remove
192.168.1.0 255.255.255.0 On-link 192.168.1.6 <--- remove
192.168.1.6 255.255.255.255 On-link 192.168.1.6 281
192.168.1.255 255.255.255.255 On-link 192.168.1.6 281 <---remove
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 169.254.70.25 286 <--- remove
224.0.0.0 240.0.0.0 On-link 169.254.46.198 266 <---remove
224.0.0.0 240.0.0.0 On-link 192.168.1.6 281
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 169.254.70.25 286 <--- remove
255.255.255.255 255.255.255.255 On-link 169.254.46.198 266 <--- remove
255.255.255.255 255.255.255.255 On-link 192.168.1.6 281
===========================================================================
After you remove all of these, you will need to add:
192.168.1.0 255.255.255.255 192.168.1.1 192.168.1.6 4
You have one similar to this now, but it doesn't have the gateway identified.
you do this via:
ROUTE -p delete 192.168.1.0
ROUTE -p add 192.168.1.0 MASK 255.255.255.0 192.168.1.1
ALSO, no matter what anyone tells you, under Windows 10, even though you ask the route to be permanent, they mostly will be replaced again the next time you reboot. Windows 10 has a hard time forgetting the old routes. There are some registry changes you can do to fix it, but they are beyond the scope of fixing this.
For now, after you have it working, you can just set up a .bat file that will do all of the route deletes and route adds that you execute when you start your z./OS up.
You basically want to end up with:
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.6 281
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255. 255 255.255.255.255 On-link 127.0.0.1 306
192.168.1.0 255.255.255.255 192.168.1.1 192.168.1.6 4 192.168.1.6 255.255.255.255 On-link 192.168.1.6 281
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 192.168.1.6 281 255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 192.168.1.6 281 ===========================================================================
Once you have these changes made, AND you have set it up so your "REAL" adapter is the one that WinPcap and TUNTAP uses (via the TT32Test or TT32Test64 command) Actually, even with minor errors from TT32Test, it should still work with all of the above changes.
Brian Westerman