##### 1 #####

When your wife starts to complain about your collection of OpenBSD CDs being
larger than her collection of Riders Digests, you begin to wonder about a
trend.


##### 2 #####

Reading the man page, and typing
$ ifconfig "Interface model, ie de0, re0, etc" media
reveals all the supported media for that network interface.  Typing
$ ifconfig -m "Interface model, ie de0, re0, etc"
does not work anymore (SAwO).


##### 3 #####

Snappy Answers to Stupid Questions...

# QUOTE starts HERE #

6.2.1 - Identifying and setting up your network interfaces
(...)
$ ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33200
        priority: 0
        groups: lo
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
        inet 127.0.0.1 netmask 0xff000000
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:04:ac:dd:39:6a
        priority: 0
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active
        inet 192.168.1.34 netmask 0xffffff00 broadcast 192.168.1.255
        inet6 fe80::204:acff:fedd:396a%fxp0 prefixlen 64 scopeid 0x1
enc0: flags=0<>
        priority: 0
        groups: enc
        status: active
pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33200
        priority: 0
        groups: pflog

# QUOTE ends HERE #

If I understand this example correctly,
and reading the man pages again,
the inet address for the network
interface fxp0 is 192.168.1.34.
I wonder how this address is redirected
to 10.0.0.38 as stated on the following paragraph?

# QUOTE starts HERE #

As you can see here, ifconfig(8) gives us a lot more information than we need
at this point. But, it still allows us to see our interface. In the above
example, the interface card is already configured. This is obvious because an
IP network is already configured on fxp0, hence the values "inet 10.0.0.38
netmask 0xffffff00 broadcast 10.0.0.255". Also, the UP and RUNNING flags are
set.
# QUOTE ends HERE #
Perhaps I should look into the PF ruleset...


##### 4 #####

PF: Example: Firewall for Home or Small Office

One of the stated objective is:

- Make the ruleset as simple and easy to maintain as possible.

In the example provided, 4 macros are provided:

int_if="xl0"
tcp_services="{ 22, 113 }"
icmp_types="echoreq"
comp3="192.168.0.3"

For maintenance sake, would it not be
appropriate to define the other
mysterious outgoing interface "fxp0"
as well, as declared in the following
options section?

The ruleset migh suffer a little bit of
complications by adding one more macro.

Who knows, perhaps the "fxp0" network
interface does not want to get all the attention...


##### 5 #####

BSDCan 2012 if scheduled as usual is coming soon.
Some of you gather for the occasion to party, meet others, drink,
but most importanly to discuss BSD in all aspects on a 24 hour basis.
Some of you, on the other hand, may be a little more reserved or need sleep.
If you don't mind walking, taking the bus (15 min from aeroport,
15 min from UoO, 15 min from train station, wonder why people believe
this city is the biggest, area size, in the country) I could be able to
convince
my wife about hosting one guest as I might have room for a quiet person,
but please don't bring up the Riders Digests issue.

Regards Pix

Reply via email to