isolate vlans from each other

isolate vlans from each other

NewsGroups | Search | Tools

General Cisco Forum - Cisco Systems - Hardware Software and Security News and Discussions 

Bookmark this page:  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
isolate vlans from each other tg 07-11-2009
If you were  Registered and logged in, you could reply and use other advanced thread options
Posted by tg on July 11, 2009, 7:50 am
cisco 2651XM router
IOS: c2600-adventerprisek9-mz.124-15.T8.bin

I have a vlan1 on 172.16.0.x and a vlan192 on 192.168.0.x. Both vlans are
routed through Dialer0 so they can surf the internet. At the moment both
these vlans can ping each other. I want to isolate vlan1 and valn192 from
each other so neither network can ping the other but I still want them both
to access the internet. How can I do this? Here is a small section of my
current config Thanks for any advice.

interface Vlan1
ip address 172.16.1.30 255.255.0.0
ip nat inside
ip virtual-reassembly
!
interface Vlan192
ip address 192.168.0.10 255.255.255.0
ip nat inside
ip virtual-reassembly
!
interface Dialer0
ip nat outside

<snip>

ip nat inside source list 1 interface Dialer0 overload
ip nat inside source list 2 interface Dialer0 overload
!
access-list 1 permit 172.16.0.0 0.0.255.255
access-list 2 permit 192.0.0.0 0.255.255.255
dialer-list 1 protocol ip permit








Posted by bod43 on July 11, 2009, 11:37 pm
> cisco 2651XM router
> IOS: c2600-adventerprisek9-mz.124-15.T8.bin
> I have a vlan1 on 172.16.0.x and a vlan192 on 192.168.0.x. Both vlans are
> routed through Dialer0 so they can surf the internet. At the moment both
> these vlans can ping each other. I want to isolate vlan1 and valn192 from
> each other so neither network can ping the other but I still want them bo=
th
> to access the internet. How can I do this? Here is a small section of my
> current config Thanks for any advice.
> interface Vlan1
> =A0ip address 172.16.1.30 255.255.0.0
> =A0ip nat inside
> =A0ip virtual-reassembly
> !
> interface Vlan192
> =A0ip address 192.168.0.10 255.255.255.0
> =A0ip nat inside
> =A0ip virtual-reassembly
> !
> interface Dialer0
> =A0ip nat outside
> ip nat inside source list 1 interface Dialer0 overload
> ip nat inside source list 2 interface Dialer0 overload
> !
> access-list 1 permit 172.16.0.0 0.0.255.255
> access-list 2 permit 192.0.0.0 0.255.255.255
> dialer-list 1 protocol ip permit

Just a nit-pick, your 172 VLAN is 172.16.x.x.
"I have a vlan1 on 172.16.0.x and a vlan192 on 192.168.0.x."

conf t

ip access-list e ACL.172.in
deny 172.16.0.0 0.0.255.255 192.168.0.0 0.0.0.255
permit ip any any

ip access-l e ACL.192.in
deny 192.168.0.0 0.0.0.255 172.16.0.0 0.0.255.255
permit ip any iny

interface Vlan1
ip access-group ACL.172.in in

int vl 192
ip access-group ACL.192.in in

end

! Once you are happy with the changes, save them
copy run start

Your problem descripton and question was by the way
exemplary. Perfectly expressed - in my view.

sh ip access-l ! To see what you actually have.

Good luck.

Posted by bod43 on July 11, 2009, 11:41 pm

Sorry a few typos. Did not try it on a router.

conf t

ip access-list e ACL.172.in
deny ip 172.16.0.0 0.0.255.255 192.168.0.0 0.0.0.255
permit ip any any

ip access-l e ACL.192.in
deny ip 192.168.0.0 0.0.0.255 172.16.0.0 0.0.255.255
permit ip any any

interface Vlan1
ip access-group ACL.172.in in

int vl 192
ip access-group ACL.192.in in

end

! Once you are happy with the changes, save them
copy run start

sh ip access-l ! To see what you actually have.

Posted by tg on July 12, 2009, 6:04 am


ok bod thanks very much for your feedback.



Similar ThreadsPosted
how to isolate vlan from others & WAP May 25, 2007, 11:18 am
Windows - Browsing across vlans and also DC's on separate vlans November 16, 2005, 9:26 pm
Pix and VLANs - what the F? July 17, 2004, 8:20 pm
10.0.0.0/16 and a 10.0.1.0/24 VLANs on the same box? August 9, 2005, 10:03 am
VLANs March 31, 2006, 3:49 pm
PIX 5.6 (no E) VLANs? July 18, 2006, 5:19 pm
Not seeing all VLANS October 12, 2007, 3:45 am
Vlans September 14, 2009, 12:54 pm
Vlans September 15, 2009, 8:44 am
Which router for VLANS July 19, 2004, 8:17 pm

other useful resources:
The Federal Communications Commission (FCC)
Telecommunications Industry Association
Electronic and Software Security Products and Services
International Telecommunication Union

Custom CGI Perl and PHP programming by 1-Script.com

Contact Us | Privacy Policy
The site map in XML format XML site map