Fedora core 6 routing issue - Networking
This is a discussion on Fedora core 6 routing issue - Networking ; Hi.
I can't quite figure this one out. We have a dell server with two
interfaces. One sits on a public IP and the second on a private one.
Routing is enabled and the machine can see the outside world
...
-
Fedora core 6 routing issue
Hi.
I can't quite figure this one out. We have a dell server with two
interfaces. One sits on a public IP and the second on a private one.
Routing is enabled and the machine can see the outside world
correctly.
What I can't figure out is why machines in the private network, using
the dell as a gw can't see the outside world. I believe that eth1 and
eth0 are not forwarding packets correctly but this is not something I
have seen before.
Any hints, tips or corrections will be appreciated.
Details:
[root@v ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:1A:A0:14:E8:2B
inet addr:195.220.41.122 Bcast:195.220.41.127 Mask:
255.255.255.248
inet6 addr: fe80::21a:a0ff:fe14:e82b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
eth1 Link encap:Ethernet HWaddr 00:1A:A0:14:E8:2D
inet addr:10.0.0.10 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::21a:a0ff:fe14:e82d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
[root@v ~]# cat /proc/sys/net/ipv4/ip_forward
1
[root@v ~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref
Use Iface
195.220.41.120 * 255.255.255.248 U 0 0
0 eth0
10.0.0.0 * 255.255.255.0 U 0 0
0 eth1
default 195.220.41.121 0.0.0.0 UG 0 0
0 eth0
Thanks in advance.
Alex
-
Re: Fedora core 6 routing issue
On Jul 9, 1:34 am, MrCAo wrote:
> What I can't figure out is why machines in the private network, using
> the dell as a gw can't see the outside world. I believe that eth1 and
> eth0 are not forwarding packets correctly but this is not something I
> have seen before.
It's obvious what the problem is. How do the machines in the outside
world know to send the reply packets to your dell server? Did you mean
to configure NAT or something?
DS
-
Re: Fedora core 6 routing issue
On 9 Jul, 10:52, David Schwartz wrote:
> On Jul 9, 1:34 am, MrCAo wrote:
>
> > What I can't figure out is why machines in the private network, using
> > the dell as a gw can't see the outside world. I believe that eth1 and
> > eth0 are not forwarding packets correctly but this is not something I
> > have seen before.
>
> It's obvious what the problem is. How do the machines in the outside
> world know to send the reply packets to your dell server? Did you mean
> to configure NAT or something?
>
> DS
Hi.
Thanks for the quick reply.
Yes, the router would need to NAT
Alex
-
Re: Fedora core 6 routing issue
Continuing from that previous statement, the missing assertion is
"obviously"
In case anyone stumps on the same issue:
http://www.revsys.com/writings/quicktips/nat.html
Alex