Comments (5)
from pfsense_fauxapi.
Thank you for the prompt response.
I can confirm that the interfaces are present and correct after a reboot.
There is an easy work-around for me in this case where I can just have a batch of vlans created in advance.
I will certainly have a look at the extra functionality when you have it implemented though.
from pfsense_fauxapi.
I spent a little more time on this over the past week and it seems the problem does indeed extend to interfaces as well as VLAN's.
If I pre-create my VLAN's in bulk as described earlier, that part is fine.
However, if I then create a new interface on one of those VLANs, assign it a static IP and explicitly mark it as enabled then I do get the adapter showing up but the IP on the summary page is missing and the new routes do not appear in the routing table. Going into the interface, unticking enabled, save, tick enabled again, save and then apply resolves the issue.
Something probably related is that if I do the above to make an interface work, but later remove the interface (via API) and then add another one (with a different IP but the same adapter name) the the interface shows up immediately but shows the old IP address. Routing table follows suit too.
If I remove a working adapter then the routes and actual interface appear to remain active behind the scenes.
The only way I have found to overcome this so far is to reboot, which is not really feasible to do on a regular basis.
Anyone got any idea's how I might work around this? I am not in a position to pre-create 500 interfaces like I am VLAN's. I did notice there were "modified by X person on X date" fields around the json and I wondered if anyone knew if they were in any way related to triggering pfSense to actually apply the changes.
from pfsense_fauxapi.
from pfsense_fauxapi.
Hi N,
Thanks very much. I have done quite a few tests with your suggestion and it appears to work perfectly.
I cannot confirm if it affects the previous vlan issue because I have them all pre-created now, but I suspect it may well sort that too. It has certainly sorted my issue above and 2 other related issues we found since.
I had seen the send event thing before but hadn't realized it supported reloading all interfaces like that. Maybe you could add a second example under the "filter reload" one for the "interface reload all", which would then make it really obviously.
I can't thank you enough for that pointer. We had resigned to living with having to go in the click SAVE APPLY all the time.
from pfsense_fauxapi.
Related Issues (20)
- Wake On LAN via fauxapi
- Allow UNIX timestamp auth HOT 1
- Kill states after enabling of rule HOT 1
- pfSense 2.4.4-p3 - URL table alias updating broken (simple fix) HOT 2
- Not executing commands until web browser refresh HOT 8
- Example to add new users and move to member groups HOT 1
- make firewall rule with python fauxapi HOT 2
- pfsense 2.5.x official repo? HOT 3
- Set timeout HOT 3
- fetch : bad request HOT 1
- Instruction Update HOT 2
- config_set does update but new Virtual IP is not added HOT 1
- apikey_value generation HOT 7
- Hash is marked as invalid unless lowercase
- Need to use GUI to save freeradius ?
- List of supported items for config_item_set
- Authentication failed, even though credentials were added HOT 1
- function_call: service_control_stop($name, $extras) not working
- authentication failed HOT 4
- cleanup_backupcache() seems to be missing in 24.03
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pfsense_fauxapi.