LinuxQuestions.org
Help answer threads with 0 replies.
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 11-08-2002, 12:53 PM   #1
rioguia
Member
 
Registered: Jun 2002
Posts: 411

Rep: Reputation: 30
IP table/smoothwall firewall


doubtless I have made a really stupid mistake here but I can't find it (my guess is that this will take Peter_Robb about six seconds to figure out).

My home office network has a router/firewall with three NICs (eth0=local network, eth1=apache, eth2=dsl). My router/firewall can ping the NICs on my work station and apache server but they can't ping the router back. My work station and apache server can ping each other. The apache server will serve pages to the work station. My webserver will serve pages from outside the network but browsers on the work station and apache server cannot browse the net. My IP table is below (what am I doing wrong)?


Router Table
dest gate genmask flags metric ref use interfac
10.xxx.10.0 **** 255.255.255.0 U 0 0 eth1 (apache server)
xx.92.149.0 **** 255.255.255.0 U 0 0 eth2 (in from internet)
10.xxx.1.0 **** 255.255.255.0 U 0 0 eth0 (local lan)
default dslxxxx-149-001. 0.0.0.0 UG 0 0 eth2 (out to internet

Last edited by rioguia; 11-08-2002 at 12:58 PM.
 
Old 11-08-2002, 03:13 PM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Not quite enuf info yet...
& thanx for the challenge ( I think)

That route table is for the firewall.
You mention smoothwall. Which version is it?

The workstations need their gateway setting to be the eth0 ip number.
Is there a working proxy in the system?
What dns servers are set in the workstations?

That's an awfully large netmask for your adsl interface...

Last edited by peter_robb; 11-08-2002 at 03:15 PM.
 
Old 11-09-2002, 06:25 AM   #3
rioguia
Member
 
Registered: Jun 2002
Posts: 411

Original Poster
Rep: Reputation: 30
Peter: thanks as always for your help. your questions pointed out two problems on my work station (it dual boots as window$ and linux). I had messed up the /etc/resolv.conf somehow. I must have done it when I was trying to configure a temporary dial up connection while switching dsl providers.

smoothwall version, etc.
--2.0 (beta patch 1 not installed yet)
--dns proxy server is running

gateways
[root@server root# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:50:04:22:41:1D
inet addr:10.xxx.10.2 Bcast:10.xxx.10.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:79439 errors:0 dropped:0 overruns:0 frame:0
TX packets:27214 errors:0 dropped:0 overruns:0 carrier:846
collisions:795 txqueuelen:100
RX bytes:29899343 (28.5 Mb) TX bytes:14555648 (13.8 Mb)
Interrupt:11 Base address:0xfc00

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:715 errors:0 dropped:0 overruns:0 frame:0
TX packets:715 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:218516 (213.3 Kb) TX bytes:218516 (213.3 Kb)

[root@server root]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.xxx.10.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 10.xxx.10.1 0.0.0.0 UG 0 0 0 eth0
[root@server root]#

****************************************************
the dns server for the server

/etc/resolv.conf
nameserver: 10.xxx.1.1
****************************************************
large netmask

i saw that too. when i do route -n (instead of just route without an argument) it resolves to:
64.xxx.149.1

Last edited by rioguia; 11-09-2002 at 06:55 AM.
 
  


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
why can i use the net under Win but not with FC4 using a smoothwall firewall? Weedman Linux - Security 11 10-22-2005 07:18 AM
Replacing checkpoint firewall, arp table itsjustme Linux - Security 1 12-30-2004 01:10 PM
MySQL non-realtime table-by-table mirroring Passive Linux - Software 1 01-20-2004 12:11 PM
How to import MS ACCESS Table including OLE filed into the MySQL Table ? myunicom Linux - General 1 11-28-2003 11:30 AM
IP table for home office dsl /smoothwall firewall/ apache server/ two pc network rioguia Linux - Networking 4 10-06-2002 05:28 PM

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

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