Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jul 2020 10:48:21 -0700 (PDT)
From:      "Rodney W. Grimes" <freebsd-rwg@gndrsh.dnsmgr.net>
To:        Grzegorz Junka <list1@gjunka.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: No connection between jails
Message-ID:  <202007191748.06JHmLmg036036@gndrsh.dnsmgr.net>
In-Reply-To: <19461599-5ec8-ce6f-6f58-ff2abc41e8f9@gjunka.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> I have two jails in the same subnet on two different hosts:
> 
> 
> HOST1 -- jail1
> 
> |
> 
> |
> 
> HOST2 - jail2
> 
> 
> HOST1: 10.70.7.13/16
> HOST2: 10.70.70.2/16
> jail1: 10.70.5.2/32
> jail2: 10.70.7.50/32
> 
> Default gateway in the network is 10.70.70.1 but I don't think it 
> matters in this issue.
> 
> 
> There is network connection between HOST1 and jail2, or HOST 2 and 
> jail1, or between any other host in the network and either jail1 or 
> jail2, however there is no network connection between jail1 and jail2. 
> By network connection I mean exchange of packets, e.g. "telnet 
> destination port". Both hosts and the default gateway are connected to 
> the same psychical switch.
> 
> There is actually more jails on HOST1 but the situation is analogous - 
> no connection between jails on HOST1 and any jails on HOST2.
> 
> What am I missing?
> 
> 
> Both hosts have gateway_enable="YES" in rc.conf (net.inet.ip.forwarding: 
> 1). I am not using VNET, jails are aliased directly in host's network 
> interfaces (lagg0 for HOST1 and em0 for HOST2).

Let me guess, lagg0 includes a wireless device?

I think you may have the issue that you can not run multiple MAC
addresses on a wireless device, and each of your jails on this
node are going to have a unique MAC.

> Thanks
> GrzegorzJ
> 
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
> 

-- 
Rod Grimes                                                 rgrimes@freebsd.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007191748.06JHmLmg036036>