ethernet

How to Enable/Disable Jumbo Frames in NIC Card using VC++ [Programmatically]

Hi, I wanted to know how to enable or disable jumbo frames for Installed NIC Card Programmatically.. For Installed NIC Card..We can set in using GUI..But i wanted to do it Programmatically in VC++ Answers will be Highly Appreciated. Thanks in Advance. ...

High speed UDP receiver in MATLAB

I'd like to implement the receiving end of my system in MATLAB - this requires Gigabit Ethernet with sustained speeds of over 200Mb/sec. Using MATLAB's built-in UDP from the Instrument Control Toolbox does not appear to be sufficient. Are there any good alternatives? ...

How to write to & read from network card in x86 assembly?

Hi, does anyone know how to gain access to devices such as an ethernet port on a mainboard or on a pci card? Are there special registers? Opcodes? Do I have to make a call to the OS? If so, how? Thanks in advance. ...

Send raw ethernet packet with data field length in type field

I'm trying to send a raw ethernet frame with the length of my data written in the type field. This should be a valid ethernet frame. My code for this looks like this: ethData = "foobar" proto =len(ethData) if proto < 46: proto = 46 soc = socket.socket(socket.AF_PACKET, socket.SOCK_RAW, proto) soc.bind((iface, proto)) For some rea...

Custom ethernet driver problem

Hello, I dont know if this questions is relevant here or superuser, but ask anyway. I have below mentioned setup- A Linux Desktop PC system. To this is connected one custom FPGA development board.In this FPGA there is an Ethernet Network Card IP realized and executing. This board is connected to the FPGA development board using USB po...

Networking -- Padding of Data

For a homework assignment, I was tasked with creating a "Ping Pong" layer that sits right above the Ethernet stack. I was able to easily complete the task but when I tested my application over my wireless connection and tried communication with my desktop computer (ethernet) on the same network I found some odd behavior. It seems like ...

How do I create virtual ethernet devices in linux?

I am testing an implementation of a protocol that talks between two computers using ethernet (not IP). In order to not actually have to have two physical computers, I want to create two virtual ethernet interfaces. These would only be able to talk to each other, so one endpoint program would bind to one interface and the other endpoint w...

Winsock Join MAC ADDRESS Multicast group

Is there a way to join an Ethernet multicast group? All documentation I found is about adding an IP group. I just want to receive the Cisco CDP packet that is sent to the MAC address 01:00:0c:cc:cc:cc. ...

Sending data over tcpip using Microchip's PIC18F

All of the examples in the TCPIP Demo App are built using a custom program that designs a webpage that triggers callbacks when the webpage is changed. Is it possible to get a value from a sensor every X seconds and send the data out over an HTTP POST? ...

How can I inject raw packets onto my network

In testing certain network device driver receive features, I need to send special packets on the wire. I know I need to open a raw socket and push the bytes out. Is there some well-known example (C, perl, whatever) code already available for playing at this level? (added later) I would prefer non-platform-specific answers, they'll be ...

Why I receive no answer from an ARP request?

I'm working on an embedded device that connects on local network with RJ45 and when the system sends an ARP request to know the mac address of the gateway, no answer at all. If I clear the arp table on my Windows, the Windows asks exactly the same ARP request and got an answer! I sniffed the packet and the only difference inside the re...

Cannot achieve full speed on Symmetrical Internet Connection

We are using a business Ethernet connection (3Mbit upload, 3Mbit download) and trying to understand issues with our tested bandwidth speeds. When uploading a large file we sustain 340 KB/s; downloading we sustain 340KB/s. However when we run these transfers simultaneously the two transfer speeds rise and fall erratically with a average...

How to rapidly read data coming through a 10GbE NIC?

I have two debian boxes connected by a CX4 cable going between two 10 GbE cards. One is going to be generating data very quickly (between 4Gbits/s and 16Gbits/s), and the other needs to be able to grab all of that and store it in RAM for later parsing. I'm new to this kind of low-level coding, and would happily accept any ideas about w...

Sending data between two ethernet interfaces on the same box

I would like to send data between two ethernet interfaces that are connected with a crossover cable in Linux. The two ethernet interfaces are on the same box. I defined the ethernet interfaces to have different static ip addresses (1.2.3.4 and 5.6.7.8) and have been using sockets to send bytes from one IP address to the other. I want ...

Is there a class you can use for devices with ethernet connectivity

Hi, I am using C#.net and need to connect to a device that has ethernet (ip address). What class can I use to communicate with such a device ...

Programmatic use of ARP

I have a need for some C or C++ code, compilable under Linux, to be able to take a list of IP addresses of some arbitrary number of remote hosts machines and obtain a ethernet MAC address for each one. These host machines may be on the same subnet or they could be on a different subnet behind a router. Its OK if the MAC address of some o...

ARM processor for gigabit ethernet

Hi Geeks, I am working on a project which is a handheld device to do some measurements on IP packets. So I need to process the packets by my processor. I am planning use ARM processor for this project. Can anybody suggest if ARM is the right choice for packet processing of Gigabit range? ...

How to get the IP address of a remote host from its Ethernet address ?

I'm looking for some Linux code to find an IP address from an Ethernet address. I suppose I have to do some inverse ARP trickery but I don't find any example... ...

PIC 18 controller as serial to ethernet bridge

Hi Geeks, I am planning to use PIC18F6*** serial microntroller for my project serial-ethernet converter. Once I will put my hex code in PIC micro-controller for send recieve serial port data I will use the windows hyper-terminal and for checking the ethernet data is there any application in windows? If my question is not clear I am re...

MySQL performance - 100Mb ethernet vs 1Gb ethernet

Hi All I've just started a new job and noticed that the analysts computers are connected to the network at 100Mbps. The ODBC queries we run against the MySQL server can easily return 500MB+ and it seems at times when the servers are under high load the DBAs kill low priority jobs as they are taking too long to run. My question is th...