Date: Sun, 4 Apr 1999 22:59:06 -0700 From: Steve Carter <scarter@globalcenter.net> To: Wai Chan <wai@aloha.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: IP address Message-ID: <19990404225906.A13490@globalcenter.net> In-Reply-To: <3708237D.607D5B80@aloha.net>; from Wai Chan on Sun, Apr 04, 1999 at 04:44:13PM -1000 References: <3708237D.607D5B80@aloha.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Wai Chan wrote: > The problem seems not from FreeBSD or directly related to FreeBSD, but > please give me some advice. > > I am trying to have the following configuration: > > |-------| > | Win9x | > |---| #2 | > |---------| | |-------| > | FreeBSD |-----+ > | #1 | | > |---------| | |-------| > |---| Win9x | > | #3 | > |-------| > > FreeBSD #1 (3.1) has IP address 192.168.1.1 with subnet mask > 255.255.255.0 > Win9x #2 has 5 computers with IP address 192.168.1.2 to 6 (subnet mask > 255.255.255.0) > Win9x #3 has 2 computer with IP address 192.168.2.1 to 2 (subnet mask > 255.255.255.0) > > #1, #2 are okay, but #3 couldn't connect to the network. It could > connect to the network when I change the IP address from 192.168.2.x to > 192.168.1.x. In other words, it's IP is incorrect. But, I don't know > why it is incorrect. I would appreciate it if someone could help me > solve the problem and tell me the reason. You are right, that the IP's are incorrect for the #3 computers. They are in a different IP network, as defined by the subnet mask, than the FreeBSD box and the #2 computers. To rectify this you can do one of three things: 1. Renumber the #3 computers to be within the 192.168.1-192.168.254 address range, and therefore in the same IP network as the rest. 2. Change the subnet mask you use to be 255.255.252.0 which will make the 192.168.1.0 and 192.168.2.0 in the same networks (as also will 192.168.0.0 and 192.168.3.0). 3. Insert a router in your network between the #1/#2 computers and #3 computers. I recommend you read some documentation about TCP/IP and IP addressing. -Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990404225906.A13490>