Bookmark this page:
Yahoo!
Windows Live
del.icio.us
digg
Netscape
|
|
||||||||||||||||||||||||||||
|
Posted by glen herrmannsfeldt on August 11, 2008, 6:09 pm
Please log in for more thread options On Jun 15, 3:02 pm, albrechtuhlm...@gmx.net wrote: As far as I know, in some the whole packet is generated in memory (or in NIC memory) and then sent, in others the source address is stuffed in as it is transmitted. You might look at older ones from the days when hardware was more expensive. (Eight bit ISA days.) You should be working at the hardware level, though, not while running a networking OS. (DOS makes it easy, especially if you never return.) Otherwise, just write the source address register before sending each packet. (Again, working directly with the hardware registers, not through a networking OS. You want the data sheet for the individual controller chip, not the whole card. -- glen | ||||||||||||||||||||||||||||
|
Posted by Burkhard Ott on August 12, 2008, 8:31 am
Please log in for more thread options Am Sun, 10 Aug 2008 10:51:49 -0700 schrieb hat-trick: > On Jun 15, 3:02 pm, albrechtuhlm...@gmx.net wrote:
>> for every IP packet that I send. Is this possible at all? I know that
>> the MAC address >> can be changed in software but per IP frame? On the other hand, every >> layer 2 >> controllers I got hands on allow you to program the MAC address but it >> is then >> automatically filled in for every packet. >> >> Also, how would the programming side look like? I presume I must use >> RAW sockets >> but in which field would I set the source MAC address? >> What about /usr/src/linux/if_ether.h ? (struct ethhdr) You can set the MAC address to what ever you want. cheers | ||||||||||||||||||||||||||||
| Similar Threads | Posted |
| Source MAC address per IP packet | June 15, 2008, 3:02 pm |
| Multicast MAC in Source MAC Address Field | August 30, 2005, 5:13 pm |
| provide me Source code of IGMPv2 | May 26, 2006, 2:37 am |
| Does someone have IGMP snooping source code for Bridge?? | May 30, 2006, 9:06 am |
| Looking for open-source home DSL gateway software & hardware to run it | November 1, 2007, 10:38 am |
| cable management - source for velcro straps with screw hole? | July 20, 2004, 8:04 pm |
| XGMII end of packet | July 20, 2004, 4:19 am |
| Generate packet with bad CRC | June 21, 2007, 9:15 am |
| Packet recorder | August 8, 2007, 11:36 am |
| Packet capture | November 28, 2007, 12:07 am |
| Creating a test packet | October 13, 2005, 11:21 am |
| ethernet packet preamble | May 4, 2006, 2:01 pm |
| determination of length of packet............ | October 18, 2006, 1:41 am |
| MAC address of an IPv6 address | April 10, 2007, 4:42 pm |
| Packet Engines PowerRail 1000 | April 26, 2005, 8:06 pm |

Source MAC address per IP packet
Yahoo!
Windows Live
del.icio.us
digg
Netscape 






> MAC address individually for every IP packet that I send.
> Is this possible at all? I know that the MAC address
> can be changed in software but per IP frame?