Ifstate now scans all network namespaces for existing links and records their properties used for link identification.
This 'link registry' is used to find the interfaces regardless in which netns they are currently in or how they are named.
Ifstate also got a netns aware link dependency resolver to configure interfaces in stages.
When ifstate is run verbose it will dump those data. The screenshots are related to the previous post showing those dumps.
#ifstate #linuxnetworking #netns #wip
While implementing the netns handling in ifstate I got aware that pyroute2 did not have a netlink RTM_NEWNSID request implementation.
I got https://github.com/svinota/pyroute2/pull/1121 merged into pyroute2 to add RTM_NEWNSID support.
Later I have noticed that my implementation does not work within netns (pyroute2 related, some details in issue https://github.com/svinota/pyroute2/issues/1123 ).
After this tangled journey ifstate netns dev branch now has its first netns superpowers π
#ifstate #linux #linuxnetworking #netlink #pyroute2
Now working on network namespace (#netns) support in #ifstate.
The basic stuff is already working π₯³
#netns #ifstate #linux #linuxnetworking
Been using #linux now since 2009, but since setting up a bone network with 2 Plex servers and a print server, I've learnt more about networking! I've not finished yet either! I think I can say being a registered blind #linux user, I'm proof that anyone can use Linux! #linuxnetworking #linuxlife and to top it off, the whole family run Linux to! #linuxpinguin
#linuxpinguin #linuxlife #linuxnetworking #linux
#ifstate 1.8.5 has been released:
https://github.com/liske/ifstate/releases/tag/1.8.5
This release contains a important fix: it could happen that link settings are not correctly applied while ifstate does not show any error. This happens when the kernel does not report any errors. One of this settings is the vlan_id for vlan links π±
When running as #VRRP fifo script for #keepalived it is now possible to trigger a config reload by SIGHUP.
Updates are available for #AlpineLinux edge + 3.18.
#ifstate #vrrp #keepalived #alpinelinux #release #linuxnetworking
#ifstate 1.8.4 has been released:
https://github.com/liske/ifstate/releases/tag/1.8.4
A single commit to make ifstate compatible with python 3.9, again.
This makes it compatible with #Debian (old)stable bullseye... for those not going to upgrade to Debian #bookworm today π
#ifstate #debian #bookworm #release #linuxnetworking
#ifstate 1.8.3 has been released:
https://github.com/liske/ifstate/releases/tag/1.8.3
This release has many important bug fixes. You should consider upgrading.
The release is already available in #AlpineLinux edge and 3.17.
#ifstate #alpinelinux #release #linuxnetworking
I recently fixed several issues in #ifstate
https://github.com/liske/ifstate/issues?q=is%3Aclosed+milestone%3Av1.8.3
A new ifstate release will be available after fixing the remaining issues soon:
I have recently fixed two issues in #ifstate
1) interface recreation for virtual interfaces was broken, a regression led to an fatal exception π€―
2) refactor the tun/tap handling to support all tuntap flags and device ownership - this was pretty broken π’
#ifstate 1.8.2 was backported to #AlpineLinux 3.17
https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/44331
It fixes a python exception in ifstate if a physical interfaces was missing - upgrading is recommended.
#ifstate #alpinelinux #linuxnetworking #linux
ifstate 1.8.2 has been released:
https://github.com/liske/ifstate/releases/tag/1.8.2
This release fixes a crash of istate if a referenced physical interface was missing. Adds support for configuring link device groups (IFLA_GROUP).
#ifstate #release #linuxnetworking #linux
The correct (unexpected?) answer is: 0
When adding another ipv4 address of an already assigned prefix it becomes a secondary address. Removing the primary ipv4 address of a prefix removes all secondary addresses of the prefix.
A more complex examples is found in the attached screenshot.
For ipv6 there is no secondary ip address concept. The bit in the #netlink datagrams for secondary addresses in ipv4 is used for temporary addresses in ipv6 netlink datagrams.
#netlink #linux #linuxnetworking
Examine the console exhibit:
# ip -4 addr show enp5s0
# ip addr add 192.0.2.1/24 dev enp5s0
# ip addr add 192.0.2.2/24 dev enp5s0
# ip addr del 192.0.2.1/24 dev enp5s0
The commands are executed as root on a Linux host and do not output anything on stdout/stderr. How many ipv4 addresses does the enp5s0 interface have assigned after the last command is executed?
Examine the console exhibit:
# ip link set enp3s0f0 down
# ip link set enp3s0f0 name eth42
# ip link set eth42 name enp3s0f0
The command where run as root on a Debian bullseye host. Which message is shown on stderr after the last command?
#linux #linuxnetworking #debian
#ifstate 1.8.1 was backported to #AlpineLinux 3.17
https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/43726
You should consider upgrading as it contains many (critical) bug fixes.
#ifstate #alpinelinux #linuxnetworking #linux
ifstate 1.8.1 has been released:
https://github.com/liske/ifstate/releases/tag/1.8.1
<br>
<p>
This release contains many (critical) bugfixes. I had two recent incidents where routers booted without a network config due to these bugs in ifstate π
</p>
#ifstate #release #linuxnetworking
#ifstate #release #linuxnetworking
Anyone out there have #networking experience on #linux machines. Needing to get #RockyLinux talking to a windows domain controller and mount an smb share... or looking for other #linuxnetworking solutions/suggestions.
#networking #linux #RockyLinux #linuxnetworking
How To Find WiFi Password Of Connected Networks In Linux #Wifi #Wireless #Password #Linuxnetworking #Linuxcommands #Linuxhowto #Linuxtips #Linuxadmin #Linux #CLI #Commandline
https://ostechnix.com/find-wifi-password-of-connected-networks-in-linux/
#commandLine #CLI #Linux #linuxadmin #linuxtips #linuxhowto #linuxcommands #linuxnetworking #password #wireless #WiFi
How To Find Available Network Interfaces On Linux #Linuxnetworking #Linuxhowto #Linuxadmin #Linux #Ethernet #CLI
https://ostechnix.com/how-to-find-available-network-interfaces-on-linux/
#CLI #ethernet #Linux #linuxadmin #linuxhowto #linuxnetworking
How To Find Default Gateway IP Address In Linux And Unix From Commandline #Gateway #Router #IPaddress #Linuxnetworking #Unix #Linuxbasics #Linuxcommands #Linuxhowto #Linux
https://ostechnix.com/find-default-gateway-linux/
#Linux #linuxhowto #linuxcommands #LinuxBasics #UNIX #linuxnetworking #ipaddress #router #gateway