Simulate a PC on 2950 port

thenjdukethenjduke Member Posts: 894 ■■■■□□□□□□
I am assigning vlans to ports on 2950 and want to simulate a PC connected to it. Any way to do this?
CCNA, MCP, MCSA, MCSE, MCDST, MCITP Enterprise Administrator, Working towards Networking BS. CCNP is Next.

Comments

  • DPGDPG Member Posts: 780 ■■■■■□□□□□
    Do you just want the port to be up/up or do you need for traffic to actually pass through it?
  • thenjdukethenjduke Member Posts: 894 ■■■■□□□□□□
    I need traffic to actually pass through it. I do not have a PC to hook up too it.
    CCNA, MCP, MCSA, MCSE, MCDST, MCITP Enterprise Administrator, Working towards Networking BS. CCNP is Next.
  • networker050184networker050184 Mod Posts: 11,962 Mod
    You can hook up a router to act as a PC.
    An expert is a man who has made all the mistakes which can be made.
  • HardDiskHardDisk Member Posts: 62 ■■□□□□□□□□
    To achieve an UP/UP status try this command: (CBTnuggets ICND2)

    R1(config)#int fa 0/0
    R1(config-if)#ip address A.B.C.D a.b.c.d
    R1(config-if)#no keepalive
    R1(config-if)#no shutdown
    R1(config-if)#^z

    In GNS3 I have been using my C1700-MB-1ETH router image (64 MB RAM) to replicate a PC. This router (C1720) has 1 FastEthernet port so it works well as a substitute PC.

    I set this router up with these following commands.

    Router(config)#no ip routing
    Router(config)#interface fa 0/0
    Router(config-if)#IP address A.B.C.D a.b.c.d
    Router(config-if)#no shutdown
    Router(config-if)#exit
    Router(config)#ip default-gateway A.B.C.D
    Router(config)#ip http server (Optional-starts http server process)


    OR as seen in the GNS3 setup tutorial: (Include's a good ICND1 lab)

    Documentation | GNS3
    (A tutorial for GNS3 0.5 is available here (highly recommended for beginners).

    Scroll about half way through the tutorial until you find the section:
    Using the Virtual PC Simulator (and the Symbol Library)

    This tutorial goes into detail on how to set-up this virtual PC (and much more) and in this tutorial you are provided the link to download for free the vpcs.exe application. For your convenience I have copied the link to that post below.

    http://wiki.freecode.com.cn/doku.php?id=wiki:vpcs


    Enjoy


  • HardDiskHardDisk Member Posts: 62 ■■□□□□□□□□
    Here is another way and perhaps better. I am still experimenting.

    Router(config)#no logging console
    Router(config)#interface fa 0/0
    Router(config-if)#IP address A.B.C.D a.b.c.d
    Router(config-if)#no shutdown
    Router(config-if)#exit
    Router(config)#ip route 0.0.0.0 0.0.0.0 192.168.1.1

    Note: 192.168.1.1 should be your default gateway IP address.
Sign In or Register to comment.