Page MenuHomeVyOS Platform

VyOS 1.2 Rolling 201910110117 DHCP Server Configuration Fails
Closed, InvalidPublic

Description

If you do a clean install of vyos "vyos-1.2-rolling-201910110117-amd64.iso" as of right now that's the latest rolling release, DHCP configuration will fail to save.

Commands Executed:

set service dhcp-server shared-network-name 'LAN' authoritative
set service dhcp-server shared-network-name 'LAN' subnet '172.16.0.0/24' range 0 start '172.16.0.150'
set service dhcp-server shared-network-name 'LAN' subnet '172.16.0.0/24' range 0 stop '172.16.0.254'
set service dhcp-server shared-network-name 'LAN' subnet '172.16.0.0/24' default-router '172.16.0.1'
set service dhcp-server shared-network-name 'LAN' subnet '172.16.0.0/24' dns-server '172.16.1.1'
set service dhcp-server shared-network-name 'LAN' subnet '172.16.0.0/24' domain-name 'internal-net'
set service dhcp-server shared-network-name 'LAN' subnet '172.16.0.0/24' lease 86400

INTERFACES:
eth0 = WAN = 172.16.1.52/24
eth1 = LAN = 172.16.0.1/24

Screenshot of error on commit:

Screen Shot 2019-10-11 at 11.55.37 AM.png (562×1 px, 87 KB)

Details

Difficulty level
Unknown (require assessment)
Version
1.2-rolling
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)

Event Timeline

brian.ward created this task.
brian.ward created this object in space S1 VyOS Public.

Can't reproduce it, it does work without any issues. I copied and executed your config and did a commit.

@brian.ward Can you please check that /config is mounted?

hagbard changed Version from 1.2 to 1.2-rolling.

Absolutely, I was going to paste a screen shot of the running config.
I’m eating lunch let me respond when I get back if that’s alright.

If it helps, I should have also said this is running in VMWare ESXi 6.7.
The vm OS is Debian Linux 8.

Sent from a mobile device, please excuse any brevity and typos.

@brian.ward I just tried to reproduce this with a clean VyOS installation and it works as expected.

image.png (833×918 px, 76 KB)

hagbard lowered the priority of this task from High to Normal.Oct 11 2019, 5:53 PM

@brian.ward Please show the output of df-h at your earliest convenience.

Sure enough, /config is not mounted.
Not sure how the configuration was being saved.

Here's what the show command looks like with the DHCP config (unsaved).

Screen Shot 2019-10-11 at 1.38.57 PM.png (497×802 px, 54 KB)

Output of df -h:

Screen Shot 2019-10-11 at 1.39.40 PM.png (414×1 px, 88 KB)

I apologize for wasting your time.

It's been about a year since I last used VyOS and I sincerely apologize.
I already know what I did wrong.

brian.ward lowered the priority of this task from Normal to Low.

@brian.ward no problem. Could you please tell us what was your problem so we could probably reference this in the future for other people?

running from the live-cd I think.

Yes I was running from a live image exactly as hagbard mentioned.

Sent from a mobile device, please excuse any brevity and typos.

syncer changed the task status from Resolved to Invalid.Jan 1 2020, 2:36 PM
syncer edited projects, added Invalid; removed VyOS 1.2 Crux.