Date: Thu, 15 Apr 1999 03:25:10 -0700 From: "Brian O'Shea" <boshea@ricochet.net> To: Ciskid@aol.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Point-to-Point network question Message-ID: <19990415032510.X2844@localdomain> In-Reply-To: <6ccf12f1.2446b7b6@aol.com>; from Ciskid@aol.com on Wed, Apr 14, 1999 at 11:32:06PM -0400 References: <6ccf12f1.2446b7b6@aol.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 14, 1999 at 11:32:06PM -0400, Ciskid@aol.com wrote: > > > I setup a point to point network with FreeBSD 2.2.7 and win98. I'm using > win98 as a proxy to the i-net. I setup BSD like this > ifconfig ed1 192.168.0.2 > ifconfig tu0 192.168.0.2 192.168.0.1 netmask 255.255.255.255 > ifconfig lo0 127.0.0.1 > > The ip 192.168.0.1 is the IP of my NIC card on my windows box. When I go to What is the netmask of the Windows box's internal interface (the one that is configured with the address 192.168.0.1)? Make sure that it is the same as the netmask that you use on the FreeBSD box's interface. Just out of curiosity, why are you using a netmask of 255.255.255.255 ? The RFC 1918 private class C network address 192.168.0.0 has a netmask of 255.255.255.0 (by virtue of being a class C net). On a truly private network (i.e. not connected to the Internet), it doesn't matter what network address you use, but if you are going to be connected to the net and you use the RFC 1918 private network addresses, you should use the proper netmask. If for some reason you need more IP addresses, use the 10.0.0.0 network (private class A, nentmask 255.0.0.0). This will give you 16 million host addresses. What is the tu0 device? I can't find any documentation on this driver so I am assuming that you mean the tun0 device. This is not needed on the FreeBSD box in the configuration that you have described. You will however have to set your default route to be the address of the Windows box. To do this, you will need to look up the man page on route(8). The command you use should look something like: # route add -net default 192.168.0.1 > ping the windows box from the bsd box i get an erro host down. It will ping > localhost aswell as its hostname fine, the windows box also has no problem > pinging it self. I bought my cable from radio shack and the guy said it will > work on my type of network. Is there anything i'm doing wrong in my > configuration? Thanks > -- Brian O'Shea boshea@ricochet.net 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?19990415032510.X2844>