Langit MerahФотография
Check out the following file. I edit it when i want to manage it outside of pnetlab or when i want a router in the lab to have internet. Of course, if you want internet , you'll need a few additional steps.
nano /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
car it
iface lo inet loopback
# The primary network interface
iface eth0 inet manual
auto pnet0
iface pnet0 inet dhcp
bridge_ports eth0
bridge_stp off
# Cloud devices
iface eth9 inet manual
auto pnet9
iface pnet9 inet static # <-- Change this to static
address 10.199.199.1 # <-- Create an address
netmask 255.255.255.0 # <-- Create a subnet mask
bridge_ports eth9
bridge_stp off