I'm about to configure a small jails setup with pf. Therefore, I cloned my network interface (see rc.conf below).
If I ping the cloned interfaces (and the physical) by their IPs, everything works as expected. However, when pinging the interfaces themselves, they return some strange IP address:
How are these IPs assigned and what to they mean?
/etc/rc.conf:
zfs_enable="YES"
If I ping the cloned interfaces (and the physical) by their IPs, everything works as expected. However, when pinging the interfaces themselves, they return some strange IP address:
root@myserver:~ # ping em0
PING em0.net (192.64.119.246): 56 data bytes
64 bytes from 192.64.119.246: icmp_seq=0 ttl=50 time=159.379 ms
root@myserver:~ # ping l01
PING l01.net (23.82.25.203): 56 data bytes
64 bytes from 23.82.25.203: icmp_seq=0 ttl=114 time=142.402 ms
root@myserver:~ #ping l02
PING l02.net (158.69.184.138): 56 data bytes
64 bytes from 158.69.184.138: icmp_seq=0 ttl=58 time=81.481 ms
How are these IPs assigned and what to they mean?
/etc/rc.conf:
zfs_enable="YES"
Code:
# Network configuration (IPv4)
ifconfig_em0="inet 37.xxx.xx.xx netmask 255.255.255.0 broadcast 37.xxx.xx.255"
defaultrouter="37.xxx.xx.254"
cloned_interfaces="lo1 lo2"
ifconfig_lo1="inet 192.168.1.2 netmask 255.255.255.0"
ifconfig_lo2="inet 192.168.1.3 netmask 255.255.255.0"
gateway_enable="YES"
ezjail_enable="YES"
syslogd_flags="-s -s"
# Various options
dumpdev="AUTO"
clear_tmp_enable="YES"
accounting_enable="YES"
# Daemons
ntpd_enable="YES"
sshd_enable="YES"
local_unbound_enable="YES"
hostname="myhostname.net"