ifmetric(8) System Manager's Manual ifmetric(8)NAME
ifmetric - An IPv4 route metrics manipulation tool
SYNOPSIS
ifmetric INTERFACE [METRIC]
DESCRIPTION
ifmetric is a Linux tool for setting the metrics of all IPv4 routes attached to a given network interface at once. This may be used to
change the priority of routing IPv4 traffic over the interface. Lower metrics correlate with higher priorities.
ifmetric uses the Linux NETLINK interface to manipulate the routes. Because of that it is compatible with routes created with the new
iproute2 utility.
OPTIONS
You should specify the interface name as first parameter. The second parameter should be the new metric. If ommited the metric 0 (highest)
is used.
RETURN VALUES
0 Success
1 Failure
AUTHOR
ifmetric was written by Lennart Poettering <mzvszrgevp (at) 0pointer (dot) de>. ifmetric is available at
http://0pointer.de/lennart/projects/ifmetric/
SEE ALSO route(8), ip(8) (iproute2)
COMMENTS
This man page was written using xml2man(1) by Oliver Kurth.
Manuals User ifmetric(8)
Check Out this Related Man Page
ifplugstatus(8) System Manager's Manual ifplugstatus(8)NAME
ifplugstatus - A link beat detection tool
SYNOPSIS
ifplugstatus [options] [INTERFACE]
DESCRIPTION
ifplugstatus is an utility which may be used to detect the link status of a local Linux ethernet device, much in the same way mii-diag,
mii-tool and ethtool work. In fact it supports all three different APIs these three tools use. In addition it supports link checking with
the IFF_RUNNING interface flag, which most modern drivers (not only ethernet) support, and association status checking with the wireless
extension API for WLAN devices.
The APIs are tried in the following order:
First the newest API: SIOCETHTOOL (aka ethtool API)
Second the next older API: SIOCGMIIREG (aka mii-diag API)
Than the WLAN API: wireless extension (aka iwconfig API)
Followed by the cleanest API: IFF_RUNNING (aka ifconfig API)
The oldest API (SIOCPRIV aka mii-tool API) is not tested since it is obsolete.
ifplugstatus may be used in shell script since it returns the current status as return value. It is especially useful to detect the avail-
able APIs on the used network driver. (Option -v)
OPTIONS
You may specify an ethernet device on the command line. Otherwise ifplugstatus will check all available network interfaces.
-a | --auto
Enable interface automatically before querying (default: off)
-h | --help
Show help
-q | --quiet
Decrease verbosity by one. If the verbosity is < 0, no text will be shown, only the return value is relevant; if the verbosity is =
0, a terse status will be shown; If the verbosity is > 0, detailed information about the used API is returned. (By default the ver-
bosity is 0)
-v | --verbose
Increase verbosity by one. See option -q.
-V | --version
Show version
RETURN VALUES
0 Success
1 Failure
2 Link beat detected (only available when an interface is specified)
3 Unplugged (same here)
AUTHOR
ifplugd was written by Lennart Poettering <mzvscyhtq (at) 0pointer (dot) de>. ifplugd is available at
http://0pointer.de/lennart/projects/ifplugd/
SEE ALSO mii-diag(8), mii-tool(8), ethtool(8), ifplugd(8)COMMENTS
This man page was written using xml2man(1) by Oliver Kurth.
Manuals User ifplugstatus(8)
Hi,
IBM Server with AIX 5.2. I have already added a static route for a whole network but everyday some automatic routes to hosts adds up in route table of this server, some of which invalid routes that stops communication of server to that network. If these invalid routes are removed from route... (0 Replies)
Is there a way to add routes using the add route command in AIX to add different routes and bind them to different NICS installed in the box? (2 Replies)
Hi,
How can i delete the following routes on my OpenBSD 4.1 system?
# route -n show (including only relevant ipv6-routes)
Internet6:
Destination Gateway Flags Refs Use Mtu Interface
::/104 ::1 UGRS 1 0 ... (1 Reply)
HI
I have a messaging s/w daemon(TIBCO rvrd) provided by vendor which will accept connections from various clients and routes messages to the destinations. In order to route it internally uses two ports(one tcp adn one udp).
I want to know on which port(tcp/udp) it is transmitting... (3 Replies)
Hi,
I was window OS user and kinda switched to darwin-bash/Mac OS recently, just asking for some help for setting up routes.
When i was using in window XP i can do "route print" and "route add 64.25.55.200 mask 255.255.255.255 188.17.145.178" ,and then when i access 64.25.55.200, it will... (2 Replies)
Hello,
I have two AIX 5.3 servers that are supposedly set up exactly the same. The problem I am having is on one of the servers, it seems dynamic routes are being added mysteriously and non-periodically. This only happens on one server and not the other. Also, there doesn't seem to be a specific... (1 Reply)
Hello,
I'm having problems with persistent routes.
I have the route added to route-eth1.
But when I run the 'route' command to display the routes, it does not show the newly added route.
I did restart the network service. That did not help.
I also rebooted the server, but still did not... (1 Reply)
Hey Gurus.
My routes add using route add , are lost , after reboot.....where caould i save this routes a dont lost them ? Sun Solaris 10 is my OS.
Thanks in advance,
AGADEA. Unix ADMIN (3 Replies)
Hi all,
I am looking for some open source comparator or metrics generator kind of tool. I am sure this is not something new that am asking and probably some of you would have already made use of that in your daily work.
... (2 Replies)
I have seen a lot of IPv4/IPv6 address manipulation libraries but I have yet to see a library allowing you to manipulate the interfaces/addresses/routes.
Anybody else have any experience finding an iproute2 equivalent for Python?
My basic requirements are the ability to add/remove addresses,... (1 Reply)
Hi,
Just a question of thought. Why one needs to add static routes on Unix servers ? If I had ethernet card, it already has the settings for gateway for incoming and outgoing requests. We donot have to explicitly set the route it should take. Then what is the use... (3 Replies)
Hi Guys,
I need some help analyzing the attached metrics. System context is 2 LPAR's in a P795 running WebSphere App Server across 4 nodes (2 on each LPAR).
Over the weekend both LPAR's lost power and upon re-start the application server response times have degraded by 25-30% for no obvious... (1 Reply)
Hi All,
Is there a quick way to check whether the current routes on my centos are
persistent or not before rebooting ?
i can take a route -n output but i may completely lost access to my server if the routes are gone.
thanks. (1 Reply)
Hi ,
I have cent os 6.5 and am trying to make few routes permanent for bond:
i have added two routes using below two commands :
/sbin/route add -net 10.0.0.0 netmask 255.0.0.0 gw 10.59.160.128
/sbin/route add -net 0.0.0.0 netmask 0.0.0.0 gw 49.44.52.90
post which route command output is... (5 Replies)