LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-28-2007, 03:13 PM   #1
sahand_rezayi
LQ Newbie
 
Registered: Jan 2007
Posts: 1

Rep: Reputation: 0
ip forwarding problem


hello i have an a problem with my red hat box.
i had installed redhat 8.0 with 2.4.25 kernel on my computer.
network configuration:

eth0: 205.177.179.2 netmask 255.255.255.240 broadcast 205.177.179.15

eth1:205.177.179.65 netmask 255.255.255.192 broadcast 205.177.179.127

DEFAULT GATEWAY=205.177.179.1
DNS SERVER=127.0.0.1

ip forwarding is enabled in sysctl.conf and the result in /proc/sys/net/ipv4/ip_forward shows that.

the client on my network like 205.177.179.66 cannot ping internet with 205.177.179.65 gateway.
whats the problem?
 
Old 01-28-2007, 03:39 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
do you have a functional return route back to those client addresses? the normal thing would be to do ip masquarading, but as you're using internet ip's already, which i assume you paid for or something, you shouldn't need it. but you'll only not need it if there are valid return routes back to it. you can eliminate the ip_forward part of the equation for simpicity and try pinging from the linux router with the internal interface address, e.g. ping -I eth1. if that works then the rest of the routing is fine, and maybe you have a firewall issue on the box? also when pinging, run tcpdump on eth0 to see that the icmp packets are actually leaving your linux router, that's a great point of demarcation to get over.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ip forwarding problem davhak Fedora 12 11-25-2006 02:52 PM
Problem with IP forwarding luckythedonkey Linux - Networking 7 06-22-2006 12:32 AM
Simple Port Forwarding Firewall - not forwarding MadTurki Linux - Security 14 04-09-2006 12:08 PM
Yet another IP Forwarding Problem Louie55 Linux - Networking 4 02-20-2004 11:15 AM
port forwarding problem roueleader Linux - Newbie 9 06-11-2002 04:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration