-----Original Message-----
From: Sanjiv Bawa <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Thursday, April 22, 1999 12:36 PM
Subject: IP Woes

I have been trying to get diald and ipfwadm to work.
 
Originally, when I setup my network I used the IP addresses 1.1.1.1 and 1.1.1.20 etc (Bad !!) . They worked, but before trying to get the fowarding to work I figured I would use more kosher Class C addresses such as 192.168.x.x
 
So, I changed the addresses on the Linux and the Windows machines. The problem is that they no longer see each other.
 
I did an ifconfig and the Linux machine and I see:
eth0    ....
          inet addr: 192.168.1.1    Bcast 1.1.1.255       Mask 255.255.255.0
 
I have no idea what Bcast is but I would think it is the source of the problem. How can I change that parameter ? I am using Red Hat 5.1
 
I know, this is not the right group but you guys seem to be IP gurus....
 
Thanks very much.
 
 
    Not sure if this will help or not but, if you want to connect other computers to your linux box so they can access the Internet then you should be running a Sub-net. A class C sub-net with 4, 8, 16, 32 ect.. ip numbers where the first number of your last part of the dotted quad must be a multiple of the total number of IP addresses. Your first IP number wouild be used as your address for your linux box and also as the gateway for your other computers and, the last number would be your broadcast number. As an example if you want 8 IP addresses then your first number would be 123.123.123.152 where 152 is divisible by 8 and your broadcast address would be 123.123.123.159. Your netmask in this example would be 123.123.123.148 and this netmask and gateway (123.123.123.152) must be on your other computers in order to access the internet. In order to connect your linux box to the internet you would want to use a different IP address outside of your sub-net. Most ISP will provide you with type of service and should be able to answer any other question you may have as far as netmask, gateway and broadcast issues.
 
Hope this helps,
Tom

Reply via email to