07-19-2012
Quote:
Originally Posted by
Foiled
Nice thing about the smitty mkroute is that if you do it that way the route wil survive a reboot. If you just use the "route add" command....you will loose the route on reboot.
Correct. The reason being that (persistent) routing information is stored in the ODM. Using a
chdev like smitty does changes the ODM as well as the actual configuration, while
route add only changes the configuration but not the ODM. At reboot the ODM is read to create a configuration, which is why the
route commands effects don't survive reboots.
Notice that some admins who don't know this end up putting "route add"-commands in
rc.net and this will of course override any changes in the ODM, so watch out for this sort of problems if you change anything.
I hope this helps.
bakunin
10 More Discussions You Might Find Interesting
1. Solaris
Yes. But just wait a bit. How to do it via system calls? I'm just a newbie in Unix\Linux\Solaris e.t.c. programming. Can anyone help me? I need an advice probably how to do it or may be what API to read... :) Please, help... (2 Replies)
Discussion started by: LocalStorm
2 Replies
2. IP Networking
Hi,
I have problems with my SCO unix network interfaces.
Intel integrated adapter was failing, so I installed new one - 3COM adapter into free PCI slot.
Installed driver using SCO Software manager - successfully
Added new Network adapter using SCO Network configuration manager - successfully... (0 Replies)
Discussion started by: vilius
0 Replies
3. SCO
Hi,
I have problems with my SCO unix network interfaces.
Intel integrated adapter was failing, so I installed new one - 3COM adapter into free PCI slot.
Installed driver using SCO Software manager - successfully
Added new Network adapter using SCO Network configuration manager - successfully... (0 Replies)
Discussion started by: vilius
0 Replies
4. AIX
Hi all, this is my first post on this forum. My main problem is this:
I have a NIM server that I am trying to configure two interfaces on. One interface is for an internal Admin VLAN, the other is so that the server can use SUMA to pull updates. The problem is that I need help w/ the routing.... (1 Reply)
Discussion started by: snakernetb
1 Replies
5. Solaris
I got second IOU in my M5000 but not able bring internal network interfcae .. ike i don't get link on those 2 interfaces .. and the same network cable plugged in PCI network card it works like a charm Is there any special way to enable the internal IOU interfaces or i have bad nics ? (8 Replies)
Discussion started by: fugitive
8 Replies
6. Debian
Hello
i am configuring a debian lenny sever ,/etc/network/interfaces is modified so that eth1 takes a static IP address
then i save it wq!
then i restart the networking , /etc/init.d/networking restart .
but after reboot ,the file is reset ,note that the interfaces had by defauklt IPv6 address... (5 Replies)
Discussion started by: learn82
5 Replies
7. Solaris
Hello,
I have a machine with Solaris 8, and it has multiple interfaces that are connected to the same network which means they all have metric 0 (1 hop) to the default gateway.
assume:
* e1000g0: 10.1.1.70
* e1000g2: 10.1.1.72
* e1000g4: 10.1.1.74
* e1000g5: 10.1.1.76
* gateway:... (11 Replies)
Discussion started by: aeg
11 Replies
8. UNIX for Dummies Questions & Answers
i need a one liner command that writes in /var/log/net.log the date when i connect to the network and when i disconect ..i know that i need to write somethin in /etc/network/interfaces but idk what ! please help (1 Reply)
Discussion started by: g0dlik3
1 Replies
9. IP Networking
Dear gurus of Linux / Unix.
I have a server, which I use to monitoring traffic, the problem that I find is when I run the following command:
probe:~ # sar -n DEV 1
I see that I one second appear info in some interface and in the other second no appear, I don't know what will be the... (0 Replies)
Discussion started by: andresguillen
0 Replies
10. Linux
I just ran sudo service networking start on Ubuntu 16.00 and came out with error message
Job for networking service failed because control process exited with error code see systemctl status networking.service
I tried to also run this command
systemctl status networking.service
I also got an... (4 Replies)
Discussion started by: DOkuwa
4 Replies
LEARN ABOUT DEBIAN
dump_sockdfr
DUMP_SOCKDFR(8) System Manager's Manual DUMP_SOCKDFR(8)
NAME
dump_sockdfr - Display contents of frozen route file for SOCKS server
SYNOPSIS
dump_sockdfr [infile]
DESCRIPTION
dump_sockdfr reads in a frozen route file for the SOCKS server and produces a listing of its contents on the standard output.
The argument is optional; if omitted, /etc/sockd.fr is assumed.
The frozen route file is produced by make_sockdfr and is essentially the memory image of the parsed route file. Using the frozen route file
can reduce the start-up delay of the SOCKS server program since it no longer has to parse the file contents.
When the SOCKS server starts, it always looks for the frozen route file /etc/sockd.fr first. If that file is not found, it then tries to
use the plain-text route file /etc/sockd.route. If you use frozen route file, you must remember to run make_sockdfr every time after you
modify the plain-text file or the SOCKS server will continue to use the frozen version of a previous route file.
FILES
/etc/sockd.fr, /etc/sockd.route
SEE ALSO
make_sockdfr(8), sockd.fr(5), sockd.route(5)
AUTHOR
Ying-Da Lee, yingda@esd.sgi.com or yingda@best.com
May 6, 1996 DUMP_SOCKDFR(8)