linuxÍøÇÅģʽvlantrunk͸´«
linuxÍøÇÅģʽvlantrunk͸´«
2007-12-27 08:30
Ê×ÏÈʹÓÃvconfig´´½¨vlanÐéÄâ½Ó¿Ú£¬²¢·Ö±ðÔÚÁ½¸ö½Ó¿ÚÉÏÔö¼Óvlan100\vlan200\vlan300
vconfig add eth0 100
vconfig add eth0 100
vconfig add eth0 300
vconfig add eth1 100
vconfig add eth1 200
vconfig add eth1 300
ÆôÓÃvlan¶Ë¿Ú
ifconfig eth0.100 up
ifconfig eth0.200 up
ifconfig eth0.300 up
ifconfig eth1.100 up
ifconfig eth1.200 up
ifconfig eth1.300 up
´´½¨ÍøÇÅ(Ãû³ÆΪbr0)
brctl addbr br0
//¼ÓÈë¶Ë¿Ú(·Ö±ð½«Á½¸öVlan¼ÓÈëÍøÇÅÖÐ)
ÇмÇ:²»Êǽ«eth0ºÍeth1Ìí¼Óµ½ÍøÇÅÖÐ
brctl addif br0 eth0.100
brctl addif br0 eth0.200
brctl addif br0 eth0.300
brctl addif br0 eth1.100
brctl addif br0 eth1.200
brctl addif br0 eth1.300
×¢£º Ò»°ãÇé¿öËùÓÐVlanʹÓÃÒ»¸öÍøÇż´¿É¡£Èç¹ûvlanºÜÉÙ£¬Ò²¿ÉÒÔÒ»¸övlanʹÓÃÒ»¸öÍøÇÅ£¬µ«ÕâÒ²ÓоÖÏÞÐÔ£¬ÒòΪlinux2.6×î¶àÖ»ÔÊÐíÔö¼Ó30¸öÍøÇÅ£¬µ«Õâ¶ÔСÐ͵ÄÍøÂçÀ´ËµÒѾ×ã¹»ÓÃÁË
Ïà¹ØÎĵµ£º
1. HCI²ãÐÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI) ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈÐÒé ......
£¨L2CAPÐÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPÐÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼Á¬½Ó¿ØÖƺÍÊÊÅäÐÒé (L2CAP) ΪÉϲãÐÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àÐÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãÐÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......
(ËÄ)¡¡ÍøÂçƪ¡¡
¡¡¡¡LinuxµÄ×éÍøÄÜÁ¦·Ç³£Ç¿´ó£¬ËüµÄTCP/IP´úÂëÊÇ×î¸ß¼¶µÄ¡£LinuxÌṩÁ˶ÔÓÚµ±Ç°µÄTCP/IPÐÒéµÄÍêÈ«Ö§³Ö£¬²¢ÇÒ°üÀ¨Á˶ÔÏÂÒ»´úInternet¡£ÐÒéIpv6µÄÖ§³Ö¡£LinuxÄں˻¹°üÀ¨ÁËIP·À»ðǽ´úÂë¡¢IP·Àα¡¢IP·þÎñÖÊÁ¿¿ØÖƼ°Ðí¶à°²È«ÌØÐÔ¡£ÕâЩÌØÐÔ¿ÉÒÔºÍÏñCiscoÕâÑùµÄ¹«Ë¾ÌṩµÄ¸ß¶Ë·ÓÉÉ豸µÄÌØÐÔÏàæÇÃÀ¡£´ËÍ ......
ѧϰlinuxÒ»Äê¶àÁË£¬»ù±¾¾ÍÊÇÒ»¸ö“ϹÕû££>³öÎÊÌ⣣>°Ù¶È/Google££>½â¾öÎÊÌ⣣>¼ÌÐøϹÕû"µÄÑ»·¡£ºÜ¸ÐлÍøÉÏÄÇô¶àÈ˶¼ÄÜ°Ñ×Ô¼ºµÄ¾Àú¡¢¾Ñé¸ú´ó¼Ò·ÖÏí£¬ËùÒÔÒ»Ö±¶¼ÓаÑ×Ô¼ºÅöµ½µÄÎÊÌâ¼°½â¾ö°ì·¨¸ú´ó¼Ò·ÖÏí£¬Ï£Íû¶Ô´ó¼ÒÄÜÓÐËù°ïÖú¡£
ºÃ£¬²»¶à·Ï»°ÁË¡ ......
ÏÈ
·ÅÒ»¶ÎʾÀý³ÌÐò£¬Õâ¶Î³ÌÐòÎÒÔÚRH9ºÍAS4ϱàÒëͨ¹ý£¬³ÌÐò¹¦ÄܾÍÊÇÓôÓ2.2Äں˼ÓÈëµÄPF_PACKETÐÒé×åÀ´½øÐеײãÊý¾Ý°ü²¶»ñ²¢ÏÔʾ¡£
PF_PACKETÐÒé×åÊÇÓëϵͳTCP/IPÐÒéÕ»²¢ÐеÄͬ¼¶±ðÄ£¿é£¬¼´´ÓPF_PACKETÐÒé×åµÃµ½µÄÊý¾Ý°üÊÇûÓо¹ýϵͳTCP/IPÐÒéÕ»´¦Àí
µÄ¡£¶øÇÒ£¬Í¨¹ýÉèÖûìÔÓģʽ£¬¿ÉÒÔºÜÈÝÒ×µÄʵÏÖsniffe ......