LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-18-2004, 05:36 PM   #1
hamish
Member
 
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Rep: Reputation: 30
Can't ping - iptable problem (possibly ICMP or OUTPUT)


Hey

I'm trying to set up a network in my flat. My flatmate has already set up the computer which talks to the Internet. I am setting up a second server which will allow my other pc to access the internet via my computer and then via the internet

Here is a diagram

Internet
|
gateway (172.24.15.225/255.255.255.240)
|
My PC (172.24.15.228/255.255.255.240 and 10.0.0.1/255.255.255.0)
|
2nd PC (10.0.0.2/255.255.255.0)

Ok, I have loaded the iptables modules loaded, IP forwarding is set on and have used the base of an iptable script from the Red Hat Bible.

At one point, I managed to get all computers on the network pinging My PC, but I could not ping any of them. Now I can do neither.

I believe that it is a problem, either with the OUTPUT lines or with ICMP, however, I don' tknow enough about it and I have seached the Internet all night for help.

Could someone please explain to me how to set up my iptables so that all computers can talk to each other?

I have upload my iptables script here: http://www.icue.co.uk/myfirewall.txt (soorry it is such a mess, it has been a very long night!)

Thanks in advance for all your help.

kind regards
Hamish
 
Old 04-18-2004, 08:01 PM   #2
RHELL
Member
 
Registered: Feb 2004
Location: Outermost mingetty
Distribution: RHEL3,RH4U4,Sol9, Sol10
Posts: 321

Rep: Reputation: 31
You have two public class B ip addresses on your private network?
 
Old 04-21-2004, 02:08 PM   #3
hamish
Member
 
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Original Poster
Rep: Reputation: 30
Are you suggesting changing the netmask or the IPs?

When the IPs are in the same area as the rest of the network, ie 172.24.15.2*, the network doesn't work. I changed the netmask to make it the same as the rest of the network, but that didn't work either.

Hamish
 
Old 04-21-2004, 08:30 PM   #4
RHELL
Member
 
Registered: Feb 2004
Location: Outermost mingetty
Distribution: RHEL3,RH4U4,Sol9, Sol10
Posts: 321

Rep: Reputation: 31
Well, neither actually, I had a recto-cranial inversion, those ARE private Class B addresses.
Let me ponder before I misinform again.
 
  


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
msec and ICMP ping problem rjcrews Linux - Security 4 12-06-2005 06:59 AM
Fedora Core 3, GRC port scan says ports arestealthed but responds to icmp ping IraB Linux - Security 7 12-09-2004 11:18 PM
What is ICMP Ping Cyber kit 2.2 windows fotoguy Linux - Security 6 12-27-2003 06:30 PM
Basic networking IPTable Do I have to?? I canīt ping my machines jimdaworm Linux - Networking 18 11-29-2003 11:10 PM
Midi not working, possibly output device problem Druaga Linux - General 1 11-25-2003 02:52 PM

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

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