Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-04-2001, 05:04 PM
|
#1
|
LQ Newbie
Registered: Feb 2001
Posts: 6
Rep:
|
I've just installed Clarkconnect, and plugged in my cable modem. I've also installed BPALogin which is required for my ISP (Telstra BigPond Advanced).
I'm getting various messages - "no route to host", "network is unreachable", "ping check failed", "100% packet loss"
My routing table looks OK, the last line has the default gateway specified as the Telstra gateway, the Metric is 1 and it is bound to the correct interface card (I have 2 NICs).
However, a PING will result in
10.12.1.0 (or something like that) Packet filtered
10.12.1.0 Packet Filtered
10.12.1.0 Packet Filtered
etc.
A CTRL-C will reveal 100% packet loss.
The DNS is working because if I ping ftp.cdrom.com it replies:
Ping wcuarchive.cdrom.com(204.43.23.2)
(I can't remember the exact IP), so it is resolving the name OK.
If I try to FTP I get
ftp: connect : no route to host.
There's nothing in any of the logs I can see which help.
My /etc/resolv.conf has my nameserver and IP address in it.
How can I find out where it's going wrong? /var/log/messages and netwatchd only tell me "ping failed" or "network is unreachable", which I already know.
TIA
|
|
|
04-04-2001, 05:08 PM
|
#2
|
LQ Newbie
Registered: Feb 2001
Posts: 6
Original Poster
Rep:
|
PS
Oh yeah, the firewall is set up to allow http,ftp pop3 and a couple of others on the correct ports.
I also couldn't discover the ipchains command to allow all, which I wanted to test to see if it was the firewall causing the problem. I did an ipchains -F and it set the default as REJECT.
If anyone can post the syntax to "allow all" it would save me having to look  .
Thanks.
|
|
|
04-06-2001, 09:42 AM
|
#3
|
Member
Registered: Apr 2001
Location: London
Posts: 408
Rep:
|
enzoweb,
Don't block all ICMP messages, they are needed by the network for working out fragmentation sizes etc etc.
Only block icmp types, 5,8,9,10,13,17
accept icmp types, 0,3,4,12,15,18,14
To test if your ipchains is the problem try this:
ipchains -F
# Hello world come and hack me its a free for all.
ipchains -P input ACCEPT
ipchains -P output ACCEPT
ipchains -P forward ACCEPT
# firewall rules
# sets timeout vaules for FIN flags etc..
ipchains -M -S 7200 10 60
# NAT setting for MASQing
ipchains -A forward -s your_subnet_range/0 -j MASQ
# example ipchains -A forward -s 10.40.50.0/0 -j MASQ
/Raz
|
|
|
All times are GMT -5. The time now is 11:21 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|