Thomas Liske · @liske
36 followers · 401 posts · Server ibh.social

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

Last updated 1 year ago

Thomas Liske · @liske
36 followers · 396 posts · Server ibh.social

While implementing the netns handling in ifstate I got aware that pyroute2 did not have a netlink RTM_NEWNSID request implementation.

I got github.com/svinota/pyroute2/pu 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 github.com/svinota/pyroute2/is ).

After this tangled journey ifstate netns dev branch now has its first netns superpowers 😎

#ifstate #linux #linuxnetworking #netlink #pyroute2

Last updated 1 year ago

Thomas Liske · @liske
36 followers · 396 posts · Server ibh.social

Now working on network namespace () support in .

The basic stuff is already working πŸ₯³

github.com/liske/ifstate/issue

#netns #ifstate #linux #linuxnetworking

Last updated 1 year ago

David "MW0DCM" Maydew · @mw0dcm
31 followers · 72 posts · Server toot.wales

Been using 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 user, I'm proof that anyone can use Linux! and to top it off, the whole family run Linux to!

#linuxpinguin #linuxlife #linuxnetworking #linux

Last updated 1 year ago

Thomas Liske · @liske
36 followers · 396 posts · Server ibh.social

1.8.5 has been released:
github.com/liske/ifstate/relea

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 fifo script for it is now possible to trigger a config reload by SIGHUP.

Updates are available for edge + 3.18.

#ifstate #vrrp #keepalived #alpinelinux #release #linuxnetworking

Last updated 1 year ago

Thomas Liske · @liske
33 followers · 256 posts · Server ibh.social

1.8.4 has been released:
github.com/liske/ifstate/relea

A single commit to make ifstate compatible with python 3.9, again.

This makes it compatible with (old)stable bullseye... for those not going to upgrade to Debian today πŸ˜‰

#ifstate #debian #bookworm #release #linuxnetworking

Last updated 1 year ago

Thomas Liske · @liske
30 followers · 121 posts · Server ibh.social

1.8.3 has been released:
github.com/liske/ifstate/relea

This release has many important bug fixes. You should consider upgrading.

The release is already available in edge and 3.17.

#ifstate #alpinelinux #release #linuxnetworking

Last updated 1 year ago

Thomas Liske · @liske
30 followers · 116 posts · Server ibh.social

I recently fixed several issues in

github.com/liske/ifstate/issue

A new ifstate release will be available after fixing the remaining issues soon:

github.com/liske/ifstate/miles

#ifstate #linuxnetworking

Last updated 1 year ago

Thomas Liske · @liske
30 followers · 85 posts · Server ibh.social

I have recently fixed two issues in

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 #linuxnetworking

Last updated 1 year ago

Thomas Liske · @liske
5 followers · 18 posts · Server ibh.social

1.8.2 was backported to 3.17

gitlab.alpinelinux.org/alpine/

It fixes a python exception in ifstate if a physical interfaces was missing - upgrading is recommended.

#ifstate #alpinelinux #linuxnetworking #linux

Last updated 1 year ago

Thomas Liske · @liske
5 followers · 17 posts · Server ibh.social

ifstate 1.8.2 has been released:
github.com/liske/ifstate/relea

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

Last updated 1 year ago

Thomas Liske · @liske
5 followers · 15 posts · Server ibh.social

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 datagrams for secondary addresses in ipv4 is used for temporary addresses in ipv6 netlink datagrams.

#netlink #linux #linuxnetworking

Last updated 1 year ago

Thomas Liske · @liske
4 followers · 12 posts · Server ibh.social

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?


0%

#linux #linuxnetworking #quiz

Last updated 1 year ago

Thomas Liske · @liske
3 followers · 6 posts · Server ibh.social

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

Last updated 2 years ago

Thomas Liske · @liske
3 followers · 3 posts · Server ibh.social

1.8.1 was backported to 3.17

gitlab.alpinelinux.org/alpine/

You should consider upgrading as it contains many (critical) bug fixes.

#ifstate #alpinelinux #linuxnetworking #linux

Last updated 2 years ago

Thomas Liske · @liske
1 followers · 1 posts · Server ibh.social

ifstate 1.8.1 has been released:
github.com/liske/ifstate/relea
<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

Last updated 2 years ago

Anyone out there have experience on machines. Needing to get talking to a windows domain controller and mount an smb share... or looking for other solutions/suggestions.

#networking #linux #RockyLinux #linuxnetworking

Last updated 2 years ago

OSTechNix · @ostechnix
553 followers · 1519 posts · Server floss.social
OSTechNix · @ostechnix
520 followers · 1486 posts · Server floss.social
OSTechNix · @ostechnix
520 followers · 1486 posts · Server floss.social