From owner-freebsd-questions Tue Apr 6 8:10:21 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 C485014D7F for ; Tue, 6 Apr 1999 08:10:17 -0700 (PDT) (envelope-from ChrisMic@clientlogic.com) Received: by site0s1 with Internet Mail Service (5.5.2448.0) id <2J8LTTHD>; Tue, 6 Apr 1999 11:09:03 -0400 Message-ID: <6C37EE640B78D2118D2F00A0C90FCB441A5FFE@site2s1> From: Christopher Michaels To: Rick Knebel Cc: questions@FreeBSD.ORG Subject: RE: home network Date: Tue, 6 Apr 1999 11:09:23 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Why would you need routing information if they are on the same subnet? (unless I'm missing something, which I probably am.) I think you need to provide some more information 1st. Can the FreeBSD machine ping it's own IP? Can the MAC ping it's own IP? Can the FreeBSD and MAC ping each other? Does the ppp work on the BSD machine? Can you access the internet? Is the FreeBSD machine set as the Gateway on the MAC? Are you using ppp -alias? -Chris > -----Original Message----- > From: andyo@prime.net.ua [SMTP:andyo@prime.net.ua] > Sent: Monday, April 05, 1999 4:09 PM > To: Rick Knebel > Cc: questions@FreeBSD.ORG > Subject: Re: home network >=20 > Rick Knebel wrote: >=20 > > Hi, > > > > I am trying to hook my freebsd 3.1 box up to my MAC computer and > > use the freebsd box as a gateway and workstation. > > > > I have installed an ethernet card in each and hooked them up with a > > hub. > > > > I thought I followed all hte directions in the ppp man pages and > tutorials > > but I cannot get my mac to connect. > > > > I will include some of my data next > > > > /etc/hosts > > > > 127.0.0.1 localhost.uplink.net localhost > > 209.173.88.243 rknebel.uplink.net rknebel > > 192.168.1.1 free.uplink.net free > > 192.168.1.2 mac.uplink.net mac > > > > /etc/rc.conf > > > > # This file now contains just the overrides from = /etc/defaults/rc.conf > > # please make all changes to this file. > > > > # -- sysinstall generated deltas -- # > > ifconfig_vr0=3D"inet 192.168.1.1 netmask 255.255.255.0" > > ifconfig_lo0=3D"inet 127.0.0.1" > > moused_type=3D"intellimouse" > > moused_enable=3D"YES" > > gateway_enable=3D"YES" > > defaultrouter=3D"NO" > > network_interfaces=3D"lo0 vr0" > > hostname=3D"rknebel.uplink.net" > > lpd_enable=3D"YES" # Run the line printer daemon > > > > ifconfig -a > > > > vr0: flags=3D8843 mtu 1500 > > inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 > > ether 00:80:c8:e8:e6:aa > > media: 10baseT/UTP > > supported media: autoselect 100baseTX = 100baseTX > 100baseTX 10baseT/UTP 10baseT/UTP = 10baseT/UTP > > > lp0: flags=3D8810 mtu 1500 > > tun0: flags=3D8051 mtu 1500 > > inet 209.173.88.243 --> 209.173.88.252 netmask 0xffffff00 > > sl0: flags=3Dc010 mtu 552 > > ppp0: flags=3D8010 mtu 1500 > > lo0: flags=3D8049 mtu 16384 > > inet 127.0.0.1 netmask 0xff000000 > > > > netstats -r > > > > Internet: > > Destination Gateway Flags Refs Use = Netif > Expire > > default pm3bl1 UGSc 13 4 = tun0 > > localhost localhost UH 0 164 = lo0 > > 192.168.1 link#1 UC 0 0 = vr0 > > pm3bl1 rknebel UH 14 0 = tun0 >=20 > IMHO Looks wrong that U dont have route entry for ur NIC > what the reason of it - hard to say > Also it will be good to have: > route add rknebel localhost > as much as > route add free localhost >=20 > > > > > > vr0 is my ethernet card. > > > > I am using tcp/ip in mac to try and connect. > > > > Anything look wrong?? > > > > thanks > > Rick >=20 > -- > Andy V. Oleynik > (When U aim for perfection, > U discover it's a moving target =F680) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message