Question & Answer
Question
Cause
# netstat -rn
# netstat -r
# netstat -rn
Routing tables
Destination Gateway Flags Refs Use If Exp Groups
Route Tree for Protocol Family 2 (Internet):
default 9.40.205.1 UG 3 673539 en4 - -
9.40.205.0 9.40.205.53 UHSb 0 0 en4 - - =>
9.40.205/24 9.40.205.53 U 0 69028 en4 - -
9.40.205.53 127.0.0.1 UGHS 2 11173 lo0 - -
9.40.205.255 9.40.205.53 UHSb 0 4 en4 - -
10.99/16 9.3.4.200 UG 0 38975 en4 - -
127/8 127.0.0.1 U 6 329732 lo0 - -
# netstat -rn
Routing tables
Destination Gateway Flags Refs Use If Exp Groups
Route Tree for Protocol Family 2 (Internet):
default 9.40.205.1 UG 3 673624 en4 - - =>
default 9.40.205.2 UG 0 0 en4 - -
9.40.205.0 9.40.205.53 UHSb 0 0 en4 - - =>
9.40.205/24 9.40.205.53 U 1 69028 en4 - -
9.40.205.53 127.0.0.1 UGHS 2 11173 lo0 - -
9.40.205.255 9.40.205.53 UHSb 0 4 en4 - -
10.99/16 9.3.4.200 UG 0 38975 en4 - -
127/8 127.0.0.1 U 6 329740 lo0 - -
# lsattr -El inet0
authm 65536 Authentication Methods True
bootup_option no Use BSD-style Network Configuration True
gateway Gateway True
hostname tcp53 Host Name True
rout6 IPv6 Route True
route net,-hopcount,0,,0,9.40.205.1 Route True
Where does the 9.40.205.2 route come from? |
---|
Another command that is used to add routes temporarily until system restart is the route command. The route command allows users to make manual entries into the network routing tables. If the system gets restarted, the routing table gets built from the default settings. |
##################################################################
# rc.net - called by cfgmgr during 2nd boot phase.
#
# Configures and starts TCP/IP interfaces.
# Sets hostname, default gateway and static routes.
# Note: all the stdout should be redirected to a file (e.g. /dev/null),
# because stdout is used to pass logical name(s) back to the cfgmgr
# to be configured. The LOGFILE variable specifies the output file.
#
# The first section of rc.net configures the network via the new
# configuration methods. These configuration methods require that
# the interface and protocol information be entered in the ODM
# database (with either SMIT or the high level configuration commands
# (mkdev, chdev).
# The second section (commented out) is an example of the equivalent
# traditional commands used to perform the same function. You may
# use the traditional commands instead of the configuration methods
# if you prefer. These commands do NOT use the ODM database.
# The third section performs miscellaneous commands which are
# compatible with either of the previous two sections.
##################################################################
Answer
Additional Information
SUPPORT |
---|
If you require more assistance, use the following step-by-step instructions to contact IBM to open a case for software with an active and valid support contract. 1. Document (or collect screen captures of) all symptoms, errors, and messages related to your issue. 2. Capture any logs or data relevant to the situation. 3. Contact IBM to open a case: -For electronic support, see the IBM Support Community: 4. Provide a clear, concise description of the issue. - For more information, see: Working with IBM AIX Support: Describing the problem. 5. If the system is accessible, collect a system snap, and upload all of the details and data for your case. - For more information, see: Working with IBM AIX Support: Collecting snap data |
Mustafa Atallah
Reviewed by:
Darshan Patel - Roger Leuckie
Related Information
Product Synonym
AIX
Was this topic helpful?
Document Information
Modified date:
12 November 2022
UID
ibm16832258