From owner-freebsd-questions Sat Feb 3 01:19:24 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id BAA12905 for questions-outgoing; Sat, 3 Feb 1996 01:19:24 -0800 (PST) Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.170.159]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id BAA12887 for ; Sat, 3 Feb 1996 01:19:18 -0800 (PST) Received: (from dwhite@localhost) by resnet.uoregon.edu (8.6.12/8.6.12) id BAA16460; Sat, 3 Feb 1996 01:19:10 -0800 Date: Sat, 3 Feb 1996 01:19:09 -0800 (PST) From: Doug White To: "H. Jared Agnew" cc: questions@FreeBSD.org Subject: Re: A FreeBSD firewall. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.org Precedence: bulk On Fri, 2 Feb 1996, H. Jared Agnew wrote: > I'm having a bit of a problem, I am trying to figure out why a call to > > netstat -r (reports this) > > bash$ netstat -r > Routing tables > > Internet: > Destination Gateway Flags Refs Use Netif Expire > default rh-igs.e1.cns.vt.e UGSc 6 1 ep0 > LOCALHOST LOCALHOST UH 1 0 lo0 > 128.173.208 link#2 UC 1 0 > rh-igs.e1.cns.vt 0:0:c:5:e8:1e UHLW 6 0 ep0 644 > hagnew LOCALHOST UGHS 0 0 lo0 > BASE-ADDRESS.MCA link#2 UCS 0 > 0 I'll offer up my guesses... > I understand the two first lines are my default route to my lan's > gateway, and the local host loop. Ding! > But my question is about the next four lines, Note that the routing tables are managed by the system and so some "phantom" routes may appear and disappear. I personally am not concerned with them, as long as I can connect out I am happy. :) > 128.173.208 is the IP of my gateway, and rh-igs.e1.cns.vt.edu is its > hostname, I know that the 6 hex numbers are the hardware address for the > gateway. I think that the "W" in the flags colom was automaticaly put there. Did you add a static route like that? :) It's strange to me that the arp tables cross over with the routing tables. > But one of the things I dont understand about the last four lines is > there is something called link#2, but in the example at: > > "http://www.freebsd.org/handbook/handbook173.html#304" > > the links are link#1, I only have one ethernet card in the machine now, > and it still reports link#2? Link# can also report which jack you are using. On some cards, link#1 is the BNC connector and link#2 is the TP connector. > I also dont understand why the 5th line is there, unless it is in > sysconfig? That one is in sysconfig. > My second to last question is what is that last line? I have no idea > what the destination is? The MCAST line is for multicast routing (sd & friends). Most people can ignore this, I can't since I want to join in the fun at the FreeBSD Lounge. :) I don't do firewall, so I'll stop here. Doug White | Student, University of Oregon Internet: dwhite@gladstone.uoregon.edu | Major: Computer Science http://gladstone.uoregon.edu/~dwhite | Eugene/Spfld BBS List Publisher