On 1/6/23 12:37, Rutuja Umesh Madhure via discuss wrote:
> Hi team,

Hi Rutuja,

> Can you please guide us on this.
> 
> We have two logical switches, each with a *localnet*port associated with
> the same external network - 'ext-net-1'
> (*ovn-bridge-mappings*="ext-net-1:brPhy1")
> 
>     switch ebd50d66-5b3f-40d9-9810-bd804ae6b8b4 (sw1)
>         port sw1-port2
>             addresses: ["3a:cf:c8:d6:78:9a 172.16.60.101"]
>         port sw1-port1
>             addresses: ["66:dc:de:a3:27:12 172.16.60.100"]
>         port sw1-localnet-1
>             type: localnet
>             addresses: ["unknown"]
>     switch c0bfb2ba-7bab-4151-8c05-6d0a0fe25929 (sw0)
>         port sw0-port2
>             addresses: ["86:3e:96:60:f0:67 172.16.60.101"]
>         port sw0-localnet-1
>             type: localnet
>             addresses: ["unknown"]
>         port sw0-port1
>             addresses: ["5a:b2:ce:8d:a9:dd 172.16.60.100"]
> 
> 
> Port sw0-port1 is on host 1 while sw0-port2 is on host 2. Similarly for
> the other switch sw1.
> 
> *Observation:*
> Initially, when we configured only sw0, the ping worked between
> sw0-port1 and sw0-port2. However, when we configured sw1, the ping
> stopped working between sw0-port1 and sw0-port2 but worked
> between sw1-port1 and sw1-port2. 

That's because you essentially bridged together sw1 and sw0's broadcast
domains.  So this caused duplicate IPs 172.16.60.100 and 172.16.60.101
to exist on the network.

> 
> *Expectation:*
> Ping should work between both ports in sw0 and sw1.
> 
> Is this a valid configuration?If not, do we need to configure each
> logical switch with a different external network/bridge-mapping?
> 

Yes, I think this is what you should be doing indeed.  And please use
different VLANs for the two external networks.

> 
> Thanks,
> Rutuja
> 

Regards,
Dumitru

_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to