Re: Network bridge and MAC address exposure

2022-09-05 Thread Rand Pritelrohm
On Sun, 4 Sep 2022 08:39:59 +0200 Rand Pritelrohm wrote: >Hello, > >I am not a network specialist and despite a lot of documentation >readings and searchs on the net I haven't get a simple and clear answer >to my question. > [...] > > >Here is my question: >For both scenarios, what is the

Re: Network bridge and MAC address exposure

2022-09-04 Thread Igor Cicimov
On Sun, Sep 4, 2022 at 4:40 PM Rand Pritelrohm wrote: > Hello, > > I am not a network specialist and despite a lot of documentation > readings and searchs on the net I haven't get a simple and clear answer > to my question. > > Consider this simple schematic: > > > | VM | -> | HOST |

Re: Network bridge and MAC address exposure

2022-09-04 Thread tomas
On Sun, Sep 04, 2022 at 09:42:34AM +0200, john doe wrote: > On 9/4/2022 8:39 AM, Rand Pritelrohm wrote: [...] > > #Then I have to enable routing > > echo '1' > /proc/sys/net/ipv4/ip_forward > > iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE > > > > You are answering your

Re: Network bridge and MAC address exposure

2022-09-04 Thread john doe
On 9/4/2022 8:39 AM, Rand Pritelrohm wrote: Consider this simple schematic: | VM | -> | HOST | -> | GW | -> ISP Lets say the physical interface name on the 'host' is eth0 and the LAN subnet is 192.168.0.0. I want to configure the network on the 'host' in order for the VM to

Re: Network bridge and MAC address exposure

2022-09-04 Thread Jeremy Ardley
On 4/9/22 2:39 pm, Rand Pritelrohm wrote: 1. Bridge using routed subnet: ip link add dev br0 type bridge ip addr add 192.168.222.1/24 dev br0 ip link set dev br0 up ip tuntap add tap0 mode tap ip link set dev tap0 up ip link set dev tap0 master br0 #Then I

Network bridge and MAC address exposure

2022-09-04 Thread Rand Pritelrohm
Hello, I am not a network specialist and despite a lot of documentation readings and searchs on the net I haven't get a simple and clear answer to my question. Consider this simple schematic: | VM | -> | HOST | -> | GW | -> ISP Lets say the physical interface name on the