LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 11-18-2002, 02:19 AM   #1
lelrod
LQ Newbie
 
Registered: Oct 2002
Location: Peoria, IL, US
Distribution: Redhat EL 3 AS, Gentoo 2004.3
Posts: 6

Rep: Reputation: 0
Unhappy Network Nightmare... need some advice.


I have a Linux server setup with Redhat 7.3. The system has 2 network cards. The network is a Class C Private Subnetted in half. the 192.168.1.0 sub is assigned to eth0 and the 192.168.1.128 subnet is assigned to eth1. I have 3 computers connected to a switch with the linux server running samba. All of the machines work fine except 1. System boots up works for a while (could be 5 mins or 1 weeks) then I loose internet connectivitiy. I am not using a proxied connection; I am using the caching name server on the linux machine but I completely loose connectivity with the server. I can ping the other machines and the router on the 192.168.1.0 subnet but I am not able to ping the server. I am also running VMware GSX server with a windows 2000 server on the linux server for remote access. I am able to ping that IP. But not the IP of the server with linux installed. I am ready to pull my hair out. I am not sure if this is maybe a bug with SAMBA or I have a NIC going bad or what.... Has anyone seen or heard about a problem like this? Any help or advice would be appreciated.

TIA
Louis
 
Old 11-18-2002, 08:32 AM   #2
ICEBlur
LQ Newbie
 
Registered: Nov 2002
Posts: 1

Rep: Reputation: 0
Do you mean your subnet mask is 255.255.255.128? Unfortunately, that subnet mask only creates two subnets. As a general rule of thumb, you cannot normally use the first and last subnets. Since your subnet mask is 255.255.255.128, this only creates two subnets, which both are not useable.

I would recommend using this subnet mask: 255.255.255.192

This will make two useable subnets having 64 hosts per subnet.

Subnet 1 (Unuseable): 192.168.1.0 - 192.168.1.63
Subnet 2 (Usable) : 192.168.1.64 - 192.168.1.127
Subnet 3 (Usable) : 192.168.1.128 - 192.168.1.191
Subnet 4 (Unuseable): 192.168.1.192 - 192.168.1.255

I hope this helps you out!

Last edited by ICEBlur; 11-18-2002 at 08:35 AM.
 
Old 11-18-2002, 08:45 PM   #3
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Umm, I think that you (ICEBlur) mean that the first and last IP in each subnet should not be assigned to a machine. A 255.255.255.128 subnet is perfectly valid and very usable.

I'd be curious to know what IP addresses are assigned to eth0 and eth0 on the Linux system. You might also want to check the IP config (especially netmask) on the system that is not working.
 
  


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
Advice for network printer setups tkrin Linux - Networking 0 09-02-2004 06:17 AM
network advice telemonian_aias Linux - Networking 3 07-07-2004 05:38 AM
Network Setup Advice jayptr Linux - Networking 3 03-16-2004 11:21 AM
Advice on ADSL network oneandoneis2 Linux - Networking 2 01-28-2004 02:26 AM
Network nightmare cavy Linux - Networking 8 03-27-2003 08:35 AM

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

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