Packet Tracer

PPP123PPP123 Member Posts: 25 ■■□□□□□□□□
Just downloaded Packet Tracer.

I'm trying to configure an IP address on the routers interface but it won't let me.

Router#sh ip int brief Interface IP-Address OK? Method Status Protocol
GigabitEthernet0 172.1.1.1 YES unset administratively down down
FastEthernet0 unassigned YES unset up down
FastEthernet1 unassigned YES unset up down
FastEthernet2 unassigned YES unset up down
FastEthernet3 unassigned YES unset up down
Serial0 unassigned YES unset administratively down down
Ethernet1 192.168.3.1 YES unset up up
VirtualPortGroup0 192.168.1.1 YES unset up up
Cellular0 unassigned YES IPCP administratively down down
Vlan1 unassigned YES unset administratively down down
Router#config
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fastethernet 0
Router(config-if)#ip address 192.168.12.0 255.255.255.0
^
% Invalid input detected at '^' marker.

Most of the interfaces are set to a VLAN 1 by default and cant be changed, only the ones without the VLAN 1 next to them can be configured.

Comments

  • Node ManNode Man Member Posts: 668 ■■■□□□□□□□
    Look at the ip address and then compare to the subnet mask.
  • PPP123PPP123 Member Posts: 25 ■■□□□□□□□□
    What's the problem with it?
  • PCTechLincPCTechLinc Member Posts: 646 ■■■■■■□□□□
    PPP123 wrote: »
    Router(config)#int fastethernet 0
    Router(config-if)#ip address 192.168.12.0 255.255.255.0
    ^
    % Invalid input detected at '^' marker.

    Most of the interfaces are set to a VLAN 1 by default and cant be changed, only the ones without the VLAN 1 next to them can be configured.

    If you're asking about this specific error, it looks like you're trying to assign a Network ID to an interface (192.168.12.0).
    Master of Business Administration in Information Technology Management - Western Governors University
    Master of Science in Information Security and Assurance - Western Governors University
    Bachelor of Science in Network Administration - Western Governors University
    Associate of Applied Science x4 - Heald College
  • PPP123PPP123 Member Posts: 25 ■■□□□□□□□□
    Sorry that was a typo, my bad.

    It won't let me put any address in
  • PPP123PPP123 Member Posts: 25 ■■□□□□□□□□


    Any interface that has VLAN 1 next to it, I can't configure.

    I have tried disabling the VLAN but it won't let me because it is set to default.
  • rob42rob42 Member Posts: 423
    Which Router are you using?
    No longer an active member
  • PPP123PPP123 Member Posts: 25 ■■□□□□□□□□
  • rob42rob42 Member Posts: 423
    You can't assign an IP Address to the fa ports because they are 'Switch' ports (I believe that's the reason). Use a 'Generic' or a 2811 or a 2620.
    No longer an active member
  • PPP123PPP123 Member Posts: 25 ■■□□□□□□□□
    Thanks for your answer.

    I was trying to configure an OSPF lab, so I needed both fast and giga ethernet for cost differences.

    I never knew you could create more modules on a router.

    That has fixed my problem, thanks a bunch :)
  • rob42rob42 Member Posts: 423
    No problem. You're welcome. All the best.
    No longer an active member
  • Node ManNode Man Member Posts: 668 ■■■□□□□□□□
    If a port is configured for layer-2 (a switchport), it cant get an iP. only layer-3 ports can get IP's. depending on device, the command "no switchport" will set the port to layer-3. this might not work on all models of cisco.


    (sorry for the overkill, i see the answer has been reached icon_smile.gif )
  • PPP123PPP123 Member Posts: 25 ■■□□□□□□□□
    Works on a 1240.

    Every days a school day.

    Thanks

    No problem lol the more I learn the better. All input is appreciated :)
  • rob42rob42 Member Posts: 423
    Node Man wrote: »
    ... the command "no switchport" will set the port to layer-3....

    Good one: I'd forgotten about that...
    No longer an active member
  • PPP123PPP123 Member Posts: 25 ■■□□□□□□□□
    That will come in handy when I'm doing my ICND2.

    I will bookmark it.

    Thanks :)
Sign In or Register to comment.