'RTNETLINK answers: File exists' error
Marco Gaiarin <[email protected]> Wed, 10 Mar 2021 08:52:19 +0000
| Newsgroups | org.kernel.vger.lartc |
|---|---|
| Message-ID | <[email protected]> |
Sometime in my firewall (based on debian), using my custom script and
with policy routing enabled, i hit this error:
ifup vlan191
Set name-type for VLAN subsystem. Should be visible in /proc/net/vlan/conf=
ig
Added VLAN with VID =3D 191 to IF -:eth2:-
RTNETLINK answers: File exists
Failed to bring up vlan191.
this typically happen when i 'play' with an interface (eg, i tear it up
and down many times for testing); after a bit of play (but something
suddenly) the interface go into a undefined state; interface is up (eg,
'ifconfig' return the correct data) but routing is a mess.
Sometime the only thing to do is reboot the firewall.
Probably i do something wrong in my script, but... how can i 'cleanup'
the mess without rebooting?
Thanks.
--=20
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.=
it/
Polo FVG - Via della Bont=E0, 7 - 33078 - San Vito al Tagliamento=
(PN)
marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842=
797
Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000
(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)