• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Juniper Client

Its all about Networks

  • Juniper SRX
  • Juniper eBooks
  • Juniper Switches
    • Juniper Ex Switch
    • Juniper Networks Switches
    • Juniper Switch
  • Juniper Apps
  • News
  • Juniper eBooks
  • About Us
  • Show Search
Hide Search

Analyzing community connections on Linux methods

vijesh · January 22, 2021 · Leave a Comment


There are loads of instructions obtainable on Linux for community settings and connections. In right now’s put up, we will run via some very useful instructions and see how they work.

ifquery command

One very helpful command is the ifquery command. This command ought to offer you a fast checklist of community interfaces. Nonetheless, you may solely see one thing like this —exhibiting solely the loopback interface:

$ ifquery --list
lo

If that is so, your /and so forth/community/interfaces file would not embody info on community interfaces apart from the loopback interface. You’ll be able to add traces just like the final two within the instance beneath — assuming DHCP is used to assign addresses — if you would like it to be extra helpful.

# interfaces(5) file utilized by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp

ifup and ifdown instructions

The associated ifup and ifdown instructions can be utilized to convey community connections up and shut them down as wanted supplied this file has the required descriptive information. Simply remember the fact that “if” means “interface” in these instructions simply because it does within the ifconfig command, not “if” as in “if I solely had a mind”.

ifconfig command

The ifconfig command, then again, would not learn the /and so forth/community/interfaces file in any respect and nonetheless supplies fairly a little bit of helpful info on community interfaces — configuration information together with packet counts that inform you how busy every interface has been. The ifconfig command will also be used to close down and restart community interfaces (e.g., ifconfig eth0 down).

$ ifconfig eth0
eth0      Hyperlink encap:Ethernet  HWaddr 00:1e:4f:c8:43:fc
          inet addr:192.168.0.6  Bcast:192.168.0.255  Masks:255.255.255.0
          inet6 addr: fe80::b44b:bdb6:2527:6ae9/64 Scope:Hyperlink
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:60474 errors:Zero dropped:Zero overruns:Zero body:0
          TX packets:33463 errors:Zero dropped:Zero overruns:Zero service:0
          collisions:Zero txqueuelen:1000
          RX bytes:43922053 (43.9 MB)  TX bytes:4000460 (4.Zero MB)
          Interrupt:21 Reminiscence:fe9e0000-fea00000

The RX and TX packet counts on this output are extraordinarily low. As well as, no errors or packet collisions have been reported. The uptime command will doubtless affirm that this technique has solely lately been rebooted.

Filed Under: News

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

10 methods IT can navigate the chip scarcity

IT workforce struggling below COVID-19, ready on herd immunity for rebound

Analyzing community connections on Linux methods

How a Linux migration led to the creation of Amazon Net Companies

VMware takes an govt expertise hit however can deal with it

How-to measure enterprise Wi-Fi speeds

Tips on how to Create Hyper-Conscious Shops for Enhanced Experiences and Higher Enterprise Outcomes

Take a look at and evaluate of four Wi-Fi 6 routers: Who’s the quickest?

5 inquiries to reply earlier than deploying Wi-Fi 6

How one can decide if Wi-Fi 6 is best for you

Cisco tags crucial safety holes in SD-WAN software program

Classes that riot selfies maintain for respectable enterprises

For Searching IFSC Codes in Banks Visit Here

For Biographies visit Crazum.com

Footer

About Juniper Client

Juniper Client is a blog dedicated in solving juniper related problems like juniper srx load balancing, juniper routers, juniper switches etc. Juniper Client is the premier provider of information, intelligence and insight for Juniper Network and IT Executives. Our main focus is to deliver news, opinion and networking tools for managing business solutions. We offer a unique and valuable information for businesses to meet their marketing objectives. Read More...

FIND IT HERE

Copyright © 2022 · Daily Dish Pro on Genesis Framework · WordPress · Log in