Answer the question
In order to leave comments, you need to log in
How to keep ifconfig ... allmulti after reboot?
For normal operation of multicasts in a local network, it is required to use the MULTIALL flag for the network interface. This is perfectly solved with ifconfig ... allmulti, but the flag flies after a reboot. How to make sure that the flag does not fly off after a reboot?
# ifconfig
enp3s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 00:13:77:b9:7b:13 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 18
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1 (Local Loopback)
RX packets 1499643 bytes 219515571 (209.3 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1499643 bytes 219515571 (209.3 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlp2s0: flags=4675<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::225:56ff:fe26:2379 prefixlen 64 scopeid 0x20<link>
ether 00:25:56:26:23:79 txqueuelen 1000 (Ethernet)
RX packets 161318 bytes 53252337 (50.7 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 106824 bytes 32582246 (31.0 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
# cat /etc/network/interfaces
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
Answer the question
In order to leave comments, you need to log in
I can't say for Linux, but in FreeBSD it is stored in /etc/rc.conf
; and in /etc/defaults/rc.conf
there are examples of using most of the available designs.
Probably, in Linux you need to find where the IP address of the computer is stored. And there d.b. place to enter other parameters.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question