-.\" $OpenBSD: afterboot.8,v 1.42 2000/04/18 17:27:17 kjell Exp $
+.\" $OpenBSD: afterboot.8,v 1.43 2000/04/24 04:34:31 todd Exp $
.Dd October 20, 1997
.Dt AFTERBOOT 8
\!\" Originally created by Marshall M. Midden -- 1997-10-20, m4@umn.edu
.Bd -literal -offset indent
le0: flags=9863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST>
inet 192.168.4.52 netmask 0xffffff00 broadcast 192.168.4.255
+ inet6 fe80::5ef0:f0f0%le0 prefixlen 64 scopeid 0x1
.Ed
.Pp
and, a PPP interface something like:
Routing tables
Internet:
-Destination Gateway Flags Refs Use Mtu
-Interface
+Destination Gateway Flags Refs Use Mtu Interface
default 192.168.4.254 UGS 0 11098028 - le0
127 127.0.0.1 UGRS 0 0 - lo0
127.0.0.1 127.0.0.1 UH 3 24 - lo0
192.168.4 link#1 UC 0 0 - le0
192.168.4.52 8:0:20:73:b8:4a UHL 1 6707 - le0
192.168.4.254 0:60:3e:99:67:ea UHL 1 0 - le0
+
+Internet6:
+Destination Gateway Flags Refs Use Mtu Interface
+::/96 ::1 UGRS 0 0 32972 lo0 =>
+::1 ::1 UH 4 0 32972 lo0
+::ffff:0.0.0.0/96 ::1 UGRS 0 0 32972 lo0
+fc80::/10 ::1 UGRS 0 0 32972 lo0
+fe80::/10 ::1 UGRS 0 0 32972 lo0
+fe80::%le0/64 link#1 UC 0 0 1500 le0
+fe80::%lo0/64 fe80::1%lo0 U 0 0 32972 lo0
+ff01::/32 ::1 U 0 0 32972 lo0
+ff02::%le0/32 link#1 UC 0 0 1500 le0
+ff02::%lo0/32 fe80::1%lo0 UC 0 0 32972 lo0
+
.Ed
.Pp
The default gateway address is stored in the
net.inet.ip.forwarding=1
.Ed
.Pp
+or
+.Bd -literal -offset indent
+net.inet6.ip6.forward=1
+.Ed
+.Pp
to
.Pa /etc/sysctl.conf ,
or by compiling a new kernel with the
You can add new
.Dq virtual interfaces
by adding the required entries to
-.Pa /etc/ifaliases .
+.Pa /etc/hostname.if .
.Ss BIND Name Server (DNS)
If you are using the BIND Name Server, check the
.Pa /etc/resolv.conf
and
.Pa /usr/share/doc/smm/08.sendmailop/op.me
for information on generating your own sendmail configuration files.
+.Ss DHCP server
+If this is a
+DHCP
+server, edit
+.Pa /etc/dhcpd.conf
+and
+.Pa /etc/dhcpd.interfaces
+as needed.
+You will have to make sure
+.Pa /etc/rc.conf
+has:
+.Bd -literal -offset indent
+dhcpd_flags=-q
+.Ed
+.Pp
+or run
+.Xr dhcpd 8
+manually.
.Ss BOOTP server
If this is a
BOOTP
These scripts have been limited so as to keep the system running without
filling up disk space from normal running processes and database updates.
(You probably do not need to understand them.)
+.Pp
+The /altroot filesystem can optionally be used to provide a backup of the
+root filesystem on a daily basis. To take advantage of this, you must
+have an entry in /etc/fstab with 'xx' for the mount option:
+.Bd -literal -offset indent
+/dev/wd0j /altroot ffs xx 0 0
+.Ed
+.Pp
+and you must add a line to root's crontab:
+.Bd -literal -offset indent
+ROOTBACKUP=1
+.Ed
+.Pp
+so that the /etc/daily script will make a daily backup of the root filesystem.
.Ss Other files in /etc
Look at the other files in
.Pa /etc
Enter 'help' for information
ukc>
.Pp
-Additionally, you can permanently save the changes made with UKC during boot
-time in the kernel image.
+Additionally, you can permanently save the changes made with UKC during
+boot time in the kernel image.
.Ed
.Sh SEE ALSO
.Xr chgrp 1 ,
.Xr chown 8 ,
.Xr config 8 ,
.Xr dhcp 8 ,
+.Xr dhcpd 8 ,
.Xr domainname 8 ,
.Xr ext_srvtab 8 ,
.Xr ifconfig 8 ,