* (unknown),
@ 2006-05-02 19:36 Kirkwood, David A
2006-05-02 20:08 ` Tom Callahan
2006-05-02 21:48 ` Glynn Clements
0 siblings, 2 replies; 6+ messages in thread
From: Kirkwood, David A @ 2006-05-02 19:36 UTC (permalink / raw)
To: linux-admin
Do I need to enable ip-forwarding for a system to function as an ip
router or is this enabled automatically by routed? If I do need to
manually how do I enable it? If not can I disable it though the routed
or do I just use ipchains / iptables?
Thanks,
David
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re:
2006-05-02 19:36 (unknown), Kirkwood, David A
@ 2006-05-02 20:08 ` Tom Callahan
2006-05-02 20:23 ` ipforward Adrian C.
` (2 more replies)
2006-05-02 21:48 ` Glynn Clements
1 sibling, 3 replies; 6+ messages in thread
From: Tom Callahan @ 2006-05-02 20:08 UTC (permalink / raw)
To: Kirkwood, David A; +Cc: linux-admin
From what I remember, the answer is yes.
To manually enable it:
echo "1" > /proc/sys/net/ipv4/ip_forward
or/and add that to /etc/rc.d/rc.local
Thanks,
Tom Callahan
TESSCO Technologies
Desk: (410)-229-1361
Cell: (410)-588-7605
Email: callahant@tessco.com
A real engineer only resorts to documentation when the keyboard dents on the forehead get too noticeable.
Kirkwood, David A wrote:
>Do I need to enable ip-forwarding for a system to function as an ip
>router or is this enabled automatically by routed? If I do need to
>manually how do I enable it? If not can I disable it though the routed
>or do I just use ipchains / iptables?
>
>
>
>Thanks,
>
>
>
>David
>
>-
>To unsubscribe from this list: send the line "unsubscribe linux-admin"
>in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread* ipforward
2006-05-02 20:08 ` Tom Callahan
@ 2006-05-02 20:23 ` Adrian C.
2006-05-03 21:28 ` tom arnall
2006-05-03 21:50 ` memory problems tom arnall
2 siblings, 0 replies; 6+ messages in thread
From: Adrian C. @ 2006-05-02 20:23 UTC (permalink / raw)
To: linux-admin
Or, to be a bit more fancy
# sysctl net.ipv4.ip_forward=1
;)
A little offtopic, a `fancy` thing i've been working on:
http://fancyerrors.sf.net . It makes your Squid very sleek.
--Adrian.
Tom Callahan wrote:
> From what I remember, the answer is yes.
>
> To manually enable it:
> echo "1" > /proc/sys/net/ipv4/ip_forward
>
> or/and add that to /etc/rc.d/rc.local
>
> Thanks,
>
> Tom Callahan
> TESSCO Technologies
> Desk: (410)-229-1361
> Cell: (410)-588-7605
> Email: callahant@tessco.com
>
> A real engineer only resorts to documentation when the keyboard dents on
> the forehead get too noticeable.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re:
2006-05-02 20:08 ` Tom Callahan
2006-05-02 20:23 ` ipforward Adrian C.
@ 2006-05-03 21:28 ` tom arnall
2006-05-03 21:50 ` memory problems tom arnall
2 siblings, 0 replies; 6+ messages in thread
From: tom arnall @ 2006-05-03 21:28 UTC (permalink / raw)
To: linux-admin
my system freezes when I try to run an application that handles a large file
in a variable. I have set ulimits as follows:
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) 256000
max memory size (kbytes, -m) 256000
open files (-n) 1024
pipe size (512 bytes, -p) 8
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) unlimited
virtual memory (kbytes, -v) unlimited
Physical memory on the system is 512MB, yet when the application runs -
despite the limits shown above - linux hands almost all of memory to the
application.
Tom Arnall
north spit, ca
^ permalink raw reply [flat|nested] 6+ messages in thread
* memory problems
2006-05-02 20:08 ` Tom Callahan
2006-05-02 20:23 ` ipforward Adrian C.
2006-05-03 21:28 ` tom arnall
@ 2006-05-03 21:50 ` tom arnall
2 siblings, 0 replies; 6+ messages in thread
From: tom arnall @ 2006-05-03 21:50 UTC (permalink / raw)
To: linux-admin
my system freezes when I try to run an application that handles a large file
in a variable. I have set ulimits as follows:
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) 256000
max memory size (kbytes, -m) 256000
open files (-n) 1024
pipe size (512 bytes, -p) 8
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) unlimited
virtual memory (kbytes, -v) unlimited
Physical memory on the system is 512MB, yet when the application runs -
despite the limits shown above - linux hands almost all of memory to the
application.
Tom Arnall
north spit, ca
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re:
2006-05-02 19:36 (unknown), Kirkwood, David A
2006-05-02 20:08 ` Tom Callahan
@ 2006-05-02 21:48 ` Glynn Clements
1 sibling, 0 replies; 6+ messages in thread
From: Glynn Clements @ 2006-05-02 21:48 UTC (permalink / raw)
To: Kirkwood, David A; +Cc: linux-admin
Kirkwood, David A wrote:
> Do I need to enable ip-forwarding for a system to function as an ip
> router or is this enabled automatically by routed? If I do need to
> manually how do I enable it? If not can I disable it though the routed
> or do I just use ipchains / iptables?
It can be controlled with:
echo 1 > /proc/sys/net/ipv4/ip_forward
or:
sysctl net.ipv4.ip_forward=1
or, if your system has an /etc/sysctl.conf file, just add:
net.ipv4.ip_forward=1
Also, do you actually need to run routed? If you aren't sure, the
answer is probably no.
--
Glynn Clements <glynn@gclements.plus.com>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-05-03 21:50 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-02 19:36 (unknown), Kirkwood, David A
2006-05-02 20:08 ` Tom Callahan
2006-05-02 20:23 ` ipforward Adrian C.
2006-05-03 21:28 ` tom arnall
2006-05-03 21:50 ` memory problems tom arnall
2006-05-02 21:48 ` Glynn Clements
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).