Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Jul 2021 10:15:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        jail@FreeBSD.org
Subject:   [Bug 257038] [Panic] on http traffic to or from jail through vxlan
Message-ID:  <bug-257038-29815-vWneOwZNC8@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-257038-29815@https.bugs.freebsd.org/bugzilla/>
References:  <bug-257038-29815@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257038

--- Comment #2 from capra-freebsd@phcn.de ---
I'll try to describe my Setup as good as I possible:=20
I have one physical IF connected, it's called em0.=20

I have 2 vxlan interfaces, endpoint is my router
ifconfig_em0=3D"inet 192.168.1.5 netmask 255.255.255.0 mtu 4000"
create_args_vxlan43=3D"vxlanid 43 vxlanlocal 192.168.1.5 vxlanremote 192.16=
8.1.1"
ifconfig_vxlan43=3D"inet 10.43.0.5 netmask 255.255.255.0 up"
create_args_vxlan44=3D"vxlanid 44 vxlanlocal 192.168.1.5 vxlanremote 192.16=
8.1.1"
ifconfig_vxlan44=3D"inet 10.44.0.5 netmask 255.255.255.0 up"





therefore I have to use fibs to have several routing tables, they are pretty
simple=20
setfib 1 route add -net 10.44.0.0/24 -iface vxlan44
setfib 2 route add -net 10.43.0.0/24 -iface vxlan43

# Default route
setfib 1 route add default 10.44.0.1
setfib 2 route add default 10.43.0.1


furthermore I use bhyve based virtual machines in my setup, they are connec=
ted
to the vxlan interfaces and work just fine.=20
NAME  TYPE      IFACE    ADDRESS  PRIVATE  MTU  VLAN  PORTS
phcn  standard  vm-phcn  -        no       -    -     vxlan43
DMZ   standard  vm-DMZ   -        no       -    -     vxlan44

the problem starts with the jail that are connected to vxlans, for example =
this
one:
cat /zroot/iocage/jails/phcn-zabbix/config.json=20
{
    "boot": 0,
    "depends": "psql",
    "exec_fib": "2",
    "host_hostname": "phcn-zabbix",
    "host_hostuuid": "phcn-zabbix",
    "ip4_addr": "lo1|127.0.1.10/8,vxlan43|10.43.0.10/24",
    "jail_zfs_dataset": "iocage/jails/phcn-zabbix/data",
    "last_started": "2021-07-07 10:06:19",
    "release": "12.2-RELEASE-p6"
}#=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20

when I try to connect to the zabbix webui, or if I use the jail console to=
=20
curl www.google.de  the host crashes.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-257038-29815-vWneOwZNC8>