thanks Stuart for your reply and sorry for the delayed answer.
I'm tring to use an OpenBSD pc as a router with other OpenBSD routers to
simulate a small network on my pc using GNS3. after this I'll try this
configurations on real OpenBSD pc situated in my university, the goal is to
connect different sites of my university redistributing router tables to the
other OpenBSD routers of the faculties using RIP and OSPF.
my ifconfig -A output:
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 08:00:27:d9:6b:2f
priority: 0
groups: egress
media: Ethernet autoselect (1000baseT full-duplex)
status: active
inet6 fe80::a00:27ff:fed9:6b2f%em0 prefixlen 64 scopeid 0x1
inet 10.0.2.15 netmask 0xffffff00 broadcast 10.0.2.255
em1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
lladdr 08:00:27:47:66:43
priority: 0
media: Ethernet autoselect (none)
status: no carrier
em2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 08:00:27:bc:6b:07
priority: 0
media: Ethernet autoselect (1000baseT full-duplex)
status: active
inet6 fe80::a00:27ff:febc:6b07%em2 prefixlen 64 scopeid 0x3
inet 173.0.0.2 netmask 0xfffffffc broadcast 173.0.0.3
em3: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
lladdr 08:00:27:bf:89:b8
priority: 0
media: Ethernet autoselect (none)
status: no carrier
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33192
priority: 0
groups: lo
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6
inet 127.0.0.1 netmask 0xff000000
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 08:00:27:d9:6b:2f
priority: 0
groups: egress
media: Ethernet autoselect (1000baseT full-duplex)
status: active
inet6 fe80::a00:27ff:fed9:6b2f%em0 prefixlen 64 scopeid 0x1
inet 10.0.2.15 netmask 0xffffff00 broadcast 10.0.2.255
em1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
lladdr 08:00:27:47:66:43
priority: 0
media: Ethernet autoselect (none)
status: no carrier
em2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 08:00:27:bc:6b:07
priority: 0
media: Ethernet autoselect (1000baseT full-duplex)
status: active
inet6 fe80::a00:27ff:febc:6b07%em2 prefixlen 64 scopeid 0x3
inet 173.0.0.2 netmask 0xfffffffc broadcast 173.0.0.3
em3: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
lladdr 08:00:27:bf:89:b8
priority: 0
media: Ethernet autoselect (none)
status: no carrier
enc0: flags=0<>
priority: 0
groups: enc
status: active
pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33192
priority: 0
groups: pflog
my netstat -m output:
Active UNIX domain sockets
Address Type Recv-Q Send-Q Inode Conn Refs Nextref
Addr
0xd5d0d7cc stream 0 0 0x0 0xd170e580 0x0 0x0
0xd5d0d6b0 stream 0 0 0xd5d15d28 0x0 0x0 0x0
/var/quagga/ripd.vty
0xd5d0d240 dgram 0 0 0x0 0xd1871000 0x0 0xd1899580
0xd5d0d8e8 stream 0 0 0x0 0xd1899400 0x0 0x0
/var/quagga/zserv.api
0xd5d0d124 stream 0 0 0xd5d158e4 0x0 0x0 0x0
/var/quagga/zebra.vty
0xd5d46d54 stream 0 0 0xd5d157ac 0x0 0x0 0x0
/var/quagga/zserv.api
0xd5d46a00 dgram 0 0 0x0 0xd1871000 0x0 0xd1871c80
0xd5d468e4 stream 0 0 0xd5d2fb4c 0x0 0x0 0x0
tabs/.sock
0xd5d467c8 dgram 0 0 0x0 0xd1871000 0x0 0xd1871880
0xd5d466ac stream 0 0 0xd5d2f3fc 0x0 0x0 0x0
/tmp/aucat/aucat0
0xd5d4623c dgram 0 0 0x0 0xd1871000 0x0 0xd1871a00
0xd5e55d50 dgram 0 0 0x0 0xd1871000 0x0 0x0
0xd5e55c34 stream 0 0 0x0 0xd1871800 0x0 0x0
0xd5e55b18 stream 0 0 0x0 0xd1871700 0x0 0x0
0xd5e559fc stream 0 0 0x0 0xd1871380 0x0 0x0
0xd5e558e0 stream 0 0 0x0 0xd1871400 0x0 0x0
0xd5e557c4 dgram 0 0 0xd5e026d8 0x0 0x0 0x0
/var/empty/dev/log
0xd5e556a8 dgram 0 0 0xd5e0263c 0x0 0x0 0x0
/var/www/dev/log
0xd5e5558c dgram 0 0 0xd5e025a0 0x0 0xd1899080 0x0
/dev/log
0xd5e55238 stream 0 0 0x0 0xd1756c00 0x0 0x0
0xd5e5511c stream 0 0 0x0 0xd1756d80 0x0 0x0
24 mbufs in use:
13 mbufs allocated to data
2 mbufs allocated to packet headers
9 mbufs allocated to socket names and addresses
12/22/6144 mbuf 2048 byte clusters in use (current/peak/max)
0/8/6144 mbuf 4096 byte clusters in use (current/peak/max)
0/8/6144 mbuf 8192 byte clusters in use (current/peak/max)
0/8/6144 mbuf 9216 byte clusters in use (current/peak/max)
0/8/6144 mbuf 12288 byte clusters in use (current/peak/max)
0/8/6144 mbuf 16384 byte clusters in use (current/peak/max)
0/8/6144 mbuf 65536 byte clusters in use (current/peak/max)
252 Kbytes allocated to network (11% in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines
I "think" pf is not enabled.
I hope it helps