Hi,
I have been goung through DHCP Relay — VyOS 1.5.x but not able to make sense of the below, I’m not clear what is the purpose of the 1st command below, and which interface to use for my case.
set service dhcp-relay interface <interface>
set service dhcp-relay listen-interface <interface>
set service dhcp-relay upstream-interface <interface>
I have sub-Interfaces for VLANs configured as below…
Interface IP Address MAC VRF MTU S/L Description
----------- ---------------- ----------------- ------- ----- ----- -------------
eth0.3130 10.31.30.12/24 00:0c:29:71:c2:2f default 1500 u/u
10.31.30.11/24
eth1.3150 10.31.50.12/24 00:0c:29:71:c2:39 default 9000 u/u
10.31.50.11/24
DHCP request is going to come from eth1.3150
, and suppose to go to eth0.3130
.
Then I’m not clear which interface to use for the command set service dhcp-relay interface <interface>
Can this be clarified please.
Thank You