Hello,
I am running a Fedora 3 box connected directly to a pipe. Off of the box on a second network adapter, I have a small internal network running off of a switch (using the 192.168.10.x IP range).
Everything is working fine so far; I can ping back and forth between the server and the network clients, but the network clients can't access the internet outside of the server.
I've tried running this command to add a gateway:
"route add default gw 111.222.333.1 eth2"
where 111.222.333.1 is my external gateway, and eth2 is my second network adapter. When I try this, I get this message:
"SIOCADDRT: Network is unreachable"
Here is the abbreviated output of "route -n", with Destination, Gateway, Genmask, Flags, and Iface:
111.222.333.0 0.0.0.0 255.255.255.0 U eth1
0.0.0.0 111.222.333.1 0.0.0.0 UG eth1
Kernel packet forwarding is turned on with a line in /etc/sysctl.conf.
The server is able to access the internet with no problem.
Any assistance would be greatly appreciated -- I need to get this setup up and running ASAP. Thank you so much!
Jacob
I am running a Fedora 3 box connected directly to a pipe. Off of the box on a second network adapter, I have a small internal network running off of a switch (using the 192.168.10.x IP range).
Everything is working fine so far; I can ping back and forth between the server and the network clients, but the network clients can't access the internet outside of the server.
I've tried running this command to add a gateway:
"route add default gw 111.222.333.1 eth2"
where 111.222.333.1 is my external gateway, and eth2 is my second network adapter. When I try this, I get this message:
"SIOCADDRT: Network is unreachable"
Here is the abbreviated output of "route -n", with Destination, Gateway, Genmask, Flags, and Iface:
111.222.333.0 0.0.0.0 255.255.255.0 U eth1
0.0.0.0 111.222.333.1 0.0.0.0 UG eth1
Kernel packet forwarding is turned on with a line in /etc/sysctl.conf.
The server is able to access the internet with no problem.
Any assistance would be greatly appreciated -- I need to get this setup up and running ASAP. Thank you so much!
Jacob