LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 12-17-2002, 03:23 PM   #1
tonny
LQ Newbie
 
Registered: Dec 2002
Location: Chula vista, CA
Distribution: SuSE 8.1
Posts: 1

Rep: Reputation: 0
Unhappy ping/reach problem


Hello.

I am trying to set up a server as a dual homed router/firewall.

When I have all eth interfaces configured and routing tables
in place, I can get from an internal host (host A below)
to as far as the eth0 interface of the SuSE server, I can't ping anything further than that. From the SuSE server I CAN see the DSL router and access the internet but it is blocking traffic from the internal network.

Would there be a special setting I need to set/unset to make the server work as a router?
Am I just not configuring the routing tables correctly?

I am planning on running a SOCKS5 firewall on this server or possibly the TIS firewall kit.

The network set up is as follows:

DSL ROUTER:
dslip internet address: 65.168.184.xxx
internal eth address: 192.168.11.235


SuSe SERVER (MORIA):
eth0 to the DSL router: 192.168.11.230
eth1 to internal network: 192.168.10.230
eth2 to internal network (ifconfig'd bur not in use): 192.168.10.230


HOST A:
192.168.10.65 on internal network 192.168.10.x


Routing tables being used:

SUSE SERVER (RUNNING LINUX 8.1):
moria:~ # route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.20.0 * 255.255.255.0 U 0 0 0 eth2
192.168.11.0 * 255.255.255.0 U 0 0 0 eth0
192.168.10.0 * 255.255.255.0 U 0 0 0 eth1
default 192.168.11.235 0.0.0.0 UG 0 0 0 eth0



HOST A (RUNNING SOLARIS 8):
galaxy% netstat -r

Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ------ ---------
192.168.10.0 galaxy U 1 78 dmfe0
224.0.0.0 galaxy U 1 0 dmfe0
default 192.168.10.230 UG 1 7
localhost localhost UH 2 6 lo0
galaxy%


Please help.
I have some meat on the grill and I need to flip it over soon or it's going to burn!!!


Antonio Trejo
IT Services.
International Data Collection
(619)628-2370
 
Old 12-17-2002, 05:53 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
This command will enable port fowarding.
echo "1" > /proc/sys/net/ipv4/ip_forward

In addition you might need to change your firewall rules using iptables.
 
  


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
Strange Ping Issue - Can't ping localhost but can ping others on LAN code_slinger Linux - Networking 15 03-30-2015 02:39 PM
New wireless on notebook: can ping my network but can't reach internet Mike Reith Linux - Wireless Networking 39 03-06-2005 10:51 AM
Can't reach network? squeak Linux - Networking 0 12-05-2003 02:39 AM
ping can't reach target Fabian030 Linux - Networking 3 08-20-2003 01:39 PM
Cannot reach localhost fend88 Linux From Scratch 1 05-13-2002 12:29 AM

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

All times are GMT -5. The time now is 08:33 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