Solved

How do I setup a router to act as a host in GNS3

Posted on 2015-02-17
4
339 Views
Last Modified: 2015-02-17
Hello All,

I'm trying to setup a router as a host in GNS3 to study for my CCNA.  I'm having some trouble I'm hoping you can help out with.

I'm doing the following to setup the router as a host:
config t
hostname PC1
no ip routing
interface fa1/0
ip address 10.1.10.10 255.255.255.0

When I try to input the IP address, I get a message:
IP address may not be configured on L2 Links

If I input the following, it will take the IP address, but I don't know if I should be doing this:
config t
interface fa1/0
no switchport

Any help would be greatly appreciated.

Nick
0
Comment
Question by:ndalmolin_13
  • 2
4 Comments
 
LVL 2

Expert Comment

by:phil435
ID: 40615523
What exactly are you trying to accomplish? The no switchport command turns the interface into layer 3 only. This usually is done between routers and the other end of the connection will need to be in the same subnet.
0
 
LVL 1

Author Comment

by:ndalmolin_13
ID: 40615567
I have a router with a 16 port switch module in it.  I have disabled routing on that router and I'm using it as a layer 2 switch.  I want to configure two routers as PCs.  The first Router/PC will be addressed:  10.1.10.10 255.255.255.0.  The second will be addressed 10.1.10.11 255.255.255.0 (both in the same subnet).  I just want to get basic layer 2 connectivity between the two PCs.
0
 
LVL 18

Accepted Solution

by:
Akinsd earned 500 total points
ID: 40615654
What you have is most likely a layer 3 switch. A model would confirm that.
If so, you will need to turn off switchport on any port you desire to use and then configure IP address on the port
Eg
Int fa0/1
No switchport
IP address 192.168.1.1 255.255.255.0
0
 
LVL 1

Author Comment

by:ndalmolin_13
ID: 40615805
That's what I thought
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question