LC wrote:
----- Original Message ----- From: "Bob Marcan"
<bob.marcan@xxxxxxxxxxxxxxxxxxxxxxxx>
To: "For users of Fedora Core releases" <fedora-list@xxxxxxxxxx>
Sent: Wednesday, May 24, 2006 12:09 AM
Subject: Re: router using FC4
LC wrote:
Hi,
I am trying to make a router using a FC4. I have 2 NICs in the
machine. Install FC4 using minimium. Eth0 is set to DHCP, connected
to an ethernet modem and ETH1 has IP 192.168.1.1, netmask
255.255.255.0 connected to a switch. Installation was a success and
rebooted the box. Clients machines are unable to ping 192.168.1.1.
But when i unplug the modem and reboot, clients are ablt to ping
192.168.1.1. I realised if the box booted up both ETH0 and ETH1,
clients are able to ping 192.168.1.1. But if i ifdown ETH0 and ifup
ETH0, clients are able to get reply from 192.168.1.1.
Can someone tell me what should I do?
Best regards
/etc/sysctl.conf:
# Controls IP packet forwarding
net.ipv4.ip_forward = 0
This is my /etc/sysctl.conf
# Kernel sysctl configuration file for Red Hat Linux
#
# For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and
# sysctl.conf(5) for more details.
# Controls IP packet forwarding
net.ipv4.ip_forward = 0
Should be:
net.ipv4.ip_forward = 1
--
Bob Marcan, Consultant mailto:bob.marcan@xxxxxx
S&T Hermes Plus d.d. tel: +386 (1) 5895-300
Leskoskova cesta 6 fax: +386 (1) 5895-202
1000 Ljubljana, Slovenia url: http://www.snt.si