NETGEAR 7000 Series Managed Switch Administration Guide Version 7.2

Create VLAN 48, add port 1/0/48 to it, and assign IP address 192.168.48.1 to it. (Netgear Switch) #vlan database

(Netgear Switch) (Vlan)#vlan 48 (Netgear Switch) (Vlan)#vlan routing 48 (Netgear Switch) (Vlan)#exit (Netgear Switch) #config

(Netgear Switch) (Config)#interface 1/0/48

(Netgear Switch) (Interface 1/0/48)#vlan participation include 48 (Netgear Switch) (Interface 1/0/48)#vlan pvid 48

(Netgear Switch) (Interface 1/0/48)#exit

(Netgear Switch) (Config)#vlan interface vlan 48 (Netgear Switch) (Interface-vlan 48)#routing

(Netgear Switch) (Interface-vlan 48)#ip address 192.168.48.1 255.255.255.0 (Netgear Switch) (Interface-vlan 48)#exit

(Netgear Switch) (Config)#exit

Create VLAN 38, add port 1/0/38 to it, and assign IP address 10.100.5.34 to it. (Netgear Switch) #vlan database

(Netgear Switch) (Vlan)#vlan 38 (Netgear Switch) (Vlan)#vlan routing (Netgear Switch) (Vlan)#exit (Netgear Switch) #config

(Netgear Switch) (Config)#interface 1/0/38

(Netgear Switch) (Interface 1/0/38)#vlan participation include 38 (Netgear Switch) (Interface 1/0/38)#vlan pvid 38

(Netgear Switch) (Interface 1/0/38)#exit

Netgear Switch) (Config)#interface vlan 38 (Netgear Switch) (Interface-vlan 38)#routing

(Netgear Switch) (Interface-vlan 38)#ip address 10.100.5.34 255.255.255.0 (Netgear Switch) (Interface-vlan 38)#exit

Enable IP routing on the switch. (Netgear Switch) (Config)#ip routing

Add a default route so that all the traffic without a destination is forwarded according to this default route.

(Netgear Switch) (Config)#ip route default 10.100.5.252

Create ACL 101 to deny all traffic that has destination IP 192.168.24.0/24. (Netgear Switch) (Config)#access-list 101 deny ip any 192.168.24.0 0.0.0.255

Create ACL 102 to deny all traffic that has destination IP 192.168.48.0/24. (Netgear Switch) (Config)#access-list 102 deny ip any 192.168.48.0 0.0.0.255

Access Control Lists (ACLs)

9-25

v1.0, May 2008

Page 101
Image 101
NETGEAR 7000 Series manual V1.0, May