Hello there,
I’m running a VM with ‘VyOS 1.2.6-S1’ and have problems by relaying DHCP via a gre tunnel (l3).
My VM in short:
eth0: ‘uplink’
eth1: routed interface with DHCP clients
tun0: GRE tunnel via which I want to relay DHCP packets towards a proper DHCP server
"set service dhcp-relay server ‘1.2.3.4’ " is configured an DHCP is reachable via tun0
No filters applied for eth1/tun0.
I tested 2 scenarios and checked in/out packets with tcpdump.
Test case1: two dhcp-relay interfaces
set service dhcp-relay interface ‘eth1’
set service dhcp-relay interface ‘tun0’
- DHCP discovers are received at eth1
- no DHCP packets are leaving tun0
Test case2: only one dhcp-relay interface
set service dhcp-relay interface ‘eth1’
- DHCP discovers are received at eth1
- DHCP packets are relayed via tun0 with source IP of tun0 and destination IP 1.2.3.4
- DHCP answers are received at tun0 with source IP 1.2.4.5 and destination IP of eth1
- no DHCP packets are set to client at eth1
Using a GRE bridge (l2) is not an option in my setup.
What am I doing wrong?
Could this be a bug or a missing feature ?
Thanks in advance!
Cheers,
Bjoern