I recently installed 10.2 Release and am trying to narrow down a few issues I am having. I am not sure if they are related to config files I had from 10.2 Stable or general configuration problems.
My two issues are that when I reboot the server there is no network connectivity until I restart the interface and firewall via:
This issue seems like more of a timing conflict where a service on boot is not ready to start yet and it fails to grab a DHCP lease...maybe? I have posted some config files below in hopes that the issue can be spotted. I have never experienced this with a BSD system let alone thought that restarting the FW would do the trick.
My second issue is that I am unable to clone my loopback interface which I need so that I can set up an ezjail. When following the instructions here https://www.freebsd.org/doc/handbook/jails-ezjail.html I attempt to create a cloned interface (note the line already exists in my /etc/rc.conf but when manually creating via the CLI I get no output nor does the lo1 exist:
Any help would be greatly appreciated! If any other config files are needed please let me know.
My two issues are that when I reboot the server there is no network connectivity until I restart the interface and firewall via:
sudo /etc/rc.d/netif restart
and sudo pfctl -d && sudo pfctl -f /etc/pf.conf
This issue seems like more of a timing conflict where a service on boot is not ready to start yet and it fails to grab a DHCP lease...maybe? I have posted some config files below in hopes that the issue can be spotted. I have never experienced this with a BSD system let alone thought that restarting the FW would do the trick.
My second issue is that I am unable to clone my loopback interface which I need so that I can set up an ezjail. When following the instructions here https://www.freebsd.org/doc/handbook/jails-ezjail.html I attempt to create a cloned interface (note the line already exists in my /etc/rc.conf but when manually creating via the CLI I get no output nor does the lo1 exist:
Code:
brad@mercury:/usr/jails$ sudo service netif cloneup
brad@mercury:/usr/jails$ sudo ifconfig
Password:
re0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
ether b8:97:5a:23:26:32
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (none)
status: no carrier
re1: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=82099<RXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
ether 00:14:d1:2b:9c:b5
inet 192.168.0.101 netmask 0xffffff00 broadcast 192.168.0.255
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 02:fe:4a:c8:9c:00
nd6 options=9<PERFORMNUD,IFDISABLED>
id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
member: tap0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 5 priority 128 path cost 2000000
member: re1 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 2 priority 128 path cost 20000
tap0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=80000<LINKSTATE>
ether 00:bd:69:2e:00:00
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect
status: active
Opened by PID 1096
brad@mercury:/usr/jails$
Code:
brad@mercury:/usr/jails$ cat /etc/rc.conf
hostname="mercury.milkyway"
keyrate="fast"
#ifconfig_re0="192.168.0.101 netmask 255.255.255.0"
ifconfig_re1="SYNCDHCP"
ifconfig_bridge0="addm re1 addm tap0"
cloned_interfaces="${cloned_interfaces} lo1"
cloned_interfaces="bridge0 tap0"
pf_enable="YES"
#pflog_enable="YES"
gateway_enable="YES"
pf_rules="/etc/pf.conf"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="NO"
zfs_enable="YES"
sshd_enable="YES"
ntpd_enable="YES"
ntpd_sync_on_start="YES"
ezjail_enable="YES"
nfs_client_enable="YES"
#kern_securelevel_enable="YES"
#kern_securelevel="3"
local_unbound_enable="YES"
Any help would be greatly appreciated! If any other config files are needed please let me know.