• 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 *

Primary Sidebar

How to decide on a community service supplier

SONiC builds muscle for enterprise-network service in 2023

Profitable AI Implementations Hinge on Belief

How AI-driven Networks Can Ramp Up Operational Efficiencies

Knowledge-center necessities ought to drive community structure

Unlocking Larger Training: AI Improves Pupil Expertise, Institutional Excellence

Taking the Pulse of Knowledge Middle Automation

Cisco publicizes $600M restructuring plan, together with layoffs

Why Retailers Worth Wi-Fi and Location-Based mostly Providers for New Linked Buyer Experiences

The New Gold Customary: How AIOps Is Remodeling Community Functionality

MSP or DIY: What Is the Finest Possibility for Your SD-WAN Deployment?

Excessive earnings report: Wi-fi and cloud good points mood file backlogs

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 © 2023 · Daily Dish Pro on Genesis Framework · WordPress · Log in