Forwarding only selected IP

Home Forums Networking Cisco Routers & Switches How-to Forwarding only selected IP

Viewing 1 post (of 1 total)
  • Author
    Posts
  • Avatar
    cozsmin
    Member
    #156619

    Hello

    I have some experience in the networking environment for 2-3 years now so I deicded I give a try with Cisco too

    I did CCNA1 , read books … and so on

    Recently I imagined a circuit :

    PC ( 1.1.1.2 )
    .
    .. . . . . . . . . fa 0/0 . . . . .fa 0/1
    SWITCH


    ROUTER


    pc ( 2.2.2.2 )
    ./ . . . . . . . . 1.1.1.1 . . . . 2.2.2.1
    /
    SERVER ( 1.1.1.3 )

    NO nat , just plain IP forwarding

    So far in Packet tracer all the pcs can see eachother

    Now I want to configure the router to allow acces from 2.2.2.2 to 1.1.1.3 but not to 1.1.1.2

    so I tried this :

    (conf )acc-list 111 deny ip 2.2.2.2 0.0.0.255 1.1.1.2
    !!FA0/0:
    (conf-int ) ip acc 111 out

    SO now 2.2.2.2 cant reach 1.1.1.2 , and it cant reach the other ips either , except 1.1.1.1 :sad::x

    What am I doing wrong ?

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.