Sponsored Content
Full Discussion: Default route question
Operating Systems AIX Default route question Post 302405837 by gsabarinath on Saturday 20th of March 2010 08:32:10 AM
Old 03-20-2010
Default route question

Hello I have a question regarding default route on AIX servers. (I am using a p5 5.3 TL9 machine).
in my output of "lsattr -El inet0" I can see there are two routes like below.
route net,-hopcount,0,,0,x.x.207.7 Route True
route net,-hopcount,0,,0,x.x.202.129 Route True

But in netstat -nr
Code:
Route Tree for Protocol Family 2 (Internet):
default            x.x.207.7     UG      106  50570580 en4      -      -
127/8              127.0.0.1         U        14   1419976 lo0      -      -
x.x.207.0      x.x.207.99    UHSb      0         0 en4      -      -   =>
x.x.207/25     x.x.207.99    U         2    607749 en4      -      -
x.x.207.99     127.0.0.1         UGHS      2    471951 lo0      -      -
x.x.207.127    x.x.207.99    UHSb      0         0 en4      -      -

Here there is no entry in the table showing x.x.202.129.

My questions are:

1. How do I know if a route a persistant across reboots (how to Check without actually rebooting the machine :-0) . Because as per my understanding route added with "route add" command is not persistant and the same done with smitty is persistant across reboots.
2. Is it because there were no packet transfered t,hat there is no entry about x.x.202.129

Thank you very much in advance.

Moderator's Comments:
Mod Comment Use code tags.

Last edited by zaxxon; 07-29-2010 at 04:24 AM..
 

8 More Discussions You Might Find Interesting

1. AIX

Permanent Default Route

Hi, We are running AIX 5.2. Our default gateway used to be IP Address A. Our new default gateway is IP Address B. A netstat revealed that our default route was IP address A. We manually added default route with IP address B and removed the default route with IP address A. However,... (3 Replies)
Discussion started by: DenD
3 Replies

2. AIX

Default route removed - what to do ?

Hi, After accidental default route removal serial connection doesn't work. What should I do to connect to my machine ? thanks Vilius (7 Replies)
Discussion started by: vilius
7 Replies

3. Solaris

solaris 10 u5 what happens if no default route configured

Hi, I am new to solaris 10. What is the procedure the os takes if a default route is not configured? I am using a multihomed server with 4 interfaces. It looked strange to me this morning, because i had not defined a default route it defaulted to making one up, with the ip address of another... (9 Replies)
Discussion started by: borderblaster
9 Replies

4. Solaris

Default route is configured, but seem to not work

Hiya, I got the default gateway set in /etc/defaultrouter file, however "netstat -nr" doesn't show anything like "default" in the routing table. As far as I know "netstat" on Solaris 10 u7 should show something like : Routing Table: IPv4 Destination Gateway Flags Ref ... (8 Replies)
Discussion started by: TomSu
8 Replies

5. IP Networking

DHCP/pxeboot Situation: how to specify default route?

Greetings, I am using debian squeeze to perform the following operation: 1. pxeboot Alix 2.c board into debian installer When I get to the installer my laptop's dhcp server successfully provides an ip address but does not set up the default route. I am not sure how to provide this. I... (2 Replies)
Discussion started by: mock
2 Replies

6. AIX

Default Route add fails

AIX version 5.3 when I try to add default gateway # route add 0 192.168.100.254 Or # route add default 192.168.100.254 I get the error 0821-275 route: socket: The file access permissions do not allow the specified action. searching on google i came across similar... (5 Replies)
Discussion started by: filosophizer
5 Replies

7. Solaris

Default route in system

Hi All Recently we have faced issue in SUN server after reboot of node 2 default routs has been added to system as below IRE Table: IPv4 **Destination*************Mask***********Gateway**********Device Mxfrg Rtt***Ref Flg**Out**In/Fwd* -------------------- ---------------... (2 Replies)
Discussion started by: aaysa123
2 Replies

8. Red Hat

IP Route add default and make permanet

Hi all, actually i'm facing this problem, we have 2 NICs on our VM.s with REDHAT 7.2 release, we made the following set up as we needed to access them from both IP ip route flush all ip route add 10.130.11.0/24 dev eno2 tab 1 ip route add 10.130.10.0/24 dev eno1 tab 2 ip route add... (0 Replies)
Discussion started by: charli1
0 Replies
Route classifier in tc(8)					       Linux						 Route classifier in tc(8)

NAME
route - route traffic control filter SYNOPSIS
tc filter ... route [ from REALM | fromif TAG ] [ to REALM ] [ classid CLASSID ] [ action ACTION_SPEC ] DESCRIPTION
Match packets based on routing table entries. This filter centers around the possibility to assign a realm to routing table entries. For any packet to be classified by this filter, a routing table lookup is performed and the returned realm is used to decide on whether the packet is a match or not. OPTIONS
action ACTION_SPEC Apply an action from the generic actions framework on matching packets. classid CLASSID Push matching packets into the class identified by CLASSID. from REALM fromif TAG Perform source route lookups. TAG is the name of an interface which must be present on the system at the time of tc invocation. to REALM Match if normal (i.e., destination) routing returns the given REALM. EXAMPLES
Consider the subnet 192.168.2.0/24 being attached to eth0: ip route add 192.168.2.0/24 dev eth0 realm 2 The following route filter will then match packets from that subnet: tc filter add ... route from 2 classid 1:2 and pass packets on to class 1:2. NOTES
Due to implementation details, realm values must be in a range from 0 to 255, inclusive. Alternatively, a verbose name defined in /etc/iproute2/rt_realms may be given instead. SEE ALSO
tc(8), ip-route(8) iproute2 21 Oct 2015 Route classifier in tc(8)
All times are GMT -4. The time now is 07:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy