Page MenuHomeVyOS Platform

dhcp relay with VRRP
Closed, InvalidPublicBUG

Description

Hi,

I am using RC3 with VRRP & DHCP Relay with no issues. I can take either router down and DHCP Relay continues to work. From RC4 through RC9 DHCP Relay works when both routers are up but does not work when either one is down.

R1
high-availability {

vrrp {
    group eth0.100-100 {
        advertise-interval 1
        interface eth0.100
        priority 150
        virtual-address 10.60.100.1/24
        vrid 100
    }
    group eth0.160-160 {
        advertise-interval 1
        interface eth0.160
        priority 150
        virtual-address 10.60.160.1/24
        vrid 160
    }
    sync-group SG1 {
        member eth0.100-100
        member eth0.160-160
    }
}

}

R2 is the same but priority 50

dhcp-relay {
    interface eth0.160
    server 10.60.100.100
}

Details

Difficulty level
Unknown (require assessment)
Version
1.2RC9
Why the issue appeared?
Will be filled on close

Event Timeline

syncer triaged this task as Normal priority.
syncer edited projects, added VyOS 1.2 Crux ( VyOS 1.2.0-rc11); removed VyOS 1.2 Crux.

Hi,

I have just re-tested this with RC11 and can confirm that it was a
configuration error. I had moved the DHCP server to a different VLAN which
was not listed under dhcp-relay {

interface eth0.xxx

For some reason, when both routers are up, relay works but with either
router down, the dhcp request just sits there until both routers are up. As
soon as I put the interface with the DHCP server into the config all is
working.

The good news is that on the RC11 announcement page it states "Please let us
know if you run into any issues with VRRP or IPsec!". I have just given VRRP
a good hammering whilst diagnosing this and all seems fine.

Please close this request.