WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: GNS3 Internet VM - change from dhcp to static ip  (Read 3348 times)

Offline g2476793

  • Newbie
  • *
  • Posts: 1
GNS3 Internet VM - change from dhcp to static ip
« on: April 21, 2018, 04:13:20 AM »
Hi, how I can off dhcp in tinycore linux? I have Internet VM from gns3 but always when I on program i get different ip to my router in simulation
"This appliance simulate a domestic modem. It provide an IP via DHCP and will nat all connection to the internet without the need of using a cloud interface in your topologies. IP will be in the subnet 172.16.0.0/16. Multiple internet will have different IP range from 172.16.1.0/24 to 172.16.253.0/24 ."

I want to off dhcp and set static ip
eth0 - 172.16.132.1 - 255.255.255.0
eth1 - 172.16.0.50 - 255.255.255.0
but I don't know how I can off dhcp

and how I can open port to get access from other network to my web server inside eth1 network ? tinycore - 172.16.0.50, web inside 172.16.0.51 from other network i want connect to 172.16.132.1:88
« Last Edit: April 21, 2018, 04:18:14 AM by g2476793 »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11702
Re: GNS3 Internet VM - change from dhcp to static ip
« Reply #1 on: April 21, 2018, 08:45:01 AM »
Hi g2476793
To disable  DHCP,  add the  nodhcp  boot code in your boot loader.