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 - 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 03-19-2004, 01:20 PM   #1
esanchez
Member
 
Registered: Mar 2004
Location: SJ, Costa Rica
Distribution: Slackware
Posts: 34

Rep: Reputation: 15
linux slackware client can't go throug redhat server with iptables


Hi everybody...
I have a Slackware client(kernel 2.6.3), and it can go through and iptables server and browse the internet nor make other tcp connection.
The curious thing is that machines that have windows as OS can go through without a problem.
this is the routing table of the linux client:
Destination Gateway Genmask Flags MSS Window irtt Iface
10.0.0.0 0.0.0.0 255.255.0.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.0.0.43 0.0.0.0 UG 0 0 0 eth0

this is the routing table of the windows client:
Rutas activas:M
Network Mask gateway Interface Metric
0.0.0.0 0.0.0.0 10.0.0.43 10.0.1.111 20M
10.10.0.1 255.255.255.255 216.25.161.209 10.0.1.111 1M
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1M
10.0.0.0 255.255.0.0 10.0.1.111 10.0.1.111 20M
10.0.1.111 255.255.255.255 127.0.0.1 127.0.0.1 20M
10.0.0.255 255.255.255.255 10.0.1.111 10.0.1.111 20M
224.0.0.0 240.0.0.0 10.0.1.111 10.0.1.111 20M
255.255.255.255 255.255.255.255 10.0.1.111 10.0.1.111 1M
Puerta de enlace predeterminada: 10.0.0.43

Another curious thing is that sometimes, the linux client starts to work, but as soon I reboot it can not go through the iptables again.
any advice with this?
the /proc/sys/ip_conntrack says something about SYN_SENT and UNREPLIED....
thanks in advance.
regards,
-eduardo s.m.
 
Old 03-20-2004, 08:12 AM   #2
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
your routing table seems ok. what is the nameserver for your linux client? type
"ping yahoo.com". can it find the ip of yahoo.com?
 
Old 03-22-2004, 08:09 AM   #3
esanchez
Member
 
Registered: Mar 2004
Location: SJ, Costa Rica
Distribution: Slackware
Posts: 34

Original Poster
Rep: Reputation: 15
Well, I just can't ping any site 'cause my ISP had blocked the icmp ports.
I have 2 DNS, both from my ISP.
regards,
-eduardo s.m.
 
Old 03-22-2004, 08:22 AM   #4
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
actually i didnt mean could u ping yahoo.com i asked this if your client can get the answers from nameserver. u have compiled costum kernel (2.6.3) right? check your kernel network configuration. u can try to ping local computers.
 
Old 03-22-2004, 08:48 AM   #5
esanchez
Member
 
Registered: Mar 2004
Location: SJ, Costa Rica
Distribution: Slackware
Posts: 34

Original Poster
Rep: Reputation: 15
Yes, I can get the ip of yahoo using nslookup, also when I ping yahoo I get the ipaddress(despite I can't reach it).
and yes, I compiled a custom kernel(2.6.3), seems I have a rigth kernel network configuration I can ping and access everything normal in my local network...
Also, I have a redhat client who can't either go through the iptables, just windows clients....
As I told before, one weird think is the fact that several hours/days after I start-up my slackware client it begins to work, but as soon I reboot the machine all becomes screwed again...
any other hint would be appreciated..
regards,
-eduardo s.m.
 
Old 03-22-2004, 10:39 AM   #6
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
have u tried slack standart kernel? i have two redhat 8.0 clients with costum kernels (2.6.4). my server (transparent proxy) is redhat 8.0 with standart kernel. other clients r win98, 2k and xp. i dont have any trouble like this...

check windowz (2k xp) clients if there r viruses. a friend of me had a trouble like that. all network seems ok. but sometimes noone of clients cant reach the internet. there was a virus. i cant remember the name of virus. maybe it was a variant of blast.
 
Old 03-22-2004, 11:00 AM   #7
esanchez
Member
 
Registered: Mar 2004
Location: SJ, Costa Rica
Distribution: Slackware
Posts: 34

Original Poster
Rep: Reputation: 15
Maxut:
Yes, I already tried "standard" kernel both in slackware & redhat; in fact, that's why I was trying a custom kernel, because of this problem, I thougth maybe it was a kernel bug, but the custom kernel didn't fix this problem at all.

The Windows clients don't have any problem to go through iptables, they're pretty stable.
My post about the "weird" behaivor(client suddenly can't go through the iptables) is for the slackware client.

I think that the problem is in the network configuration of the slackware client, I don't understand why my win clients can access the internet but no my linux clients.

Everything seems to be ok, but how can you explain that suddenly after several hours the linux client suddenly can access the internet ?? :/ that's very frustating. ...

well, if you or someone else have any other clue or thing I can try I appreciate it...
thanks in advance..
regards,
 
  


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
how to connect redhat linux as client to the novell server? halovivek Linux - Networking 3 08-17-2003 12:12 PM
Need help: Win2K Server / RedHat Linux 9 Client loipt Linux - Networking 3 07-14-2003 12:34 PM
Need help: Win2K Server / RedHat Linux 9 Client loipt Linux - Networking 1 07-14-2003 05:29 AM
Need help: Win2K Server / RedHat Linux 9 Client loipt Linux - Networking 0 07-11-2003 08:14 PM
client Linux Redhat 8.0 cannot use Windows 2000 Printer Server tthai01 Linux - Networking 0 12-10-2002 03:49 AM

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

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