Por favor, alguém pode me explicar mais (talvez com exemplos) sobre as seguintes opções no comando ifup no Linux.
Isso é o que eu encontrei na internet, mas sem mais detalhes sobre isso:
--forceForce configuration or deconfiguration of the interface.--allow=CLASSOnly allow interfaces listed in an allow-CLASSline in/etc/network/interfacesto be acted upon.-X PATTERN,--exclude=PATTERNExclude interfaces from the list of interfaces to operate on by thePATTERN.PATTERNuses a usual shell glob syntax. If shell wildcards are not used, it must match the exact interface name. This option may be specified multiple times resulting in more than one pattern being excluded.-o OPTION=VALUESetOPTIONtoVALUEas though it were in/etc/network/interfaces.-n,--no-actDon't configure any interfaces or run any "up" or "down" commands.--no-mappingsDon't run any mappings. Seeinterfacesfor more information about the mapping feature.--no-scriptsDon't run any scripts under/etc/network/if-*.d/-l,--listForifquery, list all the interfaces which match the specified class. If no class specified, prints all the interfaces listed asauto.
Estou usando o Centos 6 e não consegui encontrar o arquivo /etc/network/interfaces , talvez porque eu esteja usando o Network Manger e não as configurações de IP estático.