* how to change default val for udp_ttl?
@ 2000-12-19 2:01 Pui Ming WONG
2000-12-18 13:04 ` Tomasz Gąska
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Pui Ming WONG @ 2000-12-19 2:01 UTC (permalink / raw)
We have the need to change this value from the default value
of 30 to higher ? (BTW ,how to list this network param to make
sure it is really 30 in the kernel)
Is it necessary to rebuild the kernel?
We run TRu64unix 4.0E
--
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: how to change default val for udp_ttl? 2000-12-19 2:01 how to change default val for udp_ttl? Pui Ming WONG @ 2000-12-18 13:04 ` Tomasz Gąska 2000-12-19 9:31 ` meaden 2000-12-19 9:57 ` Frank 2 siblings, 0 replies; 6+ messages in thread From: Tomasz Gąska @ 2000-12-18 13:04 UTC (permalink / raw) Pui Ming WONG wrote: > We have the need to change this value from the default value > of 30 to higher ? man sysconfigtab man sysconfigdb man sysconfig Make a file with: inet: udp_ttl=<whatever you want> Run that: sysconfigdb -a (or -u) -f <filename> inet > (BTW ,how to list this network param to make > sure it is really 30 in the kernel) sysconfig -q inet udp_ttl > Is it necessary to rebuild the kernel? It isn't, but system restart meaybe required (some parameters doesn't require, check in documentation). Regards Tomasz Gaska ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: how to change default val for udp_ttl? 2000-12-19 2:01 how to change default val for udp_ttl? Pui Ming WONG 2000-12-18 13:04 ` Tomasz Gąska @ 2000-12-19 9:31 ` meaden 2000-12-19 9:57 ` Frank 2 siblings, 0 replies; 6+ messages in thread From: meaden @ 2000-12-19 9:31 UTC (permalink / raw) Use :- /sbin/sysconfig -q inet to see the inet subsystem which includes the parameter udp_ttl Use :- /sbin/sysconfig -m inet to see if the subsystem is static or dynamic (i.e - can parameters be changed dynamically, without rebooting). Modifying parameters in the inet subsystem requires a reboot. No kernel rebuild is necessary. To make the change to the parameter, you can manually edit /etc/sysconfigtab and include an entry, but the recommended method is to use the sysconfigdb utility. See the man page for sysconfigdb. Hope this helps. Paul. Sent via Deja.com http://www.deja.com/ ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: how to change default val for udp_ttl? 2000-12-19 2:01 how to change default val for udp_ttl? Pui Ming WONG 2000-12-18 13:04 ` Tomasz Gąska 2000-12-19 9:31 ` meaden @ 2000-12-19 9:57 ` Frank 2000-12-19 16:52 ` Andrew Duane USG 2 siblings, 1 reply; 6+ messages in thread From: Frank @ 2000-12-19 9:57 UTC (permalink / raw) Use :- /sbin/sysconfig -q inet to see the inet subsystem which includes the parameter udp_ttl Use :- /sbin/sysconfig -m inet to see if the subsystem is static or dynamic (i.e - can parameters be changed dynamically, without rebooting). Modifying parameters in the inet subsystem requires a reboot. No kernel rebuild is necessary. To make the change to the parameter, you can manually edit /etc/sysconfigtab and include an entry, but the recommended method is to use the sysconfigdb utility. See the man page for sysconfigdb. Hope this helps. Paul. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: how to change default val for udp_ttl? 2000-12-19 9:57 ` Frank @ 2000-12-19 16:52 ` Andrew Duane USG 2000-12-20 7:58 ` Frank 0 siblings, 1 reply; 6+ messages in thread From: Andrew Duane USG @ 2000-12-19 16:52 UTC (permalink / raw) WHOA! The last reply, from Frank at mailint03.im.hou.compaq.com is quite detailed, but unfortunately mostly wrong. Whether a subsystem is static or dynamic (as reported by sysconfig -m) has nothing whatsoever to do with how you set variables in sysconfigtab and whether a new kernel needs to be built or not. The sysconfigtab was developed exactly so that kernels did not need to be rebuilt just to change variables. First, the ONLY approved method to do so is with sysconfigdb. It is HIGHLY NOT RECOMMENDED to edit /etc/sysconfigtab manually. Next, whether a variable can be set at run time, or needs to have the system rebooted (NOT rebuilt, just rebooted) depends on the variable. To find out, use sysconfig -Q: # sysconfig -Q inet udp_ttl inet: udp_ttl - type=INT op=CRQ min_val=0 max_val=255 # This gives the type (INT = integer), the min and max values (0 and 255), and the supported operations. CRQ means CONFIGURABLE (at boot time), RECONFIGURABLE (at run time) and QUERYABLE. So for this variable, the system does not even need to be rebooted for the new value to take effect. As soon as you do: # sysconfig -r inet udp_ttl=<newvalue> the new value will be used. If it were only CQ, the system would have to be rebooted to take effect. All of this is detailed in the sysconfig man page. If you have any more questions, feel free to email me. -- Andrew L. Duane (JOT-7) duane@zk3.dec.com Compaq Computer Corporation (603)-884-1294 110 Spit Brook Road M/S ZKO3-3/U14 Nashua, NH 03062-2698 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: how to change default val for udp_ttl? 2000-12-19 16:52 ` Andrew Duane USG @ 2000-12-20 7:58 ` Frank 0 siblings, 0 replies; 6+ messages in thread From: Frank @ 2000-12-20 7:58 UTC (permalink / raw) Andrew, You are right, I should have read the sysconfig man page more closely. Frank ! Andrew Duane USG <duane@magma.uucp> wrote in message news:91o3p7$79e9$1@lead.zk3.dec.com... > WHOA! > > The last reply, from Frank at mailint03.im.hou.compaq.com is quite > detailed, but unfortunately mostly wrong. > > Whether a subsystem is static or dynamic (as reported by sysconfig -m) > has nothing whatsoever to do with how you set variables in sysconfigtab > and whether a new kernel needs to be built or not. The sysconfigtab was > developed exactly so that kernels did not need to be rebuilt just to > change variables. > > First, the ONLY approved method to do so is with sysconfigdb. It is > HIGHLY NOT RECOMMENDED to edit /etc/sysconfigtab manually. > > Next, whether a variable can be set at run time, or needs to have the > system rebooted (NOT rebuilt, just rebooted) depends on the variable. > To find out, use sysconfig -Q: > > # sysconfig -Q inet udp_ttl > inet: > udp_ttl - type=INT op=CRQ min_val=0 max_val=255 > # > > This gives the type (INT = integer), the min and max values (0 and 255), > and the supported operations. CRQ means CONFIGURABLE (at boot time), > RECONFIGURABLE (at run time) and QUERYABLE. > > So for this variable, the system does not even need to be rebooted for > the new value to take effect. As soon as you do: > > # sysconfig -r inet udp_ttl=<newvalue> > > the new value will be used. If it were only CQ, the system would have > to be rebooted to take effect. > > > All of this is detailed in the sysconfig man page. If you have any > more questions, feel free to email me. > > -- > > Andrew L. Duane (JOT-7) duane@zk3.dec.com > Compaq Computer Corporation (603)-884-1294 > 110 Spit Brook Road > M/S ZKO3-3/U14 > Nashua, NH 03062-2698 > ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2000-12-20 7:58 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2000-12-19 2:01 how to change default val for udp_ttl? Pui Ming WONG 2000-12-18 13:04 ` Tomasz Gąska 2000-12-19 9:31 ` meaden 2000-12-19 9:57 ` Frank 2000-12-19 16:52 ` Andrew Duane USG 2000-12-20 7:58 ` Frank
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox