Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Feb 1996 01:19:09 -0800 (PST)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        "H. Jared Agnew" <jagnew@csugrad.cs.vt.edu>
Cc:        questions@FreeBSD.org
Subject:   Re: A FreeBSD firewall. 
Message-ID:  <Pine.BSF.3.91.960203011137.16176A@resnet.uoregon.edu>
In-Reply-To: <Pine.OSF.3.91.960202195929.26600A-100000@csugrad.cs.vt.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960203011137.16176A>