Controlling Two Network Card by LabVIEW

Hi,
I'm using LabVIEW 8.5 and Windows XP.
I am intending to use LabVIEW to control a PC with 2 network cards in it.
I want to send TCP/IP packet out from one network card,
and receive the packet from another network card.
Do I have to change the confguration of the XP system?
How can I assign those two different cards to send and receive individually?
Can anyone tell or suggest what to do for me
Thank you very much~ ^^

You will not be able to directly prohibit the network cards from receiving or transmitting. You can define your network routes on the PC to route the traffic in the manner you want. Each network adapter will need to have its own IP address. NI's Internet Tool kit has a few issues, most notably the FTP VIs, when using multiple NICs. In addition, any DNS requests made will be routed to the primary network card. Windows determines which interface it thinks is the primary interface. From a code perspective using the native TCP or UDP VIs you will not have to do anything special.
Mark Yedinak
"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot

Similar Messages

  • How to web filtering via two network cards?

    I have Installed Server 2008 and two network cards
    on my pc. One LAN card for clients access and one for internet router. I need to share internet connection to my client computers with
    web filtering. So how to do that? I need to block some sites to client access.

    Hi,
    According to your description, my understanding is that you want to use the WS 2008 to share Internet connection and provide web filtering function for internal clients.
    Internal clients –(NIC1) WS 2008(NIC2) – Internet router – Internet network
    Manually assign IP address, default gateway, DNS server, etc. on NIC2. Manually assign IP address, DNS server, etc. on NIC1.
    Install Network Policy and Access Services – Routing and Remote Access Services. Detailed steps reference:
    Install and Enable the Routing and Remote Access Service
    https://technet.microsoft.com/en-us/library/cc770798(v=ws.10).aspx
    Then open Routing and Remote Access and start configuration. Enable NAT on NIC2 to transfer IP address. Detailed steps reference:
    Enable and Configure NAT
    https://technet.microsoft.com/en-us/library/dd469812.aspx
    Windows Server itself does not support web-based filter, third-party tools with application-layer firewall might be needed to realize this function. Configure WS as a router, it supports IP packet filtering, which specifies which type of traffic is allowed
    into and out of the router. Reference:
    https://technet.microsoft.com/en-us/library/cc732746(v=ws.10).aspx
    Best Regards,
    Eve Wang
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Two network cards configuration

    Hi
    I have problem with my network - I have two network cards and it seems they can't live both but I need them both so:
    1st card (rtl8139) is connected to cable modem and gets ip by DHCP (eth0="dhcp" in rc.conf)
    2nd card (nv forcedeth) is connected to router and gets ip by DHCP too (eth1="dhcp")
    When I start them both -> 1st and 2nd card gets good IP by DHCP but when I want to ping google.com for example packet is lost.
    What I want ? I want to use my eth0 (1st card) for internet and my 2nd card for local network.
    ##EDIT##
    My resolv.conf is 192.168.1.1 but I need DNS from 1st interface -> how to do this?
    Last edited by cpu (2007-02-22 22:46:09)

    Messy setup IMO, but anyway....
    Your faulty resolv.conf is the reason you can't ping google. Edit it manually as required, and then use the -R flag in /etc/conf.d/dhcpcd to prevent it being overwritten. DHCP on both interfaces will probably cause routing issues as well, in which case you will need the -G flag.

  • Swapping Oracle 7 installation between two network cards

    We have an NT server with two network cards for resiliance. We recently tried to swap over to the second card and run Oracle. Oracle started-up ok, but we could not connect to the database from the Aix/PC clients. The tnsnames.ora points to the hostname of the server not a hardcoded address. The hostfile on both clients and server were updated and the server could be pinged. Is there something built into the initialization config, which points to a specific network card? Any help gratefully recieved.

    Is the network up? (sudo ifconfig -a). Can you see eth0?
    From a terminal session on the server, can you ping localhost, your ip address, gateway?
    OL 5.7 boots the Oracle UEK kernel by default. You can also select the original Red Hat Kernel at startup. Does it make any difference?

  • Dbconsole configuration - two network cards

    Hi,
    I have two network cards in the Solaris server and
    Oracle 11g2 EE database server.
    One network card is used for connection to the application (data network). Connection though standard port 1521.Database configured using server name defined for Net1 card and I can connect to the Oracle database using net1 card from apps server.
    Second card is the management card (connected to the management network).
    Is it possible to use it for connection to the dbconsole installed in the database ORACLE_HOME?
    If yes, how I should configure dbconsole that I can see dbconsole web window through net2 card.
    Thanks,
    Oleg

    Messy setup IMO, but anyway....
    Your faulty resolv.conf is the reason you can't ping google. Edit it manually as required, and then use the -R flag in /etc/conf.d/dhcpcd to prevent it being overwritten. DHCP on both interfaces will probably cause routing issues as well, in which case you will need the -G flag.

  • Windows sharing with two network cards

    Hello,
    I am running OSX 10.4.11 and enables Windows file service.
    I have two network cards. one is public (due to the web server) and one is private (192.x.x.x).
    Is there a way to make only the 192.x.x.x accessible via the Windows file services? I don't want anyone that is a local user to be able to get to any of the shared folders via the public address. Like if they were at home or something.
    Hope this makes sense.
    Thanks,
    Jay

    Hello Jay,
    Your question does make sense!
    And in fact Samba (the software that delivers the Windows file service on a Mac) has configuration options to do just what you want. That's the good news. The bad news is that I don't know a way to set those configuration options from the GUI. If you are confident to use a terminal and edit configuration files by hand then you should be able to establish the Windows file service running on just one interface.
    First you need to find out the real name of the interface on which the Windows file service should run. One way is to look under Apple\About this Mac\Network or in a terminal enter:
    ifconfig
    My Mac Mini has en0 (wired) and en1 (airport) as network interfaces. Suppose en1 is the interface on which file sharing is wanted (you should replace en1 in my example by the name of your network interface!)
    Next edit the file /etc/smb.conf in a terminal by:
    sudo nano /etc/smb.conf
    In the [global] section add the following lines:
    interfaces = en1
    bind interfaces only = true
    Save your edits by pressing Ctrl-O and exit the editor by pressing Ctrl-X
    After restarting you can check if it works as expected.
    Good luck,
    Max

  • Server 2003 with two network cards problems

    We have a win server 2003 with two network cards. From the server we connect using a vpn client from cisco to another server. When we do that we can NOT RDC to our server because it inherits the remote IP from the vpn connection. We installed an additional NIC. We gave an static IP to connect to our local network. How can we or is there a way to tell the vpn client to use one nic card and leave the other so we can RDC to it? thanks

    It is possible to configure server to use on nic for incoming and other for outgoing, but it is not possible when vpn client is running. Also it cannot be specified as to which card to use.

  • Datasocket does not work with two network cards

    If I have two ethernet card in a PC. The Datasocket server does not work if the second card is enabled. It keeps displaying resolving IP Address. I am wondering if there is a solution for this problem.
    Thanks 

    Thanks for you reply. One card has a static address(10.20.35.1), which is used for Data socket, and the other card uses a dynamic IP address. The card with dynamic address is only used for connecting the PC to the company’s network.
    The second card, when turned on causes the Datasocket server problem. In the Datasocket Server manager I have only two IP addresses under Permissions Groups. (10.20.35.1 and 10.20.35.11. 10.20.35.11 is the IP address of the remote PC with labview application. The Datasocket is used to transfer data between the two PC’s)
    I am wondering if my set up for hosts in Datasocket Server manager is not correct.

  • ISCSI over two network card?

    Hi.
    Is it ok to create iSCSI connection over two different network card?
    I have a few servers with 2 4-port 1Gb ethernet card, and I mean to use one port of each card to get redundancy.
    Is there any problem that can be happen using two different network card in active mode
    Another thing I am worried about is iSCSI VLAN. Does it affect performance to put iSCSI traffic in VLAN?
    Thanks on any advice.
    Ante

    Although it's good to have separate switches for iSCSI, it actually depends on the size of your environment (I/O requirements) and the current switches you have in place (port buffer size, Jumbo Frame support, flow control capable, ...), whether it is ok to simply use a dedicated VLAN on them. I've configured both in my customer's environments, and didn't have any issues with VMware's software iSCSI so far.
    Assuming you are talking about software iSCSI, there's nothing special you need to configure on the network adapters themselves. It's basically configuring the IP addresses on the VMkernel port groups, setting the failover policies, and - if you are going to use Jumbo Frams - setting the MTU on the vSwitch as well as on the port groups.
    André

  • PLEASE Help on two network cards in server

    Hi all,
    (Sorry my spelling Im danish)
    We have a 10.4.5 server with 2 network cards in it. How does I get the server to route betwin the two networks so that mac's on net 1 (en0) can see mac's and printers on net 2 (en1) and visa versa
    The mac's on net 1 can see and use the server (but not print on net 2) The mac's on net 2 cant see or use the server!
    The mac's on net 1 get backuped by Retospect on the server. Retospect can't see the mac's on net 2
    How does I get this to work?

    "sudo sysctl -w net.inet.ip.forwarding=1"
    That will start forwariding immediately but woun't survive a reboot.
    In Tiger Server Admin NAT setup you can make this permanent by choosing "start Ipforwarding Only".
    (Or by adding a line to /etc/hostconfig:
    IPFORWARDING=-YES-
    Or by adding a new file /etc/sysctl.conf
    with this line in it:
    net.inet.ip.forwarding=1)
    "Devices on each network need to know how to get to the other network, and that's usually done by editing the routing table on each system."
    Not necessary. What's necessary is a static route in each Internet router that use the server IP for each LAN as the gateway/router for the other LAN.
    Example network 1: 192.168.100.0/24
    Internet router 192.168.100.1
    Server IP for that LAN 192.168.100.254
    Static route in Internet router: 192.168.200/24 gw 192.168.100.254
    Example network 2: 192.168.200.0/24
    Internet router 192.168.200.1
    Server IP for that LAN 192.168.200.254
    Static route in Internet router: 192.168.100/24 gw 192.168.200.254
    "In addition it's not common for a printer to have an option to manipulate the route table in this way"
    Correct, but you need to add the correct gw/router and netmask to the printer IP settings for this setup. This is sometimes achievable via Telneting to the printer in question to set it up (older Apple printers).
    For performance reason it could be better using a static route in each machine if the internet router doesn't send out route redirect packets.
    Some DHCP servers should be able to send out a static route to it's clients with the rest of the IP info thus making it easier to provide each machine with a static route.

  • HOST UNREACHABLE - two network cards

    We have two ethernet cards. The first has a static
    IP address. This is the card that is used for our
    internal network. The second card recieves a dynamic
    IP address from a DHCP server. The second card is
    used to connect our machine to the internet. When we
    disable the second card we are able to make a socket
    connection and connect to our database. When the
    second card is enabled the socket connection fails and
    we get a HOST UNREACHABLE ERROR.
    What must be configured here ?
    Any help would be appreciated.
    null

    Messy setup IMO, but anyway....
    Your faulty resolv.conf is the reason you can't ping google. Edit it manually as required, and then use the -R flag in /etc/conf.d/dhcpcd to prevent it being overwritten. DHCP on both interfaces will probably cause routing issues as well, in which case you will need the -G flag.

  • Udev, two network cards

    Hi!
    I installed ARCH again. I didn't configure Xorg7 yet because I play with udev and my network cards. I have one integrated on the motherboard (3Com) which I use for Internet and I have D-Link card which I did use with my wifes computer and I live this card in for future. During installation was okay but after update I have a problem. Now I use a wifes computer and at this momemnt after sixt reboot network works.
    How can i save this problem, please?
    Mitja

    lumiwa wrote:
    Hi!
    I installed ARCH again. I didn't configure Xorg7 yet because I play with udev and my network cards. I have one integrated on the motherboard (3Com) which I use for Internet and I have D-Link card which I did use with my wifes computer and I live this card in for future. During installation was okay but after update I have a problem. Now I use a wifes computer and at this momemnt after sixt reboot network works.
    How can i save this problem, please?
    Mitja
    Some information more:
    lsmod show me now when network works skge and sk98lin.
    dmesg | grep etho:
    skge eth0: addr....skge eth0: enabling interfaces
    skge eth0: Link is up to 100 Mbps...
    and on the end:
    eth0: no IPv6 routers present

  • MAC (Media Access Control)Addreess, Network Card address.

    Hi ,
    Could you please tell me
    how to read computer's MAC Address using Java programme.
    its urgent !
    Thanks
    ramesh

    You can get the mac address by running ipconfig in a
    DOS prompt and parsing out the data.
    //First run ipconfig
    Process conf =
    Runtime.getRuntime().exec("c:/windows/ipconfig.exe
    /all");
    // then parse out the response
    DataInputStream ds = new
    DataInputStream(conf.getInputStream());
    while ((String lineItem = ds.readLine()) != null) {
    // look for index of "Physical Address" and you have
    e it
    There is a lot more information returned here as well
    you might find usefull.This solution seems platform specific. Do you have a solution that is more portable?

  • Network stream Two network adaptor cards in PC comms with crio

    Hi all,
    I have two network adaptor cards in my pc which i think is causing my problems when collecting data over the tcp. 
    I'm seeing an error message -314340 from the create network stream write/read my address match up and i'm using a template crio vibration data logger. 
    I have two network cards in my pc. I think the error is a tcp one and I’m wondering if this is causing the problem. I’ve given the crio a static ip address 10.0.0.2 with mask 255.255.0.0
    You can see the network adaptor below and it’s ip address 10.0.0.1 so I’m connected directly to this via ethernet cable. However from the Routes print cmd I don’t see the 10.0.0.2. Also the gateway for the crio is default at 0.0.0.0
    Do I need to add the route to the list ? I found the cmd for that which I don’t think I’m using right… route ADD 10.0.0.2 MASK 255.255.0.0 10.0.0.1
    Cheers
    Solved!
    Go to Solution.

    Hi i'm using the crio data logger template from the create project list:
    I'll post my code and some pretty pictures to help explain myself
    I'm using a different crio, so i created a new project and configured the FPGA vi for my hardware, then added the host side. I can run the code see the waveforms after 10 seconds it outright crashes and i've been searching through all the error messages tracking it back to some unfound reason. The irony is sometimes the program creates a tdms file and makes a deposit in the crio folder/deposit (this is defined from an xml file)
    I do notice within a few seconds the cpu on the waveform panel increases to 70+% before crash, so i'm also thinking the FIFO read is at fault, but it could be another red heiring (just installing the real time exection package so i can trace this better).
    I've changed the number of channels from the default 4 to 2 please look in the VibConfig.xml file to see the change as the [Host] Create Config XML.vi doesn't like to changing the channel from 4 for some reason. 
    My set up is [SENSORS] ==> [cRIO] ==ETHERNET==> [PC] Please help 
    Attachments:
    LOG3.zip ‏1584 KB
    error63036.png ‏18 KB

  • Problems with SRW224G4 switch and Bridged Network Cards

    Hello,
    We have recently installed a SRW224G4 switch and have discovered that when we plug our DELL PowerEdge 2900 server into the switch, the switch loses all network connectivity and all of the LED's on the switch start flashing.
    The server works perfectly well plugged into another switch, but as soon as we introduce the SRW224G4 into the network, either with the server plugged into that switch or any other, the problem re-occurs.
    The only way we found we could eliminate this issue was if we disabled the Bridged Network connection on the two network cards on the server. If we do that, everything is fine, except the network performance of the server has dropped significantly.
    The server is plugged into the 1GB ports on the switch, although we tried it on the 100MB ports and received the same problems. The switch reports that the ports are running at full-duplex.
    Has anyone noticed this behavior before, and more importantly been able to rectify it.
    Thanks in advance for your assistance,
    Paul

    I had this problem as well with any Linksys 2024 or rackmountable switch..  The trick is, you need to use the network cards management software to "team" or bridged the 2 NIC's otherwise the switch detects a loop and the whole thing locks up. So lame...  Windows built in bridge mode stinks dont use it.  When you use the Intel management software or Dell or HP's NIc management software you have the option to actually choose "redundant mode" where you can pick a Nic to be the primary, or you can choose Load Balancing where you can essentially double your throughput by joining the 2 nics.
    In Windows 2008 Server, you actually do this by going to the Properties on the NIC in  Device Manger.  the software controls are now built right into the driver.  pretty neat.  2003 you can check Device Manager the same way but not sure if it's the same as 2008, you might need to run the actual NIC management app.
    Hope this helps
    fdigi 

Maybe you are looking for

  • Case insensitive search on subject name to retrieve a certificate from key chain.

    Hi, I need to find the client certificate from key chain based on the subject name. Currently, I am using attribute kSecLabelItemAttr and providing the subject name to create the attribute list for the API "SecKeychainSearchCreateFromAttributes" whic

  • IPhone 6 stuck in landscape after unlock

    Most of the time when I unlock my phone, the open app is in landscape mode. It will not switch to portrait unless I rotate the phone 90 degrees to landscape and then back to portrait. This is extremely annoying on apps that have very discrepant funct

  • HP Photosmart 2610 all-in-one refuses to apply manual IP

    My home network has a HP Photosmart 2610 all-in-one printer on it.  Occasionally all the computers on the network see the printer as offline (Vista and XP).  The printer must be deleted and then added again in control panel to make it work again. Thi

  • Overall Pur req release

    My client is using Item wise Req release procedure. 1. Is there any document which say Item wise release is better than Overall release or some document where SAP recommends Item wise release for Purchase Requisitions? 2. Second thing , if I would mo

  • Message type " " is unknown

    Hi Masters            When i try to cancel the subcontracting challan in T code J1IF13, it throws a run time error "Message type " " is unknown" .We discussed with the ABAPer regarding this error.He told that we have to maintain the message type in c