Доброго времени суток.
Есть плоская сеть, нужно ее поделить на подсети.
Доступ пользователей по PPoE
На стенде DGS 3120-24SC и коммутаторы доступа DES 3200-26
на DGS 3120-24SC
Код:
create account admin superadmin
create account user simpleuser
enable telnet 6000
disable web
config vlan default delete 1-24
create vlan vlan2001 tag 2001 (управляющий vlan для коммутаторов)
create vlan vlan1001 tag 1001
create vlan vlan1002 tag 1002
create vlan vlan1003 tag 1003
create vlan vlan1004 tag 1004
create vlan vlan1005 tag 1005
config vlan vlan2001 add tagged 1-24
config vlan vlan1001 add tagged 1:9
config vlan vlan1002 add tagged 1:10
config vlan vlan1003 add tagged 1:11
config vlan vlan1004 add tagged 1:12
config vlan vlan1005 add tagged 1:13
config ipif System ipaddress 10.90.90.90/8 vlan default state disable
create ipif if1001 10.0.1.2/24 vlan1001 state enable
create ipif if1002 10.0.2.2/24 vlan1002 state enable
create ipif if1003 10.0.3.2/24 vlan1003 state enable
create ipif if1004 10.0.4.2/24 vlan1004 state enable
create ipif if1005 10.0.5.2/24 vlan1005 state enable
create ipif if2001 172.20.10.1/24 vlan2001 state enable
на одном из DES 3200-26
Код:
create account admin superadmin
create account user simpleuser
enable telnet 6000
disable web
create trusted_host ххххх
config vlan default delete 1-26
create vlan vlan1001 tag 1001
config vlan vlan1001 add untagged 1-24
config vlan vlan1001 add tagged 25-26
create vlan vlan2001 tag 2001
config vlan vlan2001 add tagged 25-26
config ipif System vlan vlan2001 ipaddress 172.20.10.2/24 state enable
config stp version rstp
config stp ports 1-24 fbpdu disable state disable
enable loopdetect
config loopdetect recover_timer 1800
config loopdetect interval 10
config loopdetect ports 1-24 state enable
config loopdetect ports 25-26 state disable
create access_profile packet_content_mask offset1 l2 0 0xFFFF offset2 l3 0 0xFF profile_id 2
config access_profile profile_id 2 add access_id 1 packet_content offset1 0x8863 offset2 0x0007 port 1-24 deny
config traffic control 1-24 broadcast enable multicast enable action drop threshold 64 countdown 5 time_interval 5
Есть вопросы:
1.Все ли правильно для DGS 3120-24SC?
2.Есть web сервер можно ли сделать на него маршрутизацию на DGS 3120-24SC ?
3.На доступе хочется защитится от левых DHCP правильное ли правило ACL
Код:
create access_profile ip udp src_port_mask 0xFFFF profile_id 5
config access_profile profile_id 5 add access_id auto_assign ip udp src_port 67 port 1-24 deny
config access_profile profile_id 5 add access_id auto_assign ip udp src_port 67 port 25 permit
Может еще что подскажите;)