Hello,
I am relatively new to Haiku and quite stuck with this issue.
How do I add secondary IP addresses to a single adapter?
I have done quite a bit of searching but nothing comes up.
After trying to configure what seemed logical to me in the /boot/system/settings/network/interfaces file, I was treated to my first kernel dump
Help!
Cheers,
Mark
1 Like
What do you mean exactly? Do you want to do some masquerading, some tunnelling, or simply add an IPv6 address to the IPv4 address obtained by the adapter? There’s some work in progress about the latest but nothing ready yet.
1 Like
I want to add multiple IPv4 addresses, as a matter of fact.
In Linux this would be called ‘secondary IP address’.
We are using Haiku VMs to test certain network infrastructure (because of its small footprint and GUI).
I don’t think that it is possible at the moment but I’m a simple user.
1 Like
X512
March 5, 2024, 11:44pm
5
Do you mean KDL/kernel panic? If so, please post screenshot of it here.
korli
March 6, 2024, 9:08am
6
At the moment, adding aliases is only possible for the loopback device.
ifconfig loop:0 127.0.0.3 255.0.0.0 up
1 Like
OK, good to know, thanks!
korli
March 6, 2024, 2:09pm
8
3 Likes
Yes, it happened when I saved the ‘interfaces’ file with (apparently) invalid content. After a reboot the file was reverted automatically.
The panic was not the real issue here of course, just a by-product.
I can reproduce it if you want, should I?
/Mark
1 Like
X512
March 6, 2024, 5:11pm
10
Kernel should validate inputs and not crash. So I think it is a bug that should be fixed.
4 Likes
OK I will try and reproduce it. May be some time, as we’re moving infra to a new datacenter which keeps us quite busy.
2 Likes