Questions tagged [ethernet]

Ethernet is a set of networking technologies widely used to interconnect computers.

Ethernet is a set of networking technologies widely used to interconnect computers at the physical (layer 1) and link (layer 2) levels. The capability of Ethernet has matured to the point where it is used for both basic desktop computer networking and for carrier-grade networks where operators must guarantee quality of service.

More information at http://en.wikipedia.org/wiki/Ethernet

1632 questions
6
votes
5 answers

Sending HTTP POST Request with Arduino and ENC28J60 Ethernet LAN Network Module

I just bought new ENC28J60 Ethernet LAN Network Module on Ebay, and I want to send POST Data with this module to specified web address eg. www.mydomain.com/example.php I resereached google for some examples, but all I could saw were examples for…
Jakub Pastuszuk
  • 928
  • 4
  • 12
  • 31
6
votes
2 answers

Can I write Ethernet based network programs in C++?

I would like to write a program and run it on two machines, and send some data from one machine to another in an Ethernet frame. Typically application data is at layer 7 of the OSI model, is there anything like a kernel restriction or API…
jwbensley
  • 10,534
  • 19
  • 75
  • 93
5
votes
4 answers

Detecting network state (connected - disconnected) in C#

I am in need of a piece of code that can detect if a network connection is connected or disconnected. The connected state would mean a cable was plugged into the Ethernet connection. A disconnected state would mean there is not cable connected. I…
Bobby Cannon
  • 6,665
  • 8
  • 33
  • 46
5
votes
5 answers

Understanding vlan treatment on packet

Hi every one i am trying to understand vlan behavior on tagged and untagged packets.i have come across these statement which sounds quite confusing to me When a tagged packet enters a port, the default VLAN ID setting has no effect on the tag. 1.…
mainajaved
  • 7,905
  • 10
  • 36
  • 44
5
votes
2 answers

Ethernet begin blocks for 60 seconds if there's no Ethernet cable

I'm building a clock. I want to set the clock by plugging an Ethernet cable into the clock. Most of the time the clock would not be plugged into the Internet. I have an Arduino board and an Ethernet shield that can successfully connect to a time…
rob
  • 4,069
  • 3
  • 34
  • 41
5
votes
2 answers

Simple Http alternative for Wireshark

In web development, I usually use Firebug. But now I have to use Wireshark to monitor Http requests sent by an Android simulator. Wireshark is a fantastic tool, however it is too fat for what I'm doing, and quite painful to copy/paste the…
Nicolas Zozol
  • 6,910
  • 3
  • 50
  • 74
5
votes
1 answer

header of jumbo ethernet frame and of super jumbo frame

There is possible to use very big frames with some ethernet cards. One case is 9k frames or jumbo frame and other case is super jumbo frame (as i know, up to 64k). What is format of frame used for such huge packets? As I know, for normal frames two…
osgx
  • 90,338
  • 53
  • 357
  • 513
5
votes
3 answers

Windows networking using only Ethernet Frames

I'm doing a project where I must write a network library for a device connected to a Windows machine. The complication comes in that I may only communicate with the device using ethernet frames. So there is no TCP/UDP/IP at all. I don't think the…
devin
  • 6,407
  • 14
  • 48
  • 53
5
votes
2 answers

What is the total length of pure TCP Ack sent over ethernet?

I have captured a pure TCP ack using Microsoft Network Monitor. It shows the captured frame length as 54 bytes. IP header (20 bytes) + TCP Header (20 bytes) + Src MAC (6 bytes) + Dst MAC (6 bytes) + Frame Type (2 bytes). I don't see a CRC (4 byte)…
Bruce
  • 33,927
  • 76
  • 174
  • 262
5
votes
4 answers

How can I fetch the ethernet port given the ip address?

I am trying to write a bash script to fetch the ethernet port of an interface whose IP address I know. I need to grab this from ifconfig but can't seem to be able to figure out how to go about it. Any ideas? Thanks.
fzkl
  • 977
  • 3
  • 11
  • 17
5
votes
1 answer

how to find Subnetmask,gateway,DNS values of ethernet connection in android device?

I have android PC device ,handheld device which are connected through Ethernet connection. Right now i am able to get IP address and mac address of device but i also need to get the subnet mask,gateway, pri-sec DNS values. Please anyone tell me how…
shyam002
  • 237
  • 1
  • 5
  • 19
5
votes
1 answer

Detect whether Ethernet adapter is Auto-MDIX

How would I detect in code whether a computer's Ethernet port is Auto-MDIX, and therefore can use a regular Ethernet cable (-not crossover) to connect to another computer? I've looked in NetworkInterface's properties and searched for this, but I…
ispiro
  • 26,556
  • 38
  • 136
  • 291
5
votes
3 answers

Having a problem figuring out how to get Ethernet interface info on Mac OS X using ioctl/SIOCGIFADDR/SIOCGIFCONF?

Are you having a problem figuring out how to get interface info on Mac OS X using ioctl/SIOCGIFADDR/SIOCGIFCONF? I had a lot of trouble getting code that worked fine on Linux to work on Mac OS X today.
Mark
  • 1,124
  • 1
  • 14
  • 21
5
votes
3 answers

Can two Ethernet MAC chips be connected directly (without going thru PHY)?

I have two Application processors that I would like to connect to using Ethernet connection. both of these AP are about 15 inches apart. Both of these processors have built in Ethernet MAC. Typical way is to add in an Externet Eth PHY IC on both…
Faisal
  • 137
  • 2
  • 2
  • 4
5
votes
1 answer

Scapy - How to Dissect an Ethernet Trailer field

I'm using the F5 Networks Big-IP products, which are appending a custom Ethernet II trailer frame for debugging purposes. I'm trying with Scapy to bind a new layer for this trailer, but I'm unable to do so. I can see the payload of interest in the…
xlash
  • 363
  • 1
  • 3
  • 16