本文共 5074 字,大约阅读时间需要 16 分钟。
Hi,You do not have to configure 802.1q tagging on your host (except fortesting). Configure the vlan ports and trunk with proper tag option on yourswitch. NS |802.1q tagged | switch | | non tagged portsFlO-----Message d'origine-----De : nn-bouncesqorbit.net [mailto:nn-bounces qorbit.net]De la part deBenoit PlessisEnvoyé : mardi, 12. octobre 2004 10:19À : Anthony Laing; NetScreen Mailing ListObjet : Re: [nn] SubInterface in NS25, what i im missing ?On Mon, 2004-10-11 at 18:24, Anthony Laing wrote:> Benoit,>> Is the PC directly connected on Eth1? If so, are you sure your PC issending> a VLAN tag in its frames?>> Also, just to check something, can you give me the output from "get zone> trust">> AnthonyHy,In fact i'm quite sure he doesn't send VLAN tag :) And it was more orless my initial question:>> >> >> > What did i missed ? Is something special needed on thecomputer ?I've found the tools to do that under linux,but it has crashed my 2.6 badly:802.1Q VLAN Support v1.8 Ben Greear candelatech.com>All bugs added by David S. Miller redhat.com>Unable to handle kernel NULL pointer dereference at virtual address00000040 printing eip:c01972e3*pde = 00000000Oops: 0000 [#1]PREEMPTModules linked in: 8021q smbfs msr cpuid parport_pc lp parport ipv6 e100eepro100 mii snd_intel8x0 snd_ac97_codec snd_pcm_oss snd_mixer_osssnd_pcm snd_timer snd_page_alloc gameport snd_mpu401_uart snd_rawmidisnd_seq_device snd soundcore ata_piix libata hw_random pci_hotplugehci_hcd joydev mousedev tsdev usbhid uhci_hcd usbcore intel_mch_agpintel_agp agpgart rtc pcspkr floppy evdev eeprom i2c_sensor i2c_i801i2c_core p4_clockmod speedstep_lib freq_table sd_mod scsi_mod ide_cdcdrom reiserfs ext2 ext3 jbd mbcache dm_mod ide_generic ide_disk piixide_core unixCPU: 0EIP: 0060:[ ] Not taintedEFLAGS: 00010246 (2.6.8-p4)EIP is at pci_set_power_state+0x12e/0x136eax: 00000003 ebx: de4b56b8 ecx: 00008947 edx: 00000000esi: 00000000 edi: 00000000 ebp: de4b5000 esp: daedfea0ds: 007b es: 007b ss: 0068Process hald (pid: 3126, threadinfo=daede000 task=deeb7260)Stack: daede000 40283b78 de4b56b8 de4b5220 daedfefc de4b5000 e06d78d20000000a daedff31 00000000 ffffffff daedfeec e06d77b9 daedfefc daedff40e070956f ffffffa1 00008947 de4b5000 30687465 00000000 00000000 0000000008190000Call Trace: [ ] speedo_ioctl+0x119/0x155 [eepro100] [ ] speedo_ioctl+0x0/0x155 [eepro100] [ ] vlan_dev_ioctl+0xa8/0xd9 [8021q] [ ] vlan_dev_ioctl+0x0/0xd9 [8021q] [ ] dev_ifsioc+0x354/0x3c2 [ ] dev_load+0x21/0x69 [ ] dev_ioctl+0x13c/0x292 [ ] udp_ioctl+0x0/0xb9 [ ] inet_ioctl+0x82/0x8f [ ] sock_ioctl+0xeb/0x276 [ ] sys_ioctl+0x109/0x248 [ ] syscall_call+0x7/0xbCode: 8b 57 40 e9 f4 fe ff ff 55 89 c5 57 56 53 83 ec 08 85 d2 89But under MS environement what should i use to connect vlan ?Thanks,Benoit_______________________________________________nn mailing listnn qorbit.net
To create a subinterface, perform the following procedure: Open the WebUI. For more information on accessing the WebUI, refer to . From the NetScreen options menu, click Network, and then Interfaces: From the List Interfaces drop-down menu, select Sub-IF: From the Interface drop-down menu, select Sub-IF: Click New: From the Zone Name drop-down menu, select a zone to bind to. In the VLAN Tag text box, type a VLAN Tag number. Note : Do not use a VLAN Tag of 1, as this can cause some conflicts with Cisco switches. Click OK. From the Sub-Interface, click Edit: From Properties, click Track IP Options: Select the Enable Track IP check box: Click OK. To configure a subinterface, use the following commands via the CLI: >set interface ethernet1/1.1 tag 5 zone "Trust" >set interface ethernet1/1.1"ip 10.10.10.1/24 >set interface ethernet1/1.1 ip manageable > set int eth0/1.1 manage-ip 10.10.10.2 >set interface ethernet1/1.1 monitor threshold 255 >set interface ethernet1/1.1 monitor track threshold 1 >set interface ethernet1/1.1 monitor track weight 255 >set interface ethernet1/1.1 monitor track ip PURPOSE: Troubleshooting RELATED LINKS:
转载地址:http://rbhvi.baihongyu.com/