Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Feb 1996 20:00:20 -0500 (EST)
From:      "H. Jared Agnew" <jagnew@csugrad.cs.vt.edu>
To:        questions@freebsd.org
Subject:   A FreeBSD firewall. 
Message-ID:  <Pine.OSF.3.91.960202195929.26600A-100000@csugrad.cs.vt.edu>

next in thread | raw e-mail | index | archive | help


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 understand the two first lines are my default route to my lan's 
gateway, and the local host loop.

But my question is about the next four lines,

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.

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?

I also dont understand why the 5th line is there, unless it is in 
sysconfig?

My second to last question is what is that last line?  I have no idea 
what the destination is?

The last question is more of just an email, I would like to setup a 
firewall with my machine, but I am not really sure what to fiddle with in 
the sysconfig file.  If you have a firewall on your freebsd box with 
ethernet devices connecting you to the internet, and ethernet devices 
connecting to machines behind your fire wall would you send me a copy of 
your sysconfig file, and a really basic description, maybe a netstat -r 
printout, of what your system setup is.

Thanks
for any help

---   Jared
--jared@vt.edu 


Sorry about spelling, must be line noise over my ethernet connection!

|------------------------------------|       ____     ____
|  H. Jared Agnew  |  jared@vt.edu   |      |  __|   |  __|
|  http://csugrad.cs.vt.edu/~jagnew  |      | |__    | |__
|       phone : (540) 232-4438       |      | ___|   |___ |
|          alias : killdash9         |      | |__     __| |
|------------------------------------|      |____| . |____| .








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