IT��ά������������ҵ��ֵ��
�й�IT��ά����ҳ | ��Ѷ���� | ��ά���� | ��Ϣ��ȫ | CIO�ӽ� | �Ƽ��� | ��Ѱ��� | ��ά��Դ | ר��߻� | ֪ʶ�� | ��̳

��Ϊ·����qos car+nat+dhcp+vlan�����ĵ�

2009��01��11��
/

�ͻ����绷����

һ��С�Ͱ칫���磬�����ҹ�˾��A��B����һ��д��¥�칫��������һ��4M����VDSLר�ߣ�����A�ǽ�3M��ר�߷��ã�B�ǽ�1M��ר�߷��ã�����60̨�������ң���30̨���ԣ�����̨������24��D-LINK��������һ̨��Ϊ1821·������1wan�ڣ�4lan�ڣ���

�û���������DIV>

��1����A��B���ܻ��á�
��2����A��B��ͨ����Ϊ·����DHCP��ȡ��ַ��
��3����A��B�������뻮�ֿ���A����3M������B����1M������ԭ����ʱ��B��˾�����������󾭳�Ӱ�쵽A��˾����칫����

�򵥽��������

������������������ʵ���Ͻ�ͨ����Ϊ1821·��������ʵ�����Ϲ��ܣ�����ʵʩ���£�
��1�����ڻ�Ϊ·����1821�ڲ����ؿڣ�eth1/0�������ӽӿڣ�eth1/0.1��eth1/0.2�����ֱ������������أ�192.168.0.1��192.168.0.2�������ֱ���з�װ��vlan2��vlan3���Ӧ��
��2�����ڻ�Ϊ·����1821����lan�ڣ�eth1/1��eth1/2����������vlan(vlan2��vlan3)��
��3�����ֱ���������ͬ���߼��ӽӿڣ�eth1/0.1��eth1/0.2������nat��Ӧ�á�
��4�����ֱ���������ͬ���߼��ӽӿڣ�eth1/0.1��eth1/0.2������dhcp����ͬһ�����ӿ��������vlan����Ӧ��dhcp������������ͬ�����Ρ�
��5�������ڸ�·����lan��Ϊ����˿ڣ��޷�ʵ��qoscar���٣�ֻ�ܿ�������Ψһ���ڲ����ؽӿڣ�eth1/0�����ӽӿ���ʵ��qoscar���ٴﵽ�������Ƶ����á�
��6��������wan�ڵ�ַ��X��X��X��X��������staticroute��ַ���󹦸�ɡ�
��7���������û���¼��super��console��vty�ȣ��û��������루�������������ģʽ����
��8�������Բ��۲�˿���Ϣ��������Ϣ�ȣ���ʱ������Ӧ���ԣ����ڿ��ǵ����豸����������ʱ����ȣ���δ����̫����ԣ���ACL�ȣ��͹��ܡ�

��Ϊ1821·���������������£�

#
sysnameQuidway
#
clocktimezonegmt-12:000minus12:00:00
#
cpu-usagecycle1min
#
connection-limitdisable
connection-limitdefaultactiondeny
connection-limitdefaultamountupper-limit50lower-limit20
#
webset-packageforceflash:/http.zip
#
radiusschemesystem
#
domainsystem
#
local-user*******
passwordcipher.]@*********
service-typetelnetterminal
level3
service-typeftp
#
aclnumber2000\\����natAcl
rule0permitsource192.168.0.00.0.0.255
#
aclnumber3000\\����natAcl
rule0permitipsource192.168.1.00.0.0.255
aclnumber3001\\����FirewallAcl
rule0denyipdestination192.168.1.00.0.0.255
aclnumber3002\\����FirewallAcl
rule0denyipdestination192.168.0.00.0.0.255
#
interfaceEthernet1/0
ipaddressdhcp-alloc
#
interfaceEthernet1/0.1
ipaddress192.168.0.1255.255.255.0
dhcpselectinterface\\dhcpӦ�����ӽӿ�
dhcpserverdns-list202.106.0.20202.106.196.115
firewallpacket-filter3001inbound\\firewallACL����Ӧ���ڽӿ�
vlan-typedot1qvid2\\�ӽӿڷ�װdot1q
qoscarinboundanycir3072000cbs153600ebs1000greenpassreddiscard
\\��������qoscar����
qoscaroutboundanycir3072000cbs153600ebs1000greenpassreddiscard
\\��������qoscar����
#
interfaceEthernet1/0.2
ipaddress192.168.1.1255.255.255.0
dhcpselectinterface\\dhcpӦ�����ӽӿ�
dhcpserverdns-list202.106.0.20202.106.196.115
firewallpacket-filter3002inbound\\firewallACL����Ӧ���ڽӿ�
vlan-typedot1qvid3\\�ӽӿڷ�װdot1q
qoscarinboundanycir1024000cbs51200ebs1000greenpassreddiscard
\\��������qoscar����
qoscaroutboundanycir1024000cbs51200ebs1000greenpassreddiscard
\\��������qoscar����

#
interfaceEthernet1/1
portaccessvlan2\\��e1/1�˿ڼ���vlan2
#
interfaceEthernet1/2
portaccessvlan3\\��e1/1�˿ڼ���vlan2
#
interfaceEthernet1/3
#
interfaceEthernet1/4
#
interfaceEthernet2/0\\����wan������
ipaddressX��X��X��X255.255.255.224
natoutbound3000
natoutbound2000
#
interfaceNULL0
#
FTPserverenable
#
iproute-static0.0.0.00.0.0.0y��y��y��ypreference60
#
user-interfacecon0\\�û���¼����
authentication-modepassword
setauthenticationpasswordcipher0HB8%-MB%I^[Q1R','&6NQ!!
user-interfacevty04
userprivilegelevel3
setauthenticationpasswordcipher0HB8%-MB%I^[Q1R','&6NQ!!
#
return
[Quidway]


���������뵽��http://bbs.cnitom.com

�����

ͼ���ȵ�

������������ٻ����������ż������
������������ٻ����������ż��������װ����������� ��װ���̷dz��򵥡���ֻ�谴�������ϵ���ʾ��װ���輴����ɰ�...
���繥���������� ·��������������
���繥���������� ·����������������һ�������ᵽ����̬�Ĺ����߱������ԣ�������·���������ṩ�Ĺ���֮�����û�...

�����ȵ�