Skip to content

Reach Internet #317

Answered by tcaiazzi
P1c1s asked this question in Q&A
Nov 18, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hi @P1c1s,

Thanks for reaching out!

Yes, it is possible to connect a device to the host network using the bridged option.

From the man pages:

"This option connects the device to the host network by adding an additional network interface. This interface will be connected to the host network through a NAT connection."

For example, if you have a device called pc1, you can modify the lab.conf file as follows:

pc1[0]="A"
pc1[bridged]="true"

When you start pc1, an additional interface (in this case eth1) will appear. This interface connects to the host network, enabling the device to access the Internet. Additionally, the device will automatically be configured to add a default route through…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@P1c1s
Comment options

Answer selected by tcaiazzi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants