Solved

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

Posted on 2015-02-17
4
454 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Port forwarding 14 186
Routing between two networks? 10 90
snmp-server enable traps gdoi ks-rekey-pushed 3 32
Cisco WRVS4400N 11 61
The Cisco RV042 router is a popular small network interfacing device that is often used as an internet gateway. Network administrators need to get at the management interface to make settings, change passwords, etc. This access is generally done usi…
There are two basic ways to configure a static route for Cisco IOS devices. I've written this article to highlight a case study comparing the configuration of a static route using the next-hop IP and the configuration of a static route using an outg…
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…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

730 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