From owner-freebsd-questions Wed Apr 7 7:53:50 1999 Delivered-To: freebsd-questions@freebsd.org Received: from ns.clientlogic.com (ns.clientlogic.com [207.51.66.75]) by hub.freebsd.org (Postfix) with ESMTP id DA4F01571F for ; Wed, 7 Apr 1999 07:53:46 -0700 (PDT) (envelope-from ChrisMic@clientlogic.com) Received: by site0s1 with Internet Mail Service (5.5.2448.0) id <2N11MQG3>; Wed, 7 Apr 1999 10:52:29 -0400 Message-ID: <6C37EE640B78D2118D2F00A0C90FCB441A6014@site2s1> From: Christopher Michaels To: 'Dan Busarow' Cc: freebsd-questions@FreeBSD.ORG Subject: RE: IP address Date: Wed, 7 Apr 1999 10:52:43 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG True.. but it doesn't answer my question unfortunately. :^) > -----Original Message----- > From: Dan Busarow [SMTP:dan@dpcsys.com] > Sent: Tuesday, April 06, 1999 6:12 PM > To: 'Steve Carter' > Cc: Christopher Michaels; Wai Chan; freebsd-questions@FreeBSD.ORG > Subject: Re: IP address > > On Tue, 6 Apr 1999, 'Steve Carter' wrote: > > I know the FreeBSD box can perform the routing function when it has two > > network cards, but I don't know if it can performing routiong > > functionality over a single card with an alias.... > > It's a heck of a lot easier to use the correct netmask (#2 solution below) > > Dan > > > > -Steve > > > > Christopher Michaels wrote: > > > Forgive my ignorance, but can't the FreeBSD machine act as the router, > or is > > > that only when there are 2 interfaces on the FreeBSD machine? If that > is > > > the case, can you work around this by adding an alias to the nic on > the > > > other subnet and possibly adding the appropriate route? > > > > > > Just my 2 cents > > > -Chris > > > > -----Original Message----- > > > > From: Steve Carter [SMTP:scarter@globalcenter.net] > > > > Sent: Monday, April 05, 1999 1:59 AM > > > > To: Wai Chan > > > > Cc: freebsd-questions@FreeBSD.ORG > > > > Subject: Re: IP address > > > > > > > > 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 > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-questions" in the body of the message > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > > -- > Dan Busarow 949 443 4172 > Dana Point Communications, Inc. dan@dpcsys.com > Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82 > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message