Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Pri/Sec Network

Hi,

I have router interface configured with a primary and secondary ip address...eg

F0/0

192.168.1.0/24,

192.168.2.0/24 sec

how can i prevent the network from accessing each other...

Thanks

-Steven-

3 REPLIES
Bronze

Re: Pri/Sec Network

With an inbound access list on the f0/0 interface.

New Member

Re: Pri/Sec Network

how shd the command line be?

Re: Pri/Sec Network

Something like this:

access-list 110 deny ip 192.168.1.0 0.0.0.255 192.168.2.0 0.0.0.255

access-list 110 deny ip 192.168.2.0 0.0.0.255 192.168.1.0 0.0.0.255

access-list 110 permit ip any any

And then apply this ACL tý th interface inbound direction.

int fa0/0

ip access-group 110 in

90
Views
0
Helpful
3
Replies
CreatePlease to create content