10-27-2005
The reason is you set the default route with something like a "route add ...", right?
This is fine, but is not persistent, because th information is not stored anywhere on a media which would survive reboot, just in memory. To change the default route permanently you would habe to change it in /etc/rc.inetd or - better yet in AIX - there and in the ODM too.
To do this issue a "chdev" (see the man page for chdev for details) or (this is effectively doing the same) issue "smitty tcpip", enter the "minimum configuration" screen and change it. (Pressing <F6> after filling out all the menus will show you the command SMITty would issue, so you could write it down and further use it in a script or so.)
bakunin
9 More Discussions You Might Find Interesting
1. Solaris
How do I make a route permanent, other than default route on a Solaris server? (1 Reply)
Discussion started by: jontom
1 Replies
2. AIX
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
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
how do I make sure that the entry in the routing table on Solaris 8 stay permanent after rebooting the server.
For example
route add 172.20.1.60 -netmask 255.255.255.0 172.20.255.253
Each time the server reboots the entry disappears when using the command netstat -nr (2 Replies)
Discussion started by: tv.praveenkumar
2 Replies
5. AIX
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... (9 Replies)
Discussion started by: gsabarinath
9 Replies
6. Solaris
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
7. IP Networking
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
8. AIX
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
9. Solaris
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
LEARN ABOUT DEBIAN
dnroute
DNROUTE(8) System Manager's Manual DNROUTE(8)
NAME
dnroute - DECnet Routing Daemon
SYNOPSIS
dnroute [options]
Options:
[-dvV2Dtnhr]
DESCRIPTION
dnroute is a daemon that manages the DECnet routing tables to provide a simple
but probably useful routing policy.
dnroute listens for incoming routing messages and adds routes in the kernel for non-local areas that it sees. Routes will be modifed
according to these messages so that the lowest cost route that is up will always be used. Routes to locally accessible nodes (it those in
the neighbour table) will also be added. If you want to keep manual control of the route to a particular area, then add a line into
dnroute.conf. eg:
manual 26
will disable dnroute's setting of routing tables for that area. dnetinfo will still show the route that would have been set with (M) on the
line to show it has been overidden.
To implement its routing policies dnroute assumes that all interfaces on the system have a cost of 4. To change this add lines in
/etc/dnroute.conf for each of the interfaces you need to change. eg
eth0 6
eth1 8
tap0 10
A script called dnetinfo is provided that gets the routing information from dnroute and displays it on stdout in a format similar to the
VMS command SHOW NET/OLD.
OPTIONS
-d Don't fork and run the background. Use this for debugging.
-v Verbose. Log route changes to syslog.
-D Debug log. Writes debugging information to stderr. Only useful with -d.
-h -? Displays help for using the command.
-r Send DECnet routing messages showing the state of local nodes.
-2 Send DECnet level 2 (area) routing messages. Implies -r.
-t <secs>
Timer to send routing messages on. Defaults to 15 seconds.
-n Do not set up routes or send routing messages, just monitor the network. Useful for testing.
-V Show the version of dnroute.
SEE ALSO
dnetd.conf(5), ip(8)
DECnet utilities March 30 2006 DNROUTE(8)