cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
543
Views
0
Helpful
3
Replies

Pri/Sec Network

leowchongwei
Level 1
Level 1

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 3

tbaranski
Level 4
Level 4

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

how shd the command line be?

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