Sziasztok, Remelem nem koveztek meg, mert felig OFF, de sztem tokmindegy a kerdes szempontjabol.
Adva vagyon: 1 host. OSX 2 alatta egy hercules emulator, az alatt egy mainframe(z/OS 1.9) tun/tap driverrel az osx latja a mainframet a mainframe latja az osxet. Minden faja 3 van egy vmware/bridge linux (sles10), aki latja az osxet, de nem latja a mainframet a mainframe nem latja a linuxot 4 az osx latja a mainframet 1 host 192.168.1.100 gateway 192.168.1.1 2 z/OS 192.168.1.51 gateway 192.168.1.52 - tun 192.168.1.52 3 sles 192.168.1.110 gateway 192.168.1.1 Szoval zos latja osxet osx latja zost osx latja slest sles nem latja zost zos nem latja slest sles latja osxet A celom, hogy a z/OS alatti Webshere queue managerem az 1415os porton tudjon beszelgetni a SLES alatti queue manageremmel az 1414es porton. Minden megoldas erdekelne, de leginkabb, h hogyan tudnam megoldani tan driverrel. Mindent tudok konfigolni, a lenyeg, h a z/OS lassa a linuxot! --------------------------------------------------- osx alatt eleg hackelos a tun, de mux like disz: sudo bash # we go superuser exec 4<>/dev/tap0 # opens device, creates interface tap0 ifconfig tap0 10.10.10.1 10.10.10.255 ifconfig tap0 up hexdump -c <&4 # reads from device - a cheap etherdump (Here, the tap0 interface is working, try ping 10.10.10.255 and see the packets appear... When you donĀ“t want the TAP interface any longer, press control-C and continue) exec 4>&- # closes device, destroys interface tap0 --------------------------------------------------- Az sem erdekelne, ha a mainframe-emet linux/vmware ala kellene kuldenem,csak azt szeretnem, ha a ket host kommunikalni tudna. Csekely tudasom van a tun/tan-rol,szal, ti okos emberek, sztem tudtok vmi hasznos megoldast. Nagyon megkoszonnem a segitseget!!! Udv, Poha Techinikai infok as follows: --------------------------------------------------- OSX: ifconfig tun0 192.168.1.52 192.168.1.51 tun0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 192.168.1.52 --> 192.168.1.51 netmask 0xffffff00 open (pid 1171) --------------------------------------------------- hercules conf 0E20 3088 CTCI 192.168.1.51 192.168.1.52 0E21 3088 CTCI 192.168.1.51 192.168.1.52 --------------------------------------------------- z/OS (mainframe) EZA0602I TCP Host Name is: POHA EZA0605I Using Host Tables to Resolve POHA EZA0611I The following IP addresses correspond to TCP Host Name: POHA EZA0612I 192.168.1.51 EZA0614I The following IP addresses are the HOME IP addresses defined in PROFILE.TCPIP: EZA0615I 192.168.1.51 EZA0615I 127.0.0.1 EZA0618I All IP addresses for POHA are in the HOME list! EZA0622I Hometest was successful - all Tests Passed! CS V1R9: Pinging host 192.168.1.52 Ping #1 response took 0.004 seconds. CS V1R9: Pinging host 192.168.1.110 sendto(): EDC8130I Host cannot be reached. (errno2=0x74420291) CS V1R9: Pinging host 192.168.1.1 sendto(): EDC8130I Host cannot be reached. (errno2=0x74420291) --------------------------------------------------- Connection test from z/OS and OSX to the same port on host z/OS: EZA8200I MVS TCP/IP TELNET CS V1R9 EZA8256I Connecting to 192.168.1.52, port 8081 EZA8265I Using Line Mode... EZA8267I Notes on using Telnet when in Line Mode: EZA8268I - To hide Password, Hit PF3 or PF15 EZA8269I - To enter Telnet Command, Hit PF4-12, or PF16-24 HTTP/1.0 400 Bad Request Connection: close Content-Type: text/html <HTML><HEAD><TITLE>400 Bad Request</TITLE></HEAD><BODY><H1>400 Bad Request</H1>< P>You must specify a GET or POST request</BODY></HTML> Session ended. <ENTER> to return to TSO. OSX: Attila-Pohorais-iMac:~ attilapohorai$ telnet localhost 8081 telnet: connect to address fe80::1: Connection refused Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. HTTP/1.0 400 Bad Request Connection: close Content-Type: text/html <HTML><HEAD><TITLE>400 Bad Request</TITLE></HEAD><BODY><H1>400 Bad Request</H1><P>You must specify a GET or POST request</BODY></HTML> Connection closed by foreign host. --------------------------------------------------- OSX to z/OS bash-3.2# telnet 192.168.1.51 Trying 192.168.1.51... Connected to 192.168.1.51. Escape character is '^]'. IKJ56700A ENTER USERID - --------------------------------------------------- SLES (under vmware) bash-3.2# ssh r...@192.168.1.110 node1:~ # cd /etc/sysconfig/network/ node1:/etc/sysconfig/network # cat ifcfg-eth0 IPADDR='192.168.1.110' NETMASK='255.255.255.0' STARTMODE='auto' node1:/etc/sysconfig/network # cat routes 192.168.1.1 default - - node1:/etc/sysconfig/network # ping 192.168.1.1 PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data. 64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=1.20 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 1.209/1.209/1.209/0.000 ms node1:/etc/sysconfig/network # ping 192.168.1.100 PING 192.168.1.100 (192.168.1.100) 56(84) bytes of data. 64 bytes from 192.168.1.100: icmp_seq=1 ttl=64 time=0.950 ms --- 192.168.1.100 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.950/0.950/0.950/0.000 ms node1:/etc/sysconfig/network # ping 192.168.1.52 PING 192.168.1.52 (192.168.1.52) 56(84) bytes of data. >From 192.168.1.110: icmp_seq=2 Destination Host Unreachable node1:/etc/sysconfig/network # ping 192.168.1.51 PING 192.168.1.51 (192.168.1.51) 56(84) bytes of data. >From 192.168.1.110: icmp_seq=2 Destination Host Unreachable --------------------------------------------------- OSX full ifconfig: lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 inet 127.0.0.1 netmask 0xff000000 gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280 stf0: flags=0<> mtu 1280 en0: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500 inet6 fe80::216:cbff:fe98:870f%en0 prefixlen 64 scopeid 0x4 inet 192.168.1.100 netmask 0xffffff00 broadcast 192.168.1.255 ether 00:16:cb:98:87:0f media: autoselect (100baseTX <full-duplex,flow-control>) status: active supported media: autoselect 10baseT/UTP <half-duplex> 10baseT/UTP <full-duplex> 10baseT/UTP <full-duplex,hw-loopback> 10baseT/UTP <full-duplex,flow-control> 100baseTX <half-duplex> 100baseTX <full-duplex> 100baseTX <full-duplex,hw-loopback> 100baseTX <full-duplex,flow-control> 1000baseT <full-duplex> 1000baseT <full-duplex,hw-loopback> 1000baseT <full-duplex,flow-control> none fw0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 2030 lladdr 00:17:f2:ff:fe:61:eb:92 media: autoselect <full-duplex> status: inactive supported media: autoselect <full-duplex> en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 ether 00:17:f2:54:a4:e6 media: autoselect (<unknown type>) status: inactive supported media: autoselect vmnet1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 192.168.12.1 netmask 0xffffff00 broadcast 192.168.12.255 ether 00:50:56:c0:00:01 vmnet8: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 172.16.87.1 netmask 0xffffff00 broadcast 172.16.87.255 ether 00:50:56:c0:00:08 tap0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 192.168.1.51 netmask 0xffffff00 broadcast 192.168.1.255 ether 0a:0a:18:b4:3d:7f open (pid 300) tun0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 192.168.1.52 --> 192.168.1.51 netmask 0xffffff00 open (pid 1171) _________________________________________________ linux lista - linux@mlf.linux.rulez.org http://mlf2.linux.rulez.org/mailman/listinfo/linux