Hello All,<br><br>I am currently facing a problem with matching DHCP requests from a specific VRF using option 82.<br><br>The VRF name is encoded in option 82 - suboption 151 (seems cisco uses binary data type), but I can't seem to get it to match. I need to receive DHCP requests from multiple VRF, and depending on the VRF I have to respond from a specific pool.<br>
<br>If a request comes from a VRF named "VRF_CISCO" I need to match it and send an IP from the correct pool.<br><br>Here's the configuration I am using :<br><br>option agent.VPN-ID code 151 = string;<br><br>
class "VPN_CISCO"<br>{<br> match if ( agent.VPN-ID = "VRF_CISCO");<br><br>}<br>subnet 10.0.0.0 netmask 255.255.248.0 {<br> option routers 10.0.0.1;<br> pool {<br> range 10.0.1.0 10.0.1.255;<br>
allow members of "VPN_CISCO";<br> }<br> pool {<br> range 10.0.0.2 10.0.0.255;<br> }<br>}<br><br>Has anyone been successfull in getting something similar to work?<br>
<br>Thanks in advance for your help,<br><br><br clear="all">Salutations,<br><br>Johan Denoyer<br><br>