8
Here we are going to see how to configure ip address ,default gateway ,,hostname, checking routing table ,and checking ip address on ethernet qemu microcore linux image


Steps:

Step 1: Create topology like this


How to configure an  ip address in Qemu Microcore GNS 3




Step 2: Configure ip address to router interfaces by entering the command

In R1 Router


R1(config)#interface fastEthernet 1/0
R1(config-if)#ip address 10.0.0.1 255.0.0.0
R1(config-if)#no shutdown
R1(config-if)#exit


R1(config)#interface fastEthernet 1/1
R1(config-if)#ip address 20.0.0.1 255.0.0.0
R1(config-if)#no shutdown
R1(config-if)#exit



Step 3:Now go to one of the qemu host and configure ip address,default gateway using this command

In Qemu 1,to add ip address and default gateway give this command


tc@box:~$
tc@box:~$ sudo su
root@box:~#ifconfig eth0 10.0.0.10 netmask 255.0.0.0 up
root@box:~#route add ip default gw 10.0.0.1
root@box:~#route add default gw 10.0.0.1



To check ip address in an ethernet,give this command



root@box:~#ifconfig eth0



To check routing table of Qemu enter this command



root@box:~#route


Configuring Hostname


root@box:~#hostname PC1
root@PC1:~#
root@PC1:~#




Do this also in Qemu 2

How to configure an  ip address in Qemu Microcore GNS 3




Step 4:Now check the connectivity between your host and router by pinging default gateway that is your router interface ip address



root@PC1:~#ping 10.0.0.1

Then ping host in other network

root@PC1:~#ping 20.0.0.10

Stop  by pressing Ctrl+C



How to configure an  ip address in Qemu Microcore GNS 3






Post a Comment

  1. pinging not happing with multi layer switch

    ReplyDelete
  2. Nice. I forget how to setup this up because i don't do it alot. connecting it to the "multilayer switch" in GNS3, i usually use the "layer2" etherswitch to connect the host to the multilayer switch/router. Don't forget to shut/unshut the interface on the switch/router.

    ReplyDelete
  3. How can you assign static IPV6 address?

    ReplyDelete
  4. Every thing is ok, but i cant ping the default gateways or between the hosts, what could be a problem?

    ReplyDelete
  5. 10.0.0.1 is the login IP of TP-Link router,and switch and NETGEAR switch.

    ReplyDelete
  6. They generally comprise of four numbers, every one of which contains one to three digits, with a solitary dab (.) isolating each number or set of digits. Every one of the four numbers or set of digits can go from 0 to 255 and might look like 78.125.0.209.
    xfinity gateway login

    ReplyDelete
  7. Routers are the most important devices that are required to get the internet connectivity. There are many brands and router models around the globe. Most people use multiple brand routers, they don't know how to configure them for the perfect usage. Here at router-networks.com we have all the manuals for configuring the router login pages.

    ReplyDelete

 
Top