Hi folks,
I got many "route already in table" warnings during the system start up. See below. The system network works fine. However I would like to fix the issue(s) behind these error messages, unless there is nothing to fix.
(EDIT: reformatted the below code paragraphs, sorry for the inconvenience)
I have the below lines in /etc/rc.conf
I got many "route already in table" warnings during the system start up. See below. The system network works fine. However I would like to fix the issue(s) behind these error messages, unless there is nothing to fix.
(EDIT: reformatted the below code paragraphs, sorry for the inconvenience)
Code:
# cat /var/log/console.log
(.......not relevant......)
Feb 21 12:29:50 saturn kernel: module: usbhid
Feb 21 12:29:50 saturn kernel: main: Firmware download failed!
Feb 21 12:29:50 saturn kernel: module: ng_ubt
Feb 21 12:29:50 saturn kernel: host 127.0.0.1: gateway lo0 fib 0: gateway uses the same route
Feb 21 12:29:50 saturn kernel: net default: gateway 10.0.0.1 fib 0: not in table
Feb 21 12:29:50 saturn kernel: host ::1: gateway lo0 fib 0: gateway uses the same route
Feb 21 12:29:50 saturn kernel: net fe80::: gateway ::1 fib 0: not in table
Feb 21 12:29:50 saturn kernel: net ff02::: gateway ::1 fib 0: not in table
Feb 21 12:29:50 saturn kernel: net ::ffff:0.0.0.0: gateway ::1 fib 0: not in table
Feb 21 12:29:50 saturn kernel: net ::0.0.0.0: gateway ::1 fib 0: not in table
Feb 21 12:29:50 saturn kernel: host 127.0.0.1: gateway lo0 fib 0: route already in table
Feb 21 12:29:50 saturn kernel: net default: gateway 10.0.0.1
Feb 21 12:29:50 saturn kernel: host ::1: gateway lo0 fib 0: route already in table
Feb 21 12:29:50 saturn kernel: net fe80::: gateway ::1
Feb 21 12:29:50 saturn kernel: net ff02::: gateway ::1
Feb 21 12:29:50 saturn kernel: net ::ffff:0.0.0.0: gateway ::1
Feb 21 12:29:50 saturn kernel: net ::0.0.0.0: gateway ::1
Feb 21 12:29:50 saturn kernel: webcamd.
Feb 21 12:29:50 saturn kernel: host 127.0.0.1: gateway lo0 fib 0: route already in table
Feb 21 12:29:50 saturn kernel: net default: gateway 10.0.0.1 fib 0: route already in table
Feb 21 12:29:50 saturn kernel: host ::1: gateway lo0 fib 0: route already in table
Feb 21 12:29:50 saturn kernel: net fe80::: gateway ::1 fib 0: route already in table
Feb 21 12:29:50 saturn kernel: net ff02::: gateway ::1 fib 0: route already in table
Feb 21 12:29:50 saturn kernel: net ::ffff:0.0.0.0: gateway ::1 fib 0: route already in table
Feb 21 12:29:50 saturn kernel: net ::0.0.0.0: gateway ::1 fib 0: route already in table
Feb 21 12:29:50 saturn kernel: a trust anchor...
(.......not relevant......)
Code:
# netstat -nr
Routing tables
Internet:
Destination Gateway Flags Netif Expire
default 10.0.0.1 UGS re0
10.0.0.0/24 link#1 U re0
10.0.0.99 link#2 UHS lo0
127.0.0.1 link#2 UH lo0
Internet6:
Destination Gateway Flags Netif Expire
::/96 link#2 URS lo0
::1 link#2 UHS lo0
::ffff:0.0.0.0/96 link#2 URS lo0
fe80::%lo0/10 link#2 URS lo0
fe80::%lo0/64 link#2 U lo0
fe80::1%lo0 link#2 UHS lo0
ff02::/16 link#2 URS lo0
Code:
# ifconfig
re0: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
options=60251b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,TSO4,LRO,WOL_MAGIC,RXCSUM_IPV6,TXCSUM_IPV6>
ether 7c:anonymous
inet 10.0.0.99 netmask 0xffffff00 broadcast 10.0.0.255
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
lo0: flags=1008049<UP,LOOPBACK,RUNNING,MULTICAST,LOWER_UP> metric 0 mtu 16384
options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
groups: lo
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
Code:
# kldstat
Id Refs Address Size Name
1 125 0xffffffff80200000 1454a40 kernel
2 1 0xffffffff81656000 212e8 geom_mirror.ko
3 1 0xffffffff81678000 15240 tmpfs.ko
4 1 0xffffffff8168e000 3680 coretemp.ko
5 1 0xffffffff81692000 7790 cryptodev.ko
6 3 0xffffffff8169a000 8c668 vboxdrv.ko
7 1 0xffffffff81727000 11d718 if_re.ko
8 1 0xffffffff81845000 5da610 zfs.ko
9 1 0xffffffff82910000 1e4228 i915kms.ko
10 2 0xffffffff82af5000 88090 drm.ko
11 1 0xffffffff82b7e000 22b8 iic.ko
12 2 0xffffffff82b81000 4120 linuxkpi_video.ko
13 3 0xffffffff82b86000 7350 dmabuf.ko
14 3 0xffffffff82b8e000 3378 lindebugfs.ko
15 1 0xffffffff82b92000 c338 ttm.ko
16 1 0xffffffff82b9f000 6760 cuse.ko
17 1 0xffffffff82ba6000 3390 acpi_wmi.ko
18 1 0xffffffff82baa000 4250 ichsmb.ko
19 1 0xffffffff82baf000 2178 smbus.ko
20 1 0xffffffff82bb2000 6020 ig4.ko
21 1 0xffffffff82bb9000 30a80 linux.ko
22 4 0xffffffff82bea000 c2a8 linux_common.ko
23 1 0xffffffff82bf7000 2de10 linux64.ko
24 1 0xffffffff82c25000 2278 pty.ko
25 1 0xffffffff82c28000 3560 fdescfs.ko
26 1 0xffffffff82c2c000 73c0 linprocfs.ko
27 1 0xffffffff82c34000 440c linsysfs.ko
28 2 0xffffffff82c39000 4248 vboxnetflt.ko
29 2 0xffffffff82c3e000 abb8 netgraph.ko
30 1 0xffffffff82c49000 31e0 ng_ether.ko
31 1 0xffffffff82c4d000 55f0 vboxnetadp.ko
32 1 0xffffffff82c53000 3360 uhid.ko
33 1 0xffffffff82c57000 4364 ums.ko
34 1 0xffffffff82c5c000 3360 wmt.ko
35 1 0xffffffff82c60000 4850 nullfs.ko
36 1 0xffffffff82c65000 2a68 mac_ntpd.ko
Code:
# service -e
/etc/rc.d/hostid
/etc/rc.d/zpool
/etc/rc.d/zpoolreguid
/etc/rc.d/zpoolupgrade
/etc/rc.d/zvol
/etc/rc.d/hostid_save
/etc/rc.d/kldxref
/etc/rc.d/var_run
/etc/rc.d/zfsbe
/etc/rc.d/zfs
/etc/rc.d/linux
/etc/rc.d/devmatch
/etc/rc.d/cleanvar
/etc/rc.d/mixer
/etc/rc.d/rctl
/usr/local/etc/rc.d/vboxnet
/etc/rc.d/netif
/etc/rc.d/devd
/usr/local/etc/rc.d/webcamd
/etc/rc.d/resolv
/usr/local/etc/rc.d/unbound
/etc/rc.d/dmesg
/etc/rc.d/cleartmp
/etc/rc.d/os-release
/usr/local/etc/rc.d/syslog-ng
/etc/rc.d/newsyslog
/etc/rc.d/motd
/etc/rc.d/gptboot
/etc/rc.d/savecore
/etc/rc.d/utx
/etc/rc.d/ntpd
/usr/local/etc/rc.d/dbus
/usr/local/etc/rc.d/cupsd
/etc/rc.d/cron
/etc/rc.d/sendmail
/etc/rc.d/sshd
/etc/rc.d/bgfsck
I have the below lines in /etc/rc.conf
Code:
ifconfig_re0="inet 10.0.0.99 netmask 255.255.255.0"
defaultrouter="10.0.0.1"
ip6addrctl_enable="NO"
route6d_enable="NO"