RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1420554 - ifquery command not found in any RHEL packages
Summary: ifquery command not found in any RHEL packages
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: PackageKit
Version: 7.3
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: Richard Hughes
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks: 1347518
TreeView+ depends on / blocked
 
Reported: 2017-02-09 00:01 UTC by Kiran
Modified: 2019-07-30 15:46 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-07-30 15:46:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Kiran 2017-02-09 00:01:20 UTC
Description of problem:

We are using ifquery command in ubuntu to figure out the order in which bond interfaces need to be brought up for contrail dpdk-vrouter. Trying to do similar thing for RHEL-7 but unable to find the ifquery command.

http://www.computerhope.com/unix/ifup.htm

Comment 1 Edu Alcaniz 2017-02-09 13:34:43 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 }

Comment 2 Richard Hughes 2019-07-30 15:46:20 UTC
This isn't a PackageKit bug.


Note You need to log in before you can comment on or make changes to this bug.