DataSocket and two NICS?

I have an application where I want to communicate through two separate NICs
from one computer using DataSocket. LabVIEW 7.0 now supports multiple NICs
for TCP/IP but is this also possible with DataSocket? If so, how do you
control which NIC you go through? I couldn't find anything in the
DataSocket Server that allows you to specify which NIC you are using.

Hello nealpederson,
Thank you for your question regarding DataSocket. You mentioned that you would like to communicate through two separate NICs using DataSocket. This feature is not available in DataSocket. One possible solution may be to run DataSocket server on the client computers and send data to the desired target IP address on the computer with multiple NICs. However, LabVIEW would most likely send data out on all the cards that you have installed on the computer with multiple NICs.
Other resources can be found on the ni.com website by clicking the support tab at the top of the home page. Then search from Technical Resources at the top of the page for your topic. I hope these resources help! Let me know if you need any other support with this issue.
S
hea C.
Applications Engineering

Similar Messages

  • Lync edge and two NICs, DMZ and NAT

    I am in the process of setting up my lync 2013 edge server and i seem to be stuck.  We run a external firewall and an internal firewall and have a  DMZ where all of my public facing servers sit that resides between these two   I have things
    like my webservers and edge transport for my exchange servers in here.,   I am in the process of creating my new edge pool topology and have a question.  I am going to NAT my Edge servers from the external firewall so the public IP address is something
    like 12.xx.xxx.xxx and then the DMZ subnet is 192.168.3.x.  For my internal IP address I put the internal IP of my edge server which is 192.168.3.17 and for external setting i put the 12.xx.xxx.xxx IP address even though there is not a NIC in the edge
    server that has that IP since it is NAT'd from my firewall.  Will that work?  The reason i ask is everyone seems to say that this edge server has to have two NICs that has one connected to my DMZ subnet and the other to my LAN subnet but doesn't
    that mean you have a huge hole with a Windows server with one foot in the DMZ and the other in the LAN?  Is htere a way to utilize only one NIC in an Edge server?  I guess i am trying to see if it will work like the edge transport role in exchange.
     thanks.  

    No, you shouldn't ever have an edge server with one foot in the DMZ and one foot in the LAN.  That somewhat defeats the purpose of a DMZ since you've just created a path around your firewall.  What you need is in effect two DMZs, one that communicates
    only with the Internet, and one that communicates only with the internal network.  This is where the two NICs come into play.
    The external facing NIC would get private IPs typically (though they can be public) which are in turn NAT'd to public IPs.  The topology builder knows about the private IPs, but for the A/V edge, there's also a section where you let it know that the
    edge will be NAT'd and what the public IP for the A/V edge is.
    You can get away with just one NIC, on just one subnet.  People have had issues, and it's not supported, but I personally have gotten this to work without issue on several occasions.
    So, if you simply can't have two DMZs, you could give the box one NIC and four IPs.  192.168.3.17, 18, 19, and 20.  Assign 17 as the internal NIC, and 18, 19, and 20 as the access edge, web edge, and av edge.  In the topology builder, specify
    the 192.168.3.X addresses, but also put the 12.xx.xxx.xxx address in the public section.  Put persistent routes on the box so that it knows to use the Internal firewall to get to internal addresses, and the default route should be the external firewall
    (I suspect this is in place for other boxes in the DMZ unless they only talk to the Internet).  Open your ports, add your DNS, install Lync and you should be good.
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question please click "Mark As Answer".
    SWC Unified Communications

  • My server has Two NICs ! I want to use one of the NIC for the internet and the other to a local Network .

    In my case ,  there is a server ( windows 2008  enterprise) . Instead of sharing the internet using the server .  i have done the following .
         i have 24 port switch which is connected with the modem (ISP Gave it to me).  My server then is connected with the switch .  the client pcs are also connected with the switch(d-link switch).
    my objective is to enable efficient way of file sharing from server for client pcs and also internet sharing at the same time for client pcs!
    my server has two NICs ! how to make the local network and internet work with out a fight!
    how could i achieve this ?  help me guys
    regards

     It really depends on exactly what the equipment from the ISP is. If it is a simple modem there is no point in connecting it to a switch. It needs to connect to a router.
      You can connect it to one NIC of the server and configure the server as a (NAT) router (with the other NIC connected to the switch).
      If either of the switches is actually a router you can use it as the NAT router and run the server on the LAN using one NIC. 
    Bill

  • Mac Mini, two NICS and DNS

    Hi everybody,
    I'm not able to properly set up DNS role in Snow Leopard server with two nics. This is my situation:
    NIC 01: WAN
    Type: Builtin
    IP: 192.168.1.252
    SN: 255.255.255.0
    GW: 192.168.1.254 (ISP Router)
    DNS: 192.168.1.254
    Domain: homenet.telecomitalia.it (ISP domain)
    NIC 02: LAN
    Type: USB
    IP: 172.16.0.254
    SN: 255.255.0.0
    GW: empty
    DNS: 172.16.0.254 or 127.0.0.1
    Domain: mydomain.kzy
    I'd like to provide DNS, DHCP, Directory service, print server with the LAN interface and use the WAN Interface only for internet access.Obviously all clients must have access to the web. In windows server there's a role called RRAS (routing and remote access) that allows sysadmins to do this quite easly, but in os x server I was not able to find nothing of similar. If i setup my server only with tha lan interface everything works great, but when I add the wan interface the dns stop working; seems that operating system confuse externale dns with internal dns. Obviously something is wrong in my configuration, please an anyone help me to solve this problem?
    Thanks in advance
    Alessandro

    That's fairly typical of the problems encountered with OS X operating as an (expensive and slow and variously vulnerable) IP router.  OS X Server can be configured as a gateway if you follow the set-up directions exactly.
    It's local preference to configure either a commercial NAT-gateway-firewall-router box, or repurpose a spare two-NIC x86 box with M0n0wall, Smoothwall, pfSense or other open-source. 
    Preferably a box with a VPN server, but your 192.168.1.252/24 public-side IP address is going to cause issues with a VPN.
    And in one reading of your configuration details, your ISP router is already a NAT-gateway-firewall-router box (based on that 192.168.1.252/24 private address you've shown), so you might want to investigate what its particular capabilities and features are.  With that NAT assumption, you're headed toward double-NAT connection, and that'll play havoc with your networking.  Single-NAT is problematic enough.
    If that "ISP router" box is a NAT-gateway-firewall-router, then you'll be reconfiguring it for a subnet in your 172.16.0.0/12 or other private address space (which would make VPN pass-through more widely reliable), or moving your network into 192.168.1.252/24.
    If you post the identity of the particular "ISP router", somebody might know its capabilities.  Folks at your ISP almost certainly will, of course.

  • Two ISP connection and 4 NIC

    I have two ISP connections for Internet and the BM server has four
    interfaces, two public interfaces with completely different IP addresses
    and two private interfaces.
    I want to connect two different Terminal Server one for each ISP
    connection.
    When I connect to the public side of the server, I can only connect
    to the public IP address that is in the same subnet as the default route
    uses.
    Thank you

    In article <HwTIi.1699$[email protected]>, Valentin wrote:
    > When I connect to the public side of the server, I can only connect
    > to the public IP address that is in the same subnet as the default route
    > uses.
    >
    That is correct.
    This one gets tricky, because of routing issues. If you know NAT, you
    might be able to enable dynamic NAT on the private (LAN side) of one of the
    internet routers. That will make all traffic coming in that way look like
    it comes from a local address, and the second NIC will respond to it.
    Otherwise, all traffic will end up going to the default route. You may
    need filter exceptions to allow such traffic to go between public NIC's, if
    it works at all.
    If you just want to RCONJ to the second public NIC, you might be able to
    configure static NAT of that address to itself, but the default route and
    filters are still going to give you grief.
    You might want to look at tip #51 at the URL below, for a system with 2
    subnets on one public NIC.
    It sounds to me like you need a dual-WAN router to handle the two ISP
    connections. I've set up a number of servers that way using inexpensive
    Xincom routers (www.xincom.com).
    Craig Johnson
    Novell Support Connection SysOp
    *** For a current patch list, tips, handy files and books on
    BorderManager, go to http://www.craigjconsulting.com ***

  • RMI uses incorrect InetAddress on machine with two nics

    Hello All,
    RMI registry and server run on the same host. Host has two nics, one assigned for private network (192.168.x.x) and another for global.
    For the sake of creating RMI registry I use the global one and specify it as four dot-delimited numbers instead of machine name:
    Registry registry = LocateRegistry.getRegistry("xxx.xxx.xxx.xxx", rmiPort); // "xxx.xxx.xxx.xxx" is global IP addressInvoking a method with just a port as a single parameter causes RMI to bind to the private address, so I avoided that trouble by using numeric IP.
    Remote client is able to locate the registry and extract the stub from it now, but ironically retrieved stub contains private address inside.
    Debugger shows that the proxy stub contains TCPEndpoint which resolves to 192.168.xxx.xxx:yyyy
    I am exporting the object on the server side by using UnicastRemoteObject.exportObject(myObj, 0) method.
    Unfortunately, there is no method which would allow to specify the InetAddress to bind the object on.
    I've seen the battle on page [Remote Method Invocation (RMI) - Why does RMI server sets its connection address?|http://forums.sun.com/thread.jspa?threadID=5366985].
    Close questions are discussed, but I haven't found answer on my question.
    Is there an ability to specify the address when exporting the object?
    Or any workaround to let the client retrieve the proper stub which can be used to send requests to the server?
    Thank,
    Alex.

    For the sake of creating RMI registry I use the global one and specify it as four dot-delimited numbers instead of machine name:
    Registry registry = LocateRegistry.getRegistry("xxx.xxx.xxx.xxx", rmiPort); // "xxx.xxx.xxx.xxx" is global IP address
    That doesn't create a registry. It just returns a stub to an existing registry.
    Invoking a method with just a port as a single parameter causes RMI to bind to the private address.No it doesn't. It causes RMI to construct a stub using "localhost" as the hostname. If this maps to the private address via your /etc/hosts file or DNS, so be it.
    Remote client is able to locate the registry and extract the stub from it now, but ironically retrieved stub contains private address inside.Nothing ironic about it. The stub doesn't know where you got it from. The address inside the stub is controlled by what "localhost" resolves to in the server JVM. If it resolves to something inconvenient, either change that or set the system property java.rmi.server.hostname to the desired IP address or hostname in the server JVM.
    Unfortunately, there is no method which would allow to specify the InetAddress to bind the object on.You don't normally need one, see above, although in pathological cases you could use an RMIServerSocketFactory, which does give you that ability.
    I haven't found answer on my question.See also the RMI FAQ, item A.1.
    Is there an ability to specify the address when exporting the object? See above.

  • Two NICS presented to OS, possible to only present one ?

    B200-M1 blades and Menlo CNA.
    The SPs are using a dynamic vNIC templates with fabric A or B selected and F/O enabled.
    What we're witnessing is the OS will always be presented with two NIC's.  Depending on which Fabric A/B the SP is set to determins which NIC is active. eg : In Linux eth0 & eth1 are detected.  If the SP points to A eth0 is active, and B then eth1 is active.
    My question is : Using the Menlo card is it possible to present only one NIC to the OS and still retain f/o ?
    We use a number of auto config tools and really want consistency on which NIC is active but also still want to use both A & B fabrics.  Rather than assigning all SP' to A.
    Paul

    Paul
    These are 2 static PCI devices (with device numbering) which the OS will show.
    Default behavior with Menlo (linux terminology):
    Lets say you don't create any vNICs in a SP and give it to a Menlo adapter based blade.
    Your ifconfig should show eth0/eth1 while the link on both will be down (i.e unusable as the FI side config isn't done).
    If you create 1 vNIC (side A), your eth0 will have link up with correct VLANs, eth1 down.
    If you create 1 vNIC (side B), your eth1 will have link up with the correct VLAN, eth0 down.
    It is for the way OS enumerates the devices. The first ethernet device is wired to side A.
    You could potentially try changing the HWADDR/MACADDR in the /etc/sysconfig/network-scripts/ifcfg-eth[0-1] files to see if it works for you i.e assign an ip based on it.
    With M81KR as I mentioned before you don't have this issue. You can call out the PCI order, number of devices and which vNIC goes to which side.
    So 2 vNICs created in the M81KR could both be going to side A for example. This vNIC config will fail on a Menlo.
    Is the use case that for a singly attached server, you are trying to do half the blades use Side A while the other Side B while maintaining uniformity in your imaging tools?
    --Manish

  • Is it possible to redirect to same port two NICs

    Dear members,
    I have to setup my Solaris10/Apache server with two NICs, then I want to redirect the 80 port to another port like 777 for both of NICs. I mean, all the NICs should listen the 777 port and redirect incoming packets to 80 port. I tried this, but I was never able to set it successfully for both NICs. But when I unplumb one of the NICs, it's ok. The other is redirecting. But I cant do this for both of them.
    Any idea about this ? Please help.
    Thank you.

    user5401524 wrote:
    I have additional findings.
    After commenting /etc/defaultrouter and flushing the routing table, I'm able to reach the forwarded ports.
    If I try from a server which is in the same subnet with this server I'm able to ping, telnet the port or reach via webbrowser. And the port forwarding is working too. But if a try from another subnet, it's not possible. It seems to me like a routing problem but I cant explain that yet.
    Fyi.I don't know that the ipfilter syntax provided in the example is correct - I'd check with the ipfilter man page.
    It looks like you are trying to redirect any outgoing address for port 7777 to 127.0.0.1 port 80, but when your packets
    are looking up the routing table, and finding the default route first so that the outgoing packets would never
    really have the 0.0.0.0 ip destination that your rule is set up for.
    --Sowmini                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • IP Address with two NICs

    LabVIEW 7.0
      I have Win2000, my client has XP Pro.
      My program, as a convenience, displays on the front panel the IP address of the machine it's running on. This is so he can enter this address in another machine and communicate with it.
      I'm using the STRING to IP function (input unwired), and the IP to STRING function to display the number.
      My client has TWO NICs installed - one for data acquisition (we are collecting data from Ethernet machines in a test cell), and another for general traffic (printing, inter-cell transfer, etc).
      We discovered recently that the program was displaying the local IP number (192.168.x.x), which is the DAQ net. This is not the one we want.
      So I found the MULTIPLE OUTPUT option on the STRING to IP function and turned it on. I used an INDEX ARRAY function to pick out address #1 (not #0) and display that. That works fine.
      My question is: how do I know that #1 is the right number to use? This app will be deployed on a bunch of machines, will the local be Net #0 on all machines? Is that a system config issue? Do I need to tell him to configure a control panel somewhere a certain way? Do I need to read both addresses and display the one that does NOT start with "192."? How do I make this bulletproof?
    Steve Bird
    Culverson Software - Elegant software that is a pleasure to use.
    Culverson.com
    Blog for (mostly LabVIEW) programmers: Tips And Tricks

    Hi CMB,
    There are several approaches to this.  Some less favorable to others... such as at one extreme:  to identify with a label which NIC goes to what network....
    However,  to keep automation... "automated", how about the following: 
    Since you can automatically detect each IP address, you can then implement a small test to "self-discover" which IP (NIC) talks tho which network.  For instance, you may want to ping a known static address, such as a mail-server to discover that it is part of the WAN and not the test network.  You may also prefer to ping by host name just in case the IP address of that machine changes.   In the event that you do not know any IP address or host names, you may try to ping something outside the LAN (over internet for instance), something that the test network could not reach (your own website for instance??).
    Would you be autodetecting on an ongoing basis (ie. every day) or only during equipment setup and configuration?
    Ray

  • Does a iMac mid-2014 have two NIC cards?

    I was looking at my system info and noticed in Network > Ethernet one MAC address and then Network > Wifi > another MAC address.
    I could only see one card Airport Extreme, I could not find info on this on apple.com specs or with a few lazy searches.
    If I do have two NIC cards, How does that effect a loopback ping?

    Do 'ifconfig' in a terminal window...loopback is on its own interface.

  • Two NICs on G4 Sawtooth

    I've got a G4 Sawtooth that I have upgraded with a new ATA controller and Gigabit NIC. I have installed OSX Server 10.4.x, and I intend to set this up as a webserver for my home office. (I've got a wicked-fast 15mb/2mb connection). I just installed a commercial firewall and unfortunately it only works at 100 rather than gigabit.
    Could I hook to my firewall (DMZ) with the on board NIC and my LAN with the Gigabit NIC?
    Any security concerns?
    Inside the firewall (LAN side), I have OS X server 10.3.x running on a G4 Quicksilver.
    I'll use the WAN server to email/afp/smb/web for about 20 clients max. Web serving is just a few static pages.

    I'm not seeing the problem here. Your upstream connection is only 15mbps, so what's the problem with the 100mbps link?
    That aside, you could run everything on a single gigabit NIC. The upstream is going to be throttled by the firewall anyway, but the LAN clients can utilize the extra bandwidth.
    In short, you can put two NICs in the machine, but I don't see any reason to, unless I'm missing something.

  • Two websites on different networks - two NICs

    Hello,
    I have got an xserve, running 10.4.3 with two NIcs on different networks (192.168.... and one on a 10.0.0...) , connected to two different ISPs. I would like to run two websites, one per ISP/network card.
    I've read through Apple's doumentation - I think the problem is that OSX will only connect to the internet via one network card. Any I dea what I can try?
    I have seen a post on the discussion board regarding the ipfw.conf and firewall
    Thanks,
    Nico

    It has to do mainly with a routing table. In that routing table you tell the router if the destinition IP is X from Subnet Y send it through Gateway Z like this:
    Destination | Subnet mask | Gateway
    192.168.40.0 | 255.255.255.0 | local
    10.65.1.0 | 255.255.255.0 | local
    192.168.32.0 | 255.255.255.0 | 192.168.40.13
    192.168.35.0 | 255.255.255.0 | 192.168.40.14
    192.168.0.0 | 255.255.0.0 | 192.168.40.13
    10.0.0.0 | 255.0.0.0 | 10.65.1.25
    0.0.0.0 | 0.0.0.0 | 10.65.1.1 (Default)
    Just set-up where things can come from and where they should go. Setup a good defauly and you should be set.
    Hope that helps a little.
    Sorry if the table is a little hard to read.

  • Bridging two nics

    Hello All !
    So here is my problem:
    Im running Dual PowerMac G4 as a server for small number of computers with some services and have two nics:
    en0 with adress 192.168.0.1 (local network)
    en1 with adress 192.168.1.2 (route to adsl modem with adress 192.168.1.1)
    running NAT let people from local network surfing the internet and anything working fine.
    but i can not bridging this two interfaces and create one with 192.168.0.1 adress for example. So how i can do it ?
    Running OSX Server 10.4.9 btw
    Thanks to all for help.
    Anton.

    Hmmmm...
    Strange, but Thanks anyway
    Anton

  • Catalyst 3750 12.2(25)SD1 and dual nics

    When a Catalyst 3750 stack master fails or leaves the stack, a cross-stack EtherChannel in trunk mode running Link Aggregation Control Protocol (LACP) protocol might stop forwarding traffic on some VLANs.
    The workaround is to enable the stack-mac persistent feature by using the stack-mac persistent timer global configuration command. You can also use the shutdown interface configuration command and then the no shutdown command on the EtherChannel interface.
    Network Infrastructure: LAN Routing and Switching
    I have upgrade a Catalyst 37024 TS 2 switch stack to 12.2(25)SED1 from 12.1(14)EA. The switch has an Alpha Server Custer connected to it the cluster has two servers each having two nics . There is a active server which has an application IP address and each server has a Server IP address one nic active ata time.
    All worked ok upto the upgrade. Now every night when the backup runs noone can access the application ip address or the acive server address but te offline server is pingable. This is only for devices outside the serrver VLAN. Devices within the server VLAN can hapily ping any address.
    I thought this was arouing issue but all looks ok and the offline server can be pinged from any where.
    the active server nics areon 1/0/20 and 2/0/24
    Any one have any ideas?

    I forgot to add if I shut both interfaces an then do a no shout on both the issue is resolved until the next night.

  • WDS Transport on two NICs!

    Hi! I'm configuring a server (win 2008) with WDS Standalone. The server does have two NICs, one is connected to a small home network (test environment) and the other is connected to a wide office network. Right now I do have DHCP set-up on the small home
    network, and wds are configured to run over DHCP. The question I have is if it's possible to configure WDS to actually go through both NICs? I would like to have my test environment but still be able to PXE boot when at the users client too. The second network
    does already have a DHCP server. Best Regards Kimzi

    Hi Kimzi,
    As far as I know the WDS can’t use the multiple NIC for the deployment at same time, if you want to deploy system to different subnet you can refer the following similar thread:
    WDS PXE DHCP, Clients on different subnet
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/10998e36-c5cb-4548-9c68-0224217c118d/wds-pxe-dhcp-clients-on-different-subnet
    I’m glad to be of help to you!
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

Maybe you are looking for

  • Creation of Shortend Fiscal year..

    Dear Frenz, I have an issue regarding my shortened fiscal year.. My client is following 2009 as fiscal year for the period Jan 2008 to Dec 2008. Now he is closing the books in september and wants to create a shortened fiscal year for oct, nov & Dec..

  • How does Find My iPod work..

    If Find My iPod needs a Wifi connection to work, how will it be able to be locked/wiped/tracked if it doesn't have a internet connection. And iPods don't automatically connect to wifi connections. Whats the point of it. My iPod was stolen and I'm thi

  • Need help in Update rule coding - URGENT

    Hi Gurus,           I am creating an update rule there i need to compare some filed with the fields in inforsouce so here what should be the name used for the infosource can i use something like this read table TAB where       <fields1>       =  DATA

  • MBP Core Duo 17" 2.16Ghz  - Why is 2GB the limit?  4GB?

    All the past and future Mac Notebooks allowed memory upgrades when the chips either became available or affordable. The Apple store advisor (when I purchased last year) said that like older Mac Notebooks they assumed that the MBP memory would be upgr

  • AS3 arrays and conditionals not working

    I'm working with CS4 and AS3 using timeline coding. I have three sets of movie clips in three different arrays. The idea is to have topArray and downArray movies make zeroArray movies visible. For instance, if topArray[0] and downArray[0] are clicked