Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Dec 2001 10:35:24 -0500
From:      "AlCapone" <chicago30s@yahoo.com>
To:        "Annelise Anderson" <andrsn@andrsn.stanford.edu>
Cc:        "Scott Corey" <scott@bsdprophet.org>, <freebsd-newbies@FreeBSD.ORG>
Subject:   Re: adding freebsd box to home lan
Message-ID:  <003601c18fb5$45522b30$0100a8c0@1337g>
References:  <Pine.BSF.4.10.10112272109470.67656-100000@andrsn.stanford.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Good Morning Gentlemen,
I want to clarify few things: first of all, besides my gateway (winxp,
192.168.0.1 && 12.34.56.78) and frebsd box (192.168.0.3) I have another pc
(win98se 192.168.0.2) which is using winxp as it's gateway, so winxp is
configured properly to allow sharing, so gateway problem are out of the way.
I do want to point out though, that ifconfig -m ep0 gives me this (ep0 my
3com 3c509 nic with 2 physical exits, coax and tp):

ifcoinfig -m ep0 (ep0 my network, 3com 3c509)
ep0: flags=8843 mtu 1500
inet 192.168.0.3 netmask 0xffffff00 broadcast 192.168.0.255
inet6 fe80::220:afff:fe58:e700%ep0 prefixlen 64 scopeid 0x1
ether 00:20:af:58:a7:00
media: Ethernet 10baseT/UTP

supported media:
media 10baseT/UTP
media 10base5/AUI

I have heard that there should be line 'status' right by 'media' and I am
missing it. What are you opinions on missing 'status', how do I bring it up?
On www.freebsddiary.org forums, Daniel Schrock, asked me to post my
ifconfig -i and ifconfig -r results. I am not sure if they are of any use to
find the problem, but just to be on the safe side here they're:

netstat -i

Name Mtu Network Address IpktsIerrsOpkrtsOerrs
ep0 1500 00:20:af:58:e7:00 1664 0 184 183
ep 1500 192.168.0 gangster 491 - 183 -
ep 1500 fe80:1::220 fe80:1::220:afff: 0 - 0 -
lp* 1500 0 0 0 0
lo 16384 10 0 10 0
lo 16384 ::1 ::1 0 - 0 -
lo 16384 fe80:3::1 fe80:3:1 0 - 0 -
lo 16384 127 localhost 4 - 4 -
ooo* 1500 0 0 0 0
sl0* 552 0 0 0 0
faith 1500 0 0 0 0
(last column - Coll - did not fit, but its exactly like last on in here -
oerrs)

netstat -r

Routing tables

Internet:
Destination Gateway Flags Refs Use Netif Expire
default 1337g UGSc 0 0 ep0
localhost localhost UH 0 4 lo0
192.168.0 link#1 UC 2 0 ep0
1337g 0:50:ba:53:ef:a5 UHLW 2 187 ep0 942
gangster 0:20:af:58:e7:0 UHLW 0 6 lo0

Internet6:
Destination Gateway Flags Netif Expire
:: ::1 UGRSc lo0
::1 ::1 UH lo0
::ffff:0.0.0.0 ::1 UGRSc lo0
fe80:: ::1 UGRSc lo0
fe80::%ep0 link#1 UC ep0
fe80::220:afff:fe5 0:20:af:58:e7:0 UHL lo0
fe80::%lo0 fe80::1%lo0 Uc lo0
fe80::1%lo0 link#3 UHL lo0
ff01:: ::1 U lo0
ff02:: ::1 UGRSc lo0
ff02::%ep0 link#1 UC ep0
ff02LL%lo0 ::1 UC lo0

Again, there are my boxes in lan

winxp-> 1337g -> 192.168.0.1 -> winxp gateway for freebsd
win98se -> eugene -> 192.168.0.2 -> doesnt appear here, another lan box
freebsd 4.4 -> gangster -> 192.168.0.3 -> freebsd box itself

XP - 2 NICs 12.34.56.78 and 192.168.0.1
98 - 1 NIC 192.168.0.2
BSD - 1 NIC 192.168.0.3

Cable modem --- straight (no cross) ----> 12.34.56.78
192.168.0.1 --- straight ----> Hub (no uplink port)
192.168.0.2 --- straight ----> Hub (no uplink port)
192.168.0.3 --- straight ----> Hub (no uplink port)


Bottom line: on other 2 forums, final reply was - "throw your junky nic away
and buy something better, nowadays nobody uses 10baseT or exchange it with
your win98". Might be a good idea to take my dlink from win98 and switch
with freebsd's 3com, yet I hope there is something I could do, becuase some
time ago when I was using slackware for few weeks I had had the same
problem - loops back but doesn't work, and I did fix it somehow - too bad
dont remember how exactly...
Thanks for any help, guys, I appreciate that!

cheers,
AlCapone
--------------------------------------------------------------------
What is difficult take time, what is impossible takes a little longer

----- Original Message -----
From: "Annelise Anderson" <andrsn@andrsn.stanford.edu>
To: "Scott Corey" <scott@bsdprophet.org>
Cc: "AlCapone" <chicago30s@yahoo.com>; <freebsd-newbies@FreeBSD.ORG>
Sent: Friday, December 28, 2001 12:14 AM
Subject: Re: adding freebsd box to home lan


> On Thu, 27 Dec 2001, Scott Corey wrote:
>
> > You need to add the other boxes in /etc/hosts file on your FreeBSD box.
> > However, It would be much better to use the FreeBSD box as a gateway and
> > let the window boxes just be desktops, since that is about all they are
> > good for. In the long run you will find that your FreeBSD box a much
> > better gateway.
> >
> > Scott
> >
> > AlCapone wrote:
> > >
> > > Okie, I have just installed freebsd on one of my boxes
> > > and I would like to add it to my home lan. I have read
> > > handbook part about networking and it seems that my
> > > configuration is fine.
> > >
> ...
>
> Definitely the FreeBSD box as the gateway is "better,", but
> if you need to run Windows as the Internet connection, the
> FreeBSD machine can get there through it--with a default
> route of the internal interface on the Windows gateway.
> However, you have to use either Windows connection sharing
> (which may assign your other machines an IP address) or
> you need a Windows program like Sygate (which is what I've
> used) that basically does network address transalation
> (and will also forward ports and the like, as well as
> act as a DHCP server) on the Windows gateway.
>
> Annelise
>
> --
> Annelise Anderson
> Author of: FreeBSD: An Open-Source Operating System for Your PC
> Available from: BSDmall.com and amazon.com
> Book Website:    http://www.bittreepress.com/FreeBSD/introbook/
>
>


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-newbies" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003601c18fb5$45522b30$0100a8c0>