From: Rob Landley <rob@landley.net>
To: user-mode-linux-devel@lists.sourceforge.net
Subject: [uml-devel] Test for ethernet broadcast address?
Date: Tue, 8 Nov 2005 19:13:14 -0600 [thread overview]
Message-ID: <200511081913.14657.rob@landley.net> (raw)
So I'm trying to play with ifenslave under UML, and my naieve attempt to go
./linux LD_ASSUME_KERNEL=2.4.1 eth0=daemon,11:11:11:11:11:11 \
eth1=daemon,22:22:22:22:22:22 rootfstype=hostfs rw init=/bin/sh
Led to unexpected results that eth0 had a mac addr of 00:00:00:00:00:00.
Eventually, I tracked it down to this test in arch/um/drivers/net_kern.c:
if(addr[0] & 1){
printk(KERN_ERR
"Attempt to assign a broadcast ethernet address to a "
"device disallowed\n");
return(0);
}
My question is: where's the spec for what is and isn't a broadcast address?
RFC 894 says that "the" ethernet broadcast address is (only) FF:FF:FF:FF:FF:FF
http://www.freesoft.org/CIE/RFC/894/
So does Ethereal's wiki:
http://wiki.ethereal.com/Ethernet
Confused?
Rob
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
next reply other threads:[~2005-11-09 1:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-09 1:13 Rob Landley [this message]
2005-11-09 1:44 ` [uml-devel] Test for ethernet broadcast address? Blaisorblade
2005-11-10 4:03 ` Jeff Dike
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200511081913.14657.rob@landley.net \
--to=rob@landley.net \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox