LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-07-2008, 05:37 AM   #1
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
gateway proxy problem with slackware 12.0


Hello all,
i've configured a slackware 12.0 machine on my office network.
network has 192.168.1.x series for networking devices
192.168.2.x series of servers
192.168.4.x for some miscellenous devices.

I'm being able to ping the 1.x and 4.x series machines but not the servers. More over not being able to get the internet connection as well.
Its a dual boot machine with XP. XP is running fine, ping all the machines, accessing internet also.
same gateway, proxy, DNS has been assigned to slackware, as its to XP. Domain name is also same. I'm not being able to diagnose the problem.

#cat /etc/resolv.conf
domain domain.net
nameserver 192.168.1.42

#ifconfig
eth0
inet addr:192.168.203.204 Bcast:192.168.203.255...etc

#cat /etc/rc.d/rc.inet1.conf
for eth0
IPADDR[0]:"192.168.203.204"
NETMASK[0]:"255.255.255.0"
..
..
GATEWAY:"192.168.203.1"


I've assigned the same domain also as its for windows using "netconfig"...
where could be the problem ??? I don't have any firewall on slackware.
Any help would be appriciated.

edit:In browser i'm fetching the same Proxy and port as i'm doing for windows, but no internet.


regards

Last edited by b0nd; 02-07-2008 at 05:48 AM.
 
Old 02-07-2008, 07:19 AM   #2
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Original Poster
Rep: Reputation: 45
Ok, the issue is that "nameserver" as well as "Proxy server"(for browser) are part of 2.x series, i.e. servers.
since i'm not being able to reach the servers, hence not getting connection to internet through browser (b'coz proxy option has to be given to it).
I simply ping the IP of google, and it pinged.

So the main concerned now is to get to the 2.x series servers.
windows machines are part of the domain "something.net". Do i need to make my slack machine part of that ???
If yes, then how ? samba or something else ?

Any help/advice ?


regards
 
Old 02-07-2008, 12:24 PM   #3
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Original Poster
Rep: Reputation: 45
Ok, got the temporary solution for it.
Culprit is not my machine...but some router in the network.
id checked
#route -n
everything was fine in that but still my packets were not being routed to the server IP range.
So i simple added that n/w and subnet mask using the "route add" command and it started pinging the servers.
Proxy server for browsing, nameservers, all were part of that server IP range. So after adding route to that range explicitly i got access to internet.
later on i added that command to /etc/rc.d/rc.local, so that the new route gets added at every reboot.
[HTML]#route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.203.1[/HTML]

So to me it seems that issue is somewhere at the router.
Now my next step would be add some script line in /etc/rc.d/rc.inet1, otherwise whenever i'll do
#/etc/rc.d/rc.inet1 restart
it will wipe out my added route from the routing table. So i'll have to run /etc/rc.d/rc.local again to add that route to the routing table.

any suggestions ???


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
Gateway / DHCP Server problem on Slackware captain_bogus Linux - Networking 11 11-25-2008 01:28 PM
How to redirect http port 80 from slackware gateway to redhat proxy cmarasescu Linux - Networking 1 06-16-2006 09:26 PM
Install problem Slackware 10.2 and Gateway MX7527 tangle Slackware 1 03-06-2006 08:36 AM
OpenBSD and ftp proxy/gateway problem dunric *BSD 0 06-18-2005 04:42 PM
Proxy or Gateway xowl Linux - Networking 1 02-05-2005 09:44 AM

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

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