Linux Network Manager Chaining Internet Connection

segfault

New Member
Joined
Jun 1, 2020
Messages
1
Reaction score
0
Credits
25
I have 3 ubuntu virtual machines on VMware. I want to link these virtual machines to each other in the form of a chain as shown below. There is internet on the 1st computer and will share the internet on the 2nd computer, and the 2nd computer share the Internet on the third computer. I am trying to do this through network settings via ubuntu gui. But when the 3rd computer is activated, the system does not work. How can I make this system through ubuntu network manager or another method?

(NAT)PC1(ETH2)---(ETH2)PC2(ETH3)---(ETH3)PC3

Ubuntu Network Manager Settings

VM1 (ETH1)- ( AUTO-DHCP) (ETH2-VMNET2)-(Shared to other computers)

VM2 (ETH1-VMNET2)- ( AUTO-DHCP) (ETH2-VMNET3)-(Shared to other computers)

VM3 (ETH1-VMNET3)- ( AUTO-DHCP)


VMNET2 and VMNET3 (INTERNAL NETWORKS)
VM1 have 2 network adapter (1st NAT, 2nd VMNET2)
VM2 have 2 network adapter (1st VMNET2, 2nd VMNET3)
vm3 have 1 network adapter (only VMNET3)


VMNET2 ethernets can see each other , vmnet 3 ethernets can see each other. I want to chain connect 3 virtual machines.

(VM1-ETH1-NAT)(AUTO DHCP)
IP Address: 192.168.38.120
Broadcast Adress: 192.168.38.255
Subnet Mask: 255.255.255.0
Default Route: 192.168.38.2
Primary DNS: 192.168.38.2

(VM1-ETH2-VMNET2)(Shared to other computers)
IP Address: 10.42.0.1
Broadcast Adress: 10.42.0.255
Subnet Mask: 255.255.255.0

(VM2-ETH1-VMNET2)(AUTO DHCP)
IP Address: 10.42.0.36
Broadcast Adress: 10.42.0.255
Subnet Mask: 255.255.255.0
Default Route: 10.42.0.2
Primary DNS: 10.42.0.2


(VM2-ETH2-VMNET3)(Shared to other computers)

IP Address: 10.42.0.1
Broadcast Adress: 10.42.0.255
Subnet Mask: 255.255.255.0


(VM3-ETH1-VMNET3)(AUTO DHCP)
IP Address: 10.42.0.76
Broadcast Adress: 10.42.0.255
Subnet Mask: 255.255.255.0
Default Route: 10.42.0.2
Primary DNS: 10.42.0.2
 
Last edited:

Members online


Top