Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: g2476793 on April 21, 2018, 01:13:20 AM

Title: GNS3 Internet VM - change from dhcp to static ip
Post by: g2476793 on April 21, 2018, 01: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
Title: Re: GNS3 Internet VM - change from dhcp to static ip
Post by: Rich on April 21, 2018, 05:45:01 AM
Hi g2476793
To disable  DHCP,  add the  nodhcp  boot code in your boot loader.