[Kea-users] kea answers to relay using giaddr instead of source address. any way to fix?

Sergey Klusov _lion_2000 at mail.ru
Thu Sep 28 12:16:54 UTC 2017


On Чт 28.09.2017 16:54, Jason Lixfeld wrote:
> If your relay supports RFC3527, it will reset giaddr to the IP of the 
> relay’s outbound server facing interface instead of the IP of the 
> relay’s inbound, client facing interface. It will also then encode the 
> subnet of the interface that the packet arrived on at the relay into 
> option 82 sub option 5.

I've already configured agent to set it's giarrd to external address and 
also specified that address in subnet's "relay" setting.
Still i need to use classes, because there will be tens of networks on 
this router, all of them dhcp-relayed to same kea server.

Here is how i configure agent:

/ip dhcp-relay
add add-relay-info=yes\
  dhcp-server=x.x.x.90\
  disabled=no\
  interface=eoip-101\
  local-address=x.x.x.156\
  name=relay1\
  relay-info-remote-id=100.101.101.0

that "relay-info-remote-id" could only be specified as ASCII string 
value, and it's seen by kea as relay4[2] option. But kea now cannot 
compare this option with string '100.101.101.0', only with it's hex 
value. Wich is working, but just not comfortable configuring.



More information about the Kea-users mailing list