Bug 23906

Summary: PATCH: print both IPv6 and IPv4 routing tables if IPv6 loaded
Product: [Retired] Red Hat Linux Reporter: Pekka Savola <pekkas>
Component: net-toolsAssignee: Phil Knirsch <pknirsch>
Status: CLOSED WONTFIX QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: low    
Version: 7.0CC: rvokal
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-04-08 12:55:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
show both ipv6 and ipv4 routing tables if IPv6 is enabled none

Description Pekka Savola 2001-01-12 19:56:04 UTC
Here's a small patch I cooked up because I like how BSD shows IPv6.

By default you have to specify '-A inet6' to see IPv6 routes, connections or anything.

With this, netstat -r and route print out both routing tables by default _IF_ you have
IPv6 kernel module loaded (check for /proc/net/ipv6_route); else, only IPv4 is printed.

Comment 1 Pekka Savola 2001-01-12 19:56:55 UTC
Created attachment 7527 [details]
show both ipv6 and ipv4 routing tables if IPv6 is enabled

Comment 2 Pekka Savola 2001-04-19 19:02:55 UTC
This patch is a bit controversial as ipv6 printing hasn't been optimized so it always wraps lines.

On BSD, where the idea is from, one route 99% only takes one line.

Comment 3 Phil Knirsch 2002-04-08 12:55:00 UTC
Has this patch made it into the official upstream release of iputils? If so we
can close this bug as the latest iputils package is now based on the latest
upstream release.

Read ya, Phil

Comment 4 Pekka Savola 2002-04-10 06:35:19 UTC
Nope..

In any case the output of the IPv6 route command should be textually compressed
before this would be feasible, as currently a line wrap happens.

Before this is done, I'm not sure how sensible this is, so closing as WONTFIX..