设为首页 收藏本站
查看: 1715|回复: 0

[经验分享] juniper subinterface problem

[复制链接]

尚未签到

发表于 2015-11-5 14:01:52 | 显示全部楼层 |阅读模式

RE: SubInterface in NS25, what i im missing ?


Hi,
You do not have to configure 802.1q tagging on your host (except for
testing). Configure the vlan ports and trunk with proper tag option on your
switch.
NS
|
802.1q tagged
|
switch
|     |
non tagged ports
FlO
-----Message d'origine-----
De : nn-bounces <at> qorbit.net [mailto:nn-bounces <at> qorbit.net]De la part de
Benoit Plessis
Envoyé : mardi, 12. octobre 2004 10:19
À : Anthony Laing; NetScreen Mailing List
Objet : 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 is
sending
> a VLAN tag in its frames?
>
> Also, just to check something, can you give me the output from &quot;get zone
> trust&quot;
>
> Anthony
Hy,
In fact i'm quite sure he doesn't send VLAN tag :) And it was more or
less my initial question:
>> >> >> > What did i missed ? Is something special needed on the
computer ?
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 <greearb <at> candelatech.com>
All bugs added by David S. Miller <davem <at> redhat.com>
Unable to handle kernel NULL pointer dereference at virtual address
00000040
printing eip:
c01972e3
*pde = 00000000
Oops: 0000 [#1]
PREEMPT
Modules linked in: 8021q smbfs msr cpuid parport_pc lp parport ipv6 e100
eepro100 mii snd_intel8x0 snd_ac97_codec snd_pcm_oss snd_mixer_oss
snd_pcm snd_timer snd_page_alloc gameport snd_mpu401_uart snd_rawmidi
snd_seq_device snd soundcore ata_piix libata hw_random pci_hotplug
ehci_hcd joydev mousedev tsdev usbhid uhci_hcd usbcore intel_mch_agp
intel_agp agpgart rtc pcspkr floppy evdev eeprom i2c_sensor i2c_i801
i2c_core p4_clockmod speedstep_lib freq_table sd_mod scsi_mod ide_cd
cdrom reiserfs ext2 ext3 jbd mbcache dm_mod ide_generic ide_disk piix
ide_core unix
CPU:    0
EIP:    0060:[<c01972e3>]    Not tainted
EFLAGS: 00010246   (2.6.8-p4)
EIP is at pci_set_power_state&#43;0x12e/0x136
eax: 00000003   ebx: de4b56b8   ecx: 00008947   edx: 00000000
esi: 00000000   edi: 00000000   ebp: de4b5000   esp: daedfea0
ds: 007b   es: 007b   ss: 0068
Process hald (pid: 3126, threadinfo=daede000 task=deeb7260)
Stack: daede000 40283b78 de4b56b8 de4b5220 daedfefc de4b5000 e06d78d2
0000000a
daedff31 00000000 ffffffff daedfeec e06d77b9 daedfefc daedff40
e070956f
ffffffa1 00008947 de4b5000 30687465 00000000 00000000 00000000
08190000
Call Trace:
[<e06d78d2>] speedo_ioctl&#43;0x119/0x155 [eepro100]
[<e06d77b9>] speedo_ioctl&#43;0x0/0x155 [eepro100]
[<e070956f>] vlan_dev_ioctl&#43;0xa8/0xd9 [8021q]
[<e07094c7>] vlan_dev_ioctl&#43;0x0/0xd9 [8021q]
[<c01fc732>] dev_ifsioc&#43;0x354/0x3c2
[<c01fae5f>] dev_load&#43;0x21/0x69
[<c01fc8dc>] dev_ioctl&#43;0x13c/0x292
[<c023238a>] udp_ioctl&#43;0x0/0xb9
[<c02395ae>] inet_ioctl&#43;0x82/0x8f
[<c01f3880>] sock_ioctl&#43;0xeb/0x276
[<c015b175>] sys_ioctl&#43;0x109/0x248
[<c0105dbf>] syscall_call&#43;0x7/0xb
Code: 8b 57 40 e9 f4 fe ff ff 55 89 c5 57 56 53 83 ec 08 85 d2 89
But under MS environement what should i use to connect vlan ?
Thanks,
Benoit
_______________________________________________
nn mailing list
nn <at> qorbit.net
http://www.qorbit.net/mailman/listinfo/nn






To create a subinterface, perform the following procedure:
DSC0000.gif Open the WebUI. For more information on accessing the WebUI, refer to KB4317 - [ScreenOS] Accessing your Juniper firewall device using the WebUI.

DSC0001.gif From the NetScreen options menu, click Network, and then Interfaces:
DSC0002.gif



DSC0003.gif From the List Interfaces drop-down menu, select Sub-IF:
DSC0004.gif

DSC0005.gif From the Interface drop-down menu, select Sub-IF:

DSC0006.gif Click New:
DSC0007.gif



DSC0008.gif 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.
DSC0009.gif

DSC00010.gif Click OK.

DSC00011.gif From the Sub-Interface, click Edit:
DSC00012.gif



DSC00013.gif From Properties, click Track IP Options:
DSC00014.gif



DSC00015.gif Select the Enable Track IP check box:
DSC00016.gif

Click OK.

To configure a subinterface, use the following commands via the CLI:
>set interface ethernet1/1.1 tag 5 zone &quot;Trust&quot;
>set interface ethernet1/1.1&quot;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:

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-135485-1-1.html 上篇帖子: juniper的一道面试题. 下篇帖子: juniper SSG路由对个别用户(组)限速配置
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表