Linux - NetworkingThis 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.
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.
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/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.
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 ?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.