It is currently Thu Apr 23, 2026 12:20 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 34 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject: Re: MAC address handling
PostPosted: Wed Jan 02, 2008 10:55 am 
Offline

Joined: Sat Dec 29, 2007 6:10 am
Posts: 6
MagerValp wrote:
When apps start, they should check and see if the first three bytes of the MAC address are set to 00:80:10 (Commodores reserved space). If not, set a new random address starting with 00:80:10, but leave the address that's there if it's already set.

I think it was Graham that suggested this first.

I proposed something different: If the MAC is X'FF-FF-FF-FF-FF-FF, then nobody has initialized a MAC yet so your app should set it's own default MAC. If something else is found, then this MAC is used. Reading the news that the first MAC of a CS8900A can also be 0, I guess I have to adjust the WarpCopy server :)


Top
 Profile  
Reply with quote  
 Post subject: Re: MAC address handling
PostPosted: Fri Jan 25, 2008 8:00 pm 
Offline

Joined: Thu Jan 12, 2006 1:11 am
Posts: 27
MagerValp wrote:
As those of you who use more than one RR-Net tool has noticed, we need some way of handling MAC addresses. I often have to flush the ARP table inbetween apps, as each app sets its own address. I think the best way would be to let the cartridge that the RR-Net is attached to handle the setting. TFR already does this, and I'll make sure the Snappy Gonzalez does as well. Someone should add it to the RR ROM (together with netmon).

When apps start, they should check and see if the first three bytes of the MAC address are set to 00:80:10 (Commodores reserved space). If not, set a new random address starting with 00:80:10, but leave the address that's there if it's already set.

I think it was Graham that suggested this first.

Comments?


I like this approach. I already implemented it in my own network routines (they will be released soonish). Let the 00:80:10 mac addresses rule!


Top
 Profile  
Reply with quote  
 Post subject: Re: MAC address handling
PostPosted: Sat Jan 26, 2008 1:30 pm 
Offline
Site Admin

Joined: Wed Jan 11, 2006 11:22 am
Posts: 874
MagerValp wrote:
I like this approach. I already implemented it in my own network routines (they will be released soonish). Let the 00:80:10 mac addresses rule!

That's cool actually! I didn't realize before that this is actually a fact. Yes, I agree now, we should keep this address alive :)

Look for your selves: http://coffer.com/mac_find/


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Jan 28, 2008 6:43 pm 
Offline
User avatar

Joined: Mon Feb 13, 2006 6:44 pm
Posts: 215
Location: Toronto, Canada
Yeah, it's pretty neat when viewing traffic with WireShark - it actually labels the 00:80:10 packets as "Commodore_01" etc. automatically ;-)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 34 posts ]  Go to page Previous  1, 2, 3

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group