It is currently Sun May 28, 2017 4:45 am


All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: gns3 error - Can't give IP to FastEthernet Int. in a router
PostPosted: Thu Aug 14, 2014 1:46 pm 
Offline

Joined: Sun Dec 22, 2013 4:10 pm
Posts: 24
Hi everybody
I am working on a simple Toplogy of 3 Routers connected to a single router . I reach the step where I have to give an IP to each Fastethernet interfaces on every router. The problem is that, whe I try to type the command to assign IP to an interface in arouter, like for example this one:
R1(config-if)#ip address 192.168.0.1 255.255.255.0
I got this message:
% IP addresses may not be configured on L2 links.

I am using 3640 image(ver 12.3) on all routers. I am also using 3640 router image on Switches, but I add the NM-16ESW slot to act like a switch.
I tried "no switchport command" on port fa0/0 but still I get the same error! Then I also tried "ip routing" but in vain.

Please, advise me on this issue. Thank you very much for your help.




Top
 Profile  
 
 Post subject: Re: gns3 error - Can't give IP to FastEthernet Int. in a ro
PostPosted: Sun Aug 24, 2014 6:03 am 
Offline

Joined: Sun Dec 22, 2013 4:10 pm
Posts: 24
Strange forum like many others. No one replies even after so many days


Top
 Profile  
 
 Post subject: Re: gns3 error - Can't give IP to FastEthernet Int. in a ro
PostPosted: Sun Aug 24, 2014 6:31 am 
Offline

Joined: Fri Mar 05, 2010 11:33 am
Posts: 1494
Location: Australia
Quote:
No one replies even after so many days


This is probably because you were not quite clear enough in your first request, but you did attempt to explain, so I'll tell you what I need to know.

In GNS3, locate the GNS3 management console near the bottom of the screen. In the console, type show run. You should get some output like this:

Code:
=> show run
autostart = False
[127.0.0.1:7200]
    workingdir = /var/folders/53/sl8_hqnj0wn3gl14tst6sw3w0000gn/T/GNS3_vRLmSE/working
    udp = 10001
    [[3640]]
        image = /Users/username/GNS3/Images/c3640-js-mz.124-25a.image
        ram = 128
        idlepc = 0x6050c570
        sparsemem = True
        ghostios = True
    [[ROUTER R1]]
        model = 3640
        console = 2101
        aux = 2501
        slot0 = NM-16ESW
        f0/0 = R2 f0/0
        f0/1 = R3 f0/1
    [[ROUTER R2]]
        model = 3640
        console = 2102
        aux = 2502
        slot0 = NM-16ESW
        f0/0 = R1 f0/0
        f0/1 = R3 f0/0
    [[ROUTER R3]]
        model = 3640
        console = 2103
        aux = 2503
        slot0 = NM-16ESW
        f0/0 = R2 f0/1
        f0/1 = R1 f0/1
=>


That way I can build my config to match yours so I can help you.

If it is a router config issue, it is also a good idea to show the part of the config that you are having problems with (not the whole config, unless you don't know where the problem is)

For instance, you should now be able to use the config above to create a topology like mine (with 3 x 3650 routers with NM16-ESW cards).

And here's part of the config that shows I can't reproduce the error you explained:

Code:
R2# show running interface f0/1
Building configuration...

Current configuration : 80 bytes
!
interface FastEthernet0/1
no switchport
ip address 1.1.1.2 255.255.0.0
end


And
Code:
R3#show running interface f0/0
Building configuration...

Current configuration : 80 bytes
!
interface FastEthernet0/0
no switchport
ip address 1.1.1.1 255.255.0.0
end

R3#ping 1.1.1.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/23/28 ms


So given that *I* don't have the problem, you might start looking at the IOS image that you are using. As you can see from the output above, I am using an image called c3640-js-mz.124-25a which makes it version 12.4(25a)

HTH

_________________
RedNectar
http://rednectar.net
@rednectarchris
GNS3 WorkBench-a VMware image of Ubuntu with GNS3 and VPCS installed and a collection of exercises/labs


Top
 Profile  
 
 Post subject: Re: gns3 error - Can't give IP to FastEthernet Int. in a ro
PostPosted: Tue Aug 26, 2014 9:36 pm 
Offline

Joined: Thu Jul 10, 2014 4:46 pm
Posts: 57
This isn't related to some devices "reserving" the first two ports to itself, is it? I don't remember offhand which ones they are, but there's at least one device that forces you to avoid the first two FE interfaces.

/Probably wrong, but it's worth a shot.


Top
 Profile  
 
 Post subject: Re: gns3 error - Can't give IP to FastEthernet Int. in a ro
PostPosted: Wed Aug 27, 2014 11:15 am 
Offline

Joined: Fri Mar 05, 2010 11:33 am
Posts: 1494
Location: Australia
Quote:
there's at least one device that forces you to avoid the first two FE interfaces

If this is so, I haven't heard of it.

BUT, if you add the EtherSwitch router device, it will add a c3725 router with a NM-16ESW card, AND the default GNS3 baseconfig file will include:
Code:
no ip routing
interface f0/0
shut
interface f0/1
shut
so as to make as much as possible like a layer 2 switch.

But you have been working with a c3640, so that doesn't apply

_________________
RedNectar
http://rednectar.net
@rednectarchris
GNS3 WorkBench-a VMware image of Ubuntu with GNS3 and VPCS installed and a collection of exercises/labs


Top
 Profile  
 
 Post subject: Re: gns3 error - Can't give IP to FastEthernet Int. in a ro
PostPosted: Wed Aug 27, 2014 1:14 pm 
Offline

Joined: Thu Jul 10, 2014 4:46 pm
Posts: 57
rednectar wrote:

BUT, if you add the EtherSwitch router device, it will add a c3725 router with a NM-16ESW card, AND the default GNS3 baseconfig file will include:
Code:
no ip routing
interface f0/0
shut
interface f0/1
shut
so as to make as much as possible like a layer 2 switch.

But you have been working with a c3640, so that doesn't apply



That's the one I was thinking of. My mistake!




Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO