Solved

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

Posted on 2015-02-17
4
379 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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
In the world of WAN, QoS is a pretty important topic for most, if not all, networks. Some WAN technologies have QoS mechanisms built in, but others, such as some L2 WAN's, don't have QoS control in the provider cloud.
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

809 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