LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 11-21-2008, 04:33 AM   #1
zahikel
LQ Newbie
 
Registered: Jul 2008
Location: Paris for few months
Distribution: Gentoo / Mandriva / Ubuntu
Posts: 9

Rep: Reputation: 0
Ubuntu 8.04 as gateway problem


Hi !
I'm trying to use a computer as a very simple gateway.
This is the topology of my network :

192.168.2.0/24 ------ GATEWAY ------ 192.168.1.0/24

I configured my gateway like this :

eth0 : 192.168.2.1
eth1 : 192.168.1.1

I can ping 192.168.1.0/24 from GATEWAY
I can ping 192.168.2.0/24 from GATEWAY

I set /proc/sys/net/ipv4/ip_forward at 1.

Problem :
I can't ping 192.168.2.0 network from 192.168.1.0 network
All 192.168.1.0 computers send data to the GATEWAY but does not forward packets.

Why ?
My configuration ?
Ubuntu 8.04 server ?
Other ideas ?

Thank you
 
Old 11-21-2008, 09:02 PM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Could be firewall, could be routes could be something else.

Can you post

sudo iptables -L FORWARD

and

sudo route

?
 
  


Reply



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
Making gateway in Ubuntu 01pratap01 Linux - Newbie 1 10-01-2008 07:02 PM
Ubuntu 7.04 Gateway Problem Last Attacker Linux - Networking 3 01-05-2008 02:41 AM
Ubuntu with Gateway ML3109 laptop real_lomo Linux - Newbie 2 10-02-2007 02:55 PM
ubuntu on gateway mt 3705???? shredi Linux - Laptop and Netbook 3 09-15-2007 05:12 PM
Odd problem: Gateway unreachable after certain amount of time (Win XP Gateway) SocialEngineer Linux - Networking 2 08-13-2004 12:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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

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