Bug 1420554
| Summary: | ifquery command not found in any RHEL packages | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Kiran <kirankn> |
| Component: | PackageKit | Assignee: | Richard Hughes <rhughes> |
| Status: | CLOSED CANTFIX | QA Contact: | Desktop QE <desktop-qa-list> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.3 | CC: | ealcaniz, gbarros, tpelka |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-07-30 15:46:20 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1347518 | ||
|
Description
Kiran
2017-02-09 00:01:20 UTC
On Red Hat only we use the commands and manage by Network Manager sometimes
ifup(8) System Administration tools and Daemons ifup(8)
NAME
ifup - bring a network interface up
ifdown - take a network interface down
SYNOPSIS
ifup CONFIG [boot]
ifdown CONFIG
DESCRIPTION
The ifup and ifdown commands may be used to configure (or, respec- tively, deconfigure) network interfaces based on interface definitions in the files
/etc/sysconfig/network and /etc/sysconfig/network-scripts/ifcfg-<configuration>
These scripts take one argument normally: the name of the configuration (e.g. eth0). They are called with a second argument of "boot" during the boot
sequence so that devices that are not meant to be brought up on boot (ONBOOT=no, see below) can be ignored at that time.
FILES
/etc/sysconfig/network
/etc/sysconfig/network-scripts/ifcfg-<configuration>
The file defining an interface.
SEE ALSO
/usr/share/doc/initscripts-*/sysconfig.txt
/etc/network/interfaces are on /etc/sysconfig/network-scripts/ at RHEL, you can find config files, ifup, ifdown but normally there are manage by Network Manager.
after command ip could configure many things
[stack@orange-undercloud-osp10 network-scripts]$ ip a help
Usage: ip address {add|change|replace} IFADDR dev IFNAME [ LIFETIME ]
[ CONFFLAG-LIST ]
ip address del IFADDR dev IFNAME [mngtmpaddr]
ip address {save|flush} [ dev IFNAME ] [ scope SCOPE-ID ]
[ to PREFIX ] [ FLAG-LIST ] [ label LABEL ] [up]
ip address [ show [ dev IFNAME ] [ scope SCOPE-ID ] [ master DEVICE ]
[ type TYPE ] [ to PREFIX ] [ FLAG-LIST ]
[ label LABEL ] [up] ]
ip address {showdump|restore}
IFADDR := PREFIX | ADDR peer PREFIX
[ broadcast ADDR ] [ anycast ADDR ]
[ label IFNAME ] [ scope SCOPE-ID ]
SCOPE-ID := [ host | link | global | NUMBER ]
FLAG-LIST := [ FLAG-LIST ] FLAG
FLAG := [ permanent | dynamic | secondary | primary |
[-]tentative | [-]deprecated | [-]dadfailed | temporary |
CONFFLAG-LIST ]
CONFFLAG-LIST := [ CONFFLAG-LIST ] CONFFLAG
CONFFLAG := [ home | nodad | mngtmpaddr | noprefixroute | autojoin ]
LIFETIME := [ valid_lft LFT ] [ preferred_lft LFT ]
LFT := forever | SECONDS
TYPE := { vlan | veth | vcan | dummy | ifb | macvlan | macvtap |
bridge | bond | ipoib | ip6tnl | ipip | sit | vxlan |
gre | gretap | ip6gre | ip6gretap | vti | nlmon |
bond_slave | ipvlan | geneve | bridge_slave | vrf | macsec }
This isn't a PackageKit bug. |