LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   weird connections !! (https://www.linuxquestions.org/questions/linux-networking-3/weird-connections-213693/)

Michom 08-05-2004 05:08 AM

weird connections !!
 
hi, i m using suse 8,2 personal, and i connect to the internet threw my network card. my configuration is the following:
ip: 166.166.10.130
gateway: 166.166.10.1
DNS/nameserver: 166.166.10.1 and there's domain search that i put linux ( never used that in windows )
subnet mask: 255.255.255.0

konqueror and Amsn works with applying 166.166.10.1:8080 proxy...
but xchat can't connect:
Looking up irc.freenode.net..
--- Connecting to zelazny.freenode.net (140.211.166.3) port 6667..
--- Connection failed. Error: Network is unreachable

yesterday it worked somehow, i don't know....
any suggestions ? ( there are socks proxies, it works fine from windows )

NetAX 08-05-2004 12:56 PM

I dont know if this will solve your problem but I noticed in you post that you stated your subnet mask is 255.255.255.0. That default subnet mask is wrong for the IP address your using.

For every IP address there is a common or default subnet mask used.
3 Common class types:

IP Address
Class A: 1-127
Class B: 128-191
Class C: 192-255

Default Subnet Mask
Class A: 255.0.0.0
Class B: 255.255.0.0
Class C: 255.255.255.0



your IP address falls in the B class category because it starts with the network ID 166.166.x.x. Therefore its default subnet mask is 255.255.0.0.


Maybe this will solve your problem. Just making a clarification. You may have written the wrong subnet mask by accident in your post. :)

Demonbane 08-05-2004 02:03 PM

Have you set a proxy in X-Chat?

Michom 08-05-2004 04:43 PM

i tried to fix the subnet, same error....
and no, i don't have a proxy set in xchat... it worked yeserday, somehow, but after that it didn't....
plz help... i tried in windows, it works, and without proxy too

zaphodiv 08-06-2004 11:42 AM

>That default subnet mask is wrong for the IP address your using.

No it isn't. That ip is in a /9 block owned by Service Provider Corporation, 442 Route 202-206 North, Bedminster, NJ

SPC's network administrator can devide that block up into subnet in any way he likes.

>For every IP address there is a common or default subnet mask used.
No there is not.

>3 Common class types:
You are years out of date. Havn't you heard of CIDR?

Michom, what is the box at 166.166.10.1 ? If that box is forwarding packets to the internet then your application should work without a proxy setting. Maybe you ned to talk to your network administrator.

Michom 08-06-2004 03:28 PM

ok, i figured out the solution, but its not practical....
when i boot, i go to the dns and host name configuration, where i have 166.166.10.1 and in suse there's the domain search, i have it local... when i boot, i change that to linux, it works, when i reboot, it doesnt work, i have to change it to something else.... its weird for me, but there should be an answer somewhere....


All times are GMT -5. The time now is 06:15 PM.