<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Book Antiqua";
panose-1:2 4 6 2 5 3 5 3 3 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Hey experts!!<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I am having another dilemma here. I am trying to configure <b><font
color=blue><span style='color:blue;font-weight:bold'>MAC authentication bypass</span></font></b>
feature on my Cisco 3750 switch to authenticate some devices which <b><font
color=blue><span style='color:blue;font-weight:bold'>don’t</span></font></b>
support 802.1x.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>The way how it works is that (<i><font color=green><span
style='color:green;font-style:italic'>I figured it out by running debug on the
switch and by using wireshark</span></font></i>), if the supplicant device
doesn’t support 802.1x, the switch (172.17.254.100) sends a <b><font
color=blue><span style='color:blue;font-weight:bold'>access request</span></font></b>
to the freeradius server (172.17.1.1) with <b><font color=blue><span
style='color:blue;font-weight:bold'>username and password</span></font></b> both
are the <b><font color=blue><span style='color:blue;font-weight:bold'>MAC
address of the device</span></font></b>!<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>That brings my dilemma! I have like <b><font color=blue><span
style='color:blue;font-weight:bold'>200</span></font></b> devices like this. I
don’t want to edit my users file with each of the MAC address as the
UN/PW. Is there an easy way to <b><font color=blue><span style='color:blue;
font-weight:bold'>write a script</span></font></b> like thing to include all of
them? The mac addresses are <b><font color=blue><span style='color:blue;
font-weight:bold'>all start with “00:a0:08”.</span></font></b> I
want a <b><font color=blue><span style='color:blue;font-weight:bold'>logic</span></font></b>
like: <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>If a request is for a user with first 3 octets like the
above one, use its <b><font color=blue><span style='color:blue;font-weight:
bold'>MAC addres</span></font></b>s (in this case <b><font color=blue><span
style='color:blue;font-weight:bold'>will be also its username</span></font></b>)
as the password and grant the access.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Is it possible to do it in <b><font color=blue><span
style='color:blue;font-weight:bold'>FreeRadius 2.1.6</span></font></b>?? I have
attached the output of a success authentication for a device with MAC: 00a0080806bd.
Of course I manually added this user in my <b><font color=blue><span
style='color:blue;font-weight:bold'>users</span></font></b> file. My users file
looks like:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><b><font size=2 color=blue face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:blue;font-weight:bold'>00a0080806bd
Cleartext-Password := "00a0080806bd"<o:p></o:p></span></font></b></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I appreciate any advice!! Thank you guys!!<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<table class=MsoNormalTable border=0 cellspacing=5 cellpadding=0 align=left
width=460 style='width:345.2pt'>
<tr height=103 style='height:77.3pt'>
<td width=101 height=103 valign=top style='width:75.45pt;padding:0in 0in 0in 0in;
height:77.3pt'>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
mso-element:frame'><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'><img width=108 height=121
id="_x0000_i1025" src="cid:image001.jpg@01CA8000.55B549A0"> <o:p></o:p></span></font></p>
</td>
<td width=345 height=103 valign=top style='width:258.65pt;padding:0in 0in 0in 0in;
height:77.3pt'>
<p class=MsoNormal style='mso-element:frame'><st1:PersonName w:st="on"><b><font
size=4 color="#003366" face="Book Antiqua"><span style='font-size:14.0pt;
font-family:"Book Antiqua";color:#003366;background:yellow;font-weight:bold'>Difan
Zhao</span></font></b></st1:PersonName><b><font size=4 color="#003366"
face="Book Antiqua"><span style='font-size:14.0pt;font-family:"Book Antiqua";
color:#003366;background:yellow;font-weight:bold'>, CCNP</span></font></b><b><font
size=4 color="#003366" face="Book Antiqua"><span style='font-size:14.0pt;
font-family:"Book Antiqua";color:#003366;font-weight:bold'><o:p></o:p></span></font></b></p>
<p class=MsoNormal style='mso-element:frame'><b><font size=3 color=navy
face="Book Antiqua"><span style='font-size:12.0pt;font-family:"Book Antiqua";
color:navy;font-weight:bold'>Network Engineer<o:p></o:p></span></font></b></p>
<p class=MsoNormal style='mso-element:frame'><b><font size=3 color=navy
face="Book Antiqua"><span style='font-size:12.0pt;font-family:"Book Antiqua";
color:navy;font-weight:bold'><a href="mailto:difan.zhao@guest-tek.com"
title="mailto:difan.zhao@guest-tek.com
blocked::mailto:difan.zhao@guest-tek.com">difan.zhao@guest-tek.com</a><o:p></o:p></span></font></b></p>
<p class=MsoNormal style='mso-element:frame'><b><font size=3 color=navy
face="Book Antiqua"><span style='font-size:12.0pt;font-family:"Book Antiqua";
color:navy;font-weight:bold'><a href="http://www.guest-tek.com/"
title="http://www.guest-tek.com/
blocked::http://www.guest-tek.com/
http://www.guest-tek.com/">www.guest-tek.com</a><o:p></o:p></span></font></b></p>
<p class=MsoNormal style='mso-element:frame'><b><font size=3 color=navy
face="Book Antiqua"><span style='font-size:12.0pt;font-family:"Book Antiqua";
color:navy;font-weight:bold'>Office: 403-509-1010 ext 3048<o:p></o:p></span></font></b></p>
<p class=MsoNormal style='mso-element:frame'><b><font size=3 color=navy
face="Book Antiqua"><span style='font-size:12.0pt;font-family:"Book Antiqua";
color:navy;font-weight:bold'>Cell: 403-689-7514</span></font></b><font
color=navy><span style='color:navy'><o:p></o:p></span></font></p>
</td>
</tr>
</table>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span><o:p></o:p></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>