GNS3 – Assign an IP Address to Linux Microcore QEMU Guest

Problem:

The whole point of having these guest machines is for testing communications, putting an IPaddress on them so you can ping things, is a pretty basic step.

Solution

1. Console in, and execute the following commands, obviously change the IP addresses to the ones you require.

sudo su
ifconfig eth0 192.168.1.11 netmask 255.255.255.0 up
route add ip default gw 192.168.1.254
route add default gw 192.168.1.254

Add IP to Microcore

Source: http://www.petenetlive.com/KB/Article/0000932.htm

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s