<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16705" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Verdana size=2><SPAN class=281311609-08102008>Hello all,
</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=281311609-08102008></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana size=2><SPAN class=281311609-08102008>I am kind of a
newbie into this - so i am sorry if i am asking stupid here - please bear with
me.</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=281311609-08102008></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana size=2><SPAN class=281311609-08102008>I have a problem
with above mention ISC server where i am usinmg relay agent and option 82 -
</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=281311609-08102008></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana size=2><SPAN class=281311609-08102008>My config file
look like this: </SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=281311609-08102008></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana size=2><SPAN class=281311609-08102008>max-lease-time
3600;<BR>default-lease-time 3600;</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Verdana size=2><SPAN class=281311609-08102008>#max-lease-time
180;<BR>#default-lease-time 180;</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Verdana size=2><SPAN class=281311609-08102008>#<BR># Set
standard options<BR>#</SPAN></FONT></DIV>
<DIV> </DIV><FONT><SPAN class=281311609-08102008>
<DIV><BR><FONT face=Verdana size=2>option
domain-name
"<SPAN class=281311609-08102008>test</SPAN>-int";<BR>option
domain-name-servers 172.16.1.60, 172.16.1.60,
213.50.29.170, 213.50.29.180;</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><BR><FONT face=Verdana size=2>#<BR># Class section<BR>#</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>#log(info,concat("-- Option 82 info:
",binary-to-ascii(10,8,"",reverse(2,option
agent.circuit-id))));<BR>log(info,concat("-- String:
",binary-to-ascii(10,8,"",option agent.circuit-id));<BR>log(info,concat("++
Option 82 info: ",substring(binary-to-ascii(10,8,"",option
agent.circuit-id),3,4)));</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>class "lab-besteffort"
{<BR> match if
substring(binary-to-ascii(10,8,"",option agent.circuit-id),3,4) =
"010";<BR> spawn with
binary-to-ascii(16,8,":",hardware);<BR>
lease limit 5;<BR>} # class lab-besteffort</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>class "lab-iptv"
{<BR> match if
substring(binary-to-ascii(10,8,"",option agent.circuit-id),3,4) =
"020";<BR> spawn with
binary-to-ascii(16,8,":",hardware);<BR>
lease limit 5;<BR>} # class lab-iptv</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>class "lab-voip"
{<BR> match if
substring(binary-to-ascii(10,8,"",option agent.circuit-id),3,4) =
"030";<BR> spawn with
binary-to-ascii(16,8,":",hardware);<BR>
lease limit 5;<BR>} # class lab-voip</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>class "lab-unused"
{<BR> match if
substring(binary-to-ascii(10,8,"",option agent.circuit-id),3,4) =
"040";<BR> spawn with
binary-to-ascii(16,8,":",hardware);<BR>
lease limit 5;<BR>} # class lab-unused</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>class "lab-management"
{<BR> match if
substring(binary-to-ascii(10,8,"",option agent.circuit-id),3,4) =
"050";<BR> spawn with
binary-to-ascii(16,8,":",hardware);<BR>
lease limit 5;<BR>} # class lab-management</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>class "wlan-public"
{<BR> match if
substring(binary-to-ascii(10,8,"",option agent.circuit-id),3,4) =
"110";<BR> spawn with
binary-to-ascii(16,8,":",hardware);<BR>
lease limit 5;<BR>} # class wlan-public</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><BR><FONT face=Verdana size=2>#<BR># <SPAN
class=281311609-08102008>Test</SPAN>.int - Defined shared
networks<BR>#</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><BR><FONT face=Verdana size=2>shared-network lab-besteffort-vlan-10
{<BR> subnet 172.16.10.0 netmask
255.255.255.128
{<BR>
pool
{<BR>
allow members of
"lab-besteffort";<BR>
max-lease-time
120;<BR>
default-lease-time
120;<BR>
range 172.16.10.32
172.16.10.63;<BR>
option routers
172.16.10.1;<BR>
option broadcast-address
172.16.10.127;<BR>
option subnet-mask 255.255.255.128;</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana
size=2>
log(info,concat("lab-best-effort-vlan-10: ",binary-to-ascii(10,8,".",option
agent.circuit-id)));<BR>
}<BR> }<BR>} # shared-network
lab-besteffort-vlan-10</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>shared-network lab-iptv-vlan-20
{<BR> subnet 172.16.20.0 netmask
255.255.255.128
{<BR>
pool
{<BR>
allow members of
"lab-iptv";<BR>
max-lease-time
120;<BR>
default-lease-time
120;<BR>
range 172.16.20.32
172.16.20.63;<BR>
option routers
172.16.20.1;<BR>
option broadcast-address
172.16.20.127;<BR>
option subnet-mask 255.255.255.128;</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana
size=2>
log(info,concat("lab-iptv-vlan-20: ",binary-to-ascii(10,8,".",option
agent.circuit-id)));<BR>
}<BR> }<BR>} # shared-network
lab-iptv-vlan-20</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>shared-network lab-voip-vlan-30
{<BR> subnet 172.16.30.0 netmask
255.255.255.128
{<BR>
pool
{<BR>
allow members of
"lab-voip";<BR>
max-lease-time
120;<BR>
default-lease-time
120;<BR>
range 172.16.30.32
172.16.30.63;<BR>
option routers
172.16.30.1;<BR>
option broadcast-address
172.16.13.127;<BR>
option subnet-mask 255.255.255.128;</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana
size=2>
log(info,concat("lab-voip-vlan-30: ",binary-to-ascii(10,8,".",option
agent.circuit-id)));<BR>
}<BR> }<BR>} # shared-network
lab-voip-vlan-30</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>shared-network lab-unused-vlan-40
{<BR> subnet 172.16.40.0 netmask
255.255.255.128
{<BR>
pool
{<BR>
allow members of
"lab-unused";<BR>
max-lease-time
120;<BR>
default-lease-time
120;<BR>
range 172.16.40.32
172.16.40.63;<BR>
option routers
172.16.40.1;<BR>
option broadcast-address
172.16.40.127;<BR>
option subnet-mask 255.255.255.128;</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana
size=2>
log(info,concat("lab-unused-vlan-40: ",binary-to-ascii(10,8,".",option
agent.circuit-id)));<BR>
}<BR> }<BR>} # shared-network
lab-unused-vlan-40</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><BR><FONT face=Verdana size=2>shared-network lab-mgmt-vlan-50
{<BR> subnet 172.16.50.0 netmask
255.255.255.128
{<BR>
pool
{<BR>#
allow members of
"lab-management";<BR>
max-lease-time
120;<BR>
default-lease-time
120;<BR>
range 172.16.50.32
172.16.50.63;<BR>
option routers
172.16.50.1;<BR>
option broadcast-address
172.16.50.127;<BR>
option subnet-mask 255.255.255.128;</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana
size=2>
log(info,concat("lab-mgmt-vlan-50: ",binary-to-ascii(10,8,".",option
agent.circuit-id)));<BR>
}<BR> }<BR>} # shared-network
lab-mmgt-vlan-50</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>shared-network wlan-public-vlan-110
{<BR> subnet 172.16.2.0 netmask
255.255.255.240
{<BR>
pool
{<BR>
allow members of
"wlan-public";<BR>
max-lease-time
360;<BR>
default-lease-time
360;<BR>
range 172.16.2.3
172.16.2.14;<BR>
option routers
172.16.2.1;<BR>
option broadcast-address
172.16.2.15;<BR>
option subnet-mask
255.255.255.240;<BR>
option
domain-name
"wlan-<SPAN
class=281311609-08102008>Test</SPAN>-int";<BR>
option domain-name-servers 213.50.29.170,
213.50.29.180;</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana
size=2>
log(info,concat("wlan-public-vlan-110: ",binary-to-ascii(10,8,".",option
agent.circuit-id)));<BR>
}<BR> }<BR>} # shared-network
wlan-public-vlan-110</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><BR><FONT face=Verdana size=2>#<BR># <SPAN
class=281311609-08102008>Test1</SPAN>.int LAN - Standard LAN
network<BR>#</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><BR><FONT face=Verdana size=2>subnet 172.16.1.0 netmask 255.255.255.192
{<BR> pool
{<BR>
range 172.16.1.32 172.16.1.47;</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana
size=2>
option routers
172.16.1.1;<BR>
option broadcast-address
172.16.1.63;<BR>
option subnet-mask
255.255.255.192;<BR>
option static-routes 172.16.210.2 172.16.1.2, 172.16.200.2 172.16.1.2,
172.16.200.3 172.16.1.2;</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2> }<BR>}
# Subnet 172.16.1.0</FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=281311609-08102008></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana size=2><SPAN class=281311609-08102008>I have a dhcp
relay on selected VLANs that adds opt 82 string - Then when the value arrives to
ISC DHCPd, it has the wrong GIADDR causing the DHCPd to give an error<BR>The
GIADDR is ofcourse the MGMT IP of the Switch there have Relaying
enable..</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=281311609-08102008></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=281311609-08102008>Thanks.</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=281311609-08102008></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana size=2><SPAN class=281311609-08102008>Cheers
</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN class=281311609-08102008>Martin
</SPAN></FONT></SPAN></FONT></DIV>
<DIV>
<DIV class=Section1>
<P class=MsoNormal><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Verdana"><SPAN
class=GramE></SPAN><?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office"
/><o:p></o:p></SPAN></P></DIV></DIV></BODY></HTML>
<p>
This e-mail, including attachments, may include confidential <br>
and/or proprietary information, and may be used only by the <br>
person or entity to which it is addressed. If the reader of this <br>
e-mail is not the intended recipient or his or her authorized <br>
agent, the reader is hereby notified that any dissemination, <br>
distribution or copying of this e-mail is prohibited. If you have <br>
received this e-mail in error, please notify the sender by <br>
replying to this message and delete this e-mail immediately<br>
</p>