نعم أخي الكريم و أنا دائما أعملها
و هذا مثال عندي على السريع :
قمت بإتشاء 3 Vlan
Vlan 10 Name Slaes
Vlan 20 Name Marketing
Vlan 30 Name IT
هذه هي ال كونفيغوريشن :
لا تنسى الوصلة بين السويتش و الراوتر trunkكود:hostname GateWay ! ! ! ! ! ip ssh version 1 no ip domain-lookup ! ! interface FastEthernet0/0 no ip address duplex auto speed auto ! interface FastEthernet0/0.1 encapsulation dot1Q 1 native ip address 192.168.1.254 255.255.255.0 ! interface FastEthernet0/0.10 encapsulation dot1Q 10 ip address 192.168.10.254 255.255.255.0 ! interface FastEthernet0/0.20 encapsulation dot1Q 20 ip address 192.168.20.254 255.255.255.0 ! interface FastEthernet0/0.30 encapsulation dot1Q 30 ip address 192.168.30.254 255.255.255.0 ! interface FastEthernet0/1 no ip address duplex auto speed auto shutdown ! ip classless ! ! ! ! ip dhcp pool Vlan10 network 192.168.10.0 255.255.255.0 default-router 192.168.10.254 ip dhcp pool Vlan20 network 192.168.20.0 255.255.255.0 default-router 192.168.20.254 ip dhcp pool Vlan30 network 192.168.30.0 255.255.255.0 default-router 192.168.30.254 ! line con 0 line vty 0 4 login ! ! end
بالتوفيق إن شاء الله
المفضلات