Hi every one.
im a newbe with OpenBSD,
I just wan to know how to set my route table as i want "during the boot
process".
in fact this is my route table
$ netstat -rn
-------------------------------------------------------------------------------
Routing tables
Internet:
Destination Gateway Flags Refs Use Mtu
Interface
default 192.168.0.1 UGS 0 22
- em0
127/8 127.0.0.1 UGRS 0 0 33224 lo0
127.0.0.1 127.0.0.1 UH 1 0 33224 lo0
192.168.0/24 link#3 UC 1 0 -
bge0 <--- !!!!!
192.168.0.1 link#3 UHLc 1 0 -
bge0 <----!!!!!
224/4 127.0.0.1 URS 0 0 33224 lo0
-------------------------------------------------------------------------------
and I would like somthing like this
-------------------------------------------------------------------------------
Routing tables that i would like
Internet:
Destination Gateway Flags Refs Use Mtu
Interface
default 192.168.0.1 UGS 0 22
- em0
127/8 127.0.0.1 UGRS 0 0 33224 lo0
127.0.0.1 127.0.0.1 UH 1 0 33224 lo0
192.168.0/24 link#3 UC 1 0 -
em0 <--- !!!!!
192.168.0.1 link#3 UHLc 1 0 -
em0 <----!!!!!
224/4 127.0.0.1 URS 0 0 33224 lo0
-------------------------------------------------------------------------------
I'v try to modify (with no succes) the file /etc/hostname.bge0 by adding
the following lines
! /sbin/route change -net 192.168.0/24 -ifp em0
! /sbin/route change -host 192.168.0.1 -ifp em0
Thanks very much for your help...
PS: Excuses my broken english
Etture