openbsd# ifconfig
address_family address netmask broadcast [other options]
# echo "192.168.1.1" > /etc/mygate
# echo "dhcp" > /etc/hostname.em0
inet 192.168.1.2 255.255.255.0 NONE
inet 172.21.0.31 255.255.255.0 NONE vlan 10 vlandev em1
echo "nameserver 192.168.1.254" > /etc/resolv.conf
# sh /etc/netstart
Contact :