发新话题
打印

[原创] Patch for MultiCast in Olive with VMware(版本重要变更,支持逻辑路由器!)

本主题由 wanzxj 于 2008-5-7 01:31 加入精华
我晕倒,不知道我下的FREEBSD还是别的原因,始终VM的网卡与真实PC的连不上,那位兄弟提供一个FREEBSD 6。1的下载连接?

TOP

good job.

TOP

楼主,请帮忙看看。
按照你的方法安装之后,OSPF还是无法建立,
想知道的一个问题就是,如何才能验证  
syscall.ko内核补丁,安装成功
也就是说有没有什么方法可以查看它的状态,或者什么的,
还有遇到的问题是,进入多用户系统下,
出现下面的错误,  不知道这个是否是正常的,如果不是对的,该怎么办啊


TOP

输入
kldstat 命令把结果贴上来。

看看能否看到syscall.ko



感觉你模块还没有加载上

# kldload syscall
syscall loaded at 210
max em unit is 4
Error At unit 2 Get Em softc
Error At unit 3 Get Em softc
# ^D


[email=root@%]root@%[/email] sysctl dev.em.0.fix_em_multicast=1
dev.em.0.fix_em_multicast: -1the input para is :
adapter->hw address is 0xc1adc310
mta is 0xc1d472e0
mcnt is 3
em unit updated mc address
-> -1
[email=root@%]root@%[/email] sysctl dev.em.1.fix_em_multicast=1
dev.em.1.fix_em_multicast: -1the input para is :
adapter->hw address is 0xc1ae8310
mta is 0xc1d472e0
mcnt is 3
em unit updated mc address
-> -1

[ 本帖最后由 rwayan 于 2008-1-17 13:16 编辑 ]

TOP

首先,感谢。

具体,如图:

看起来syscall是OK的哦

TOP

TOP

楼主,
請問以下兩個問題
1. kldload需要每次設備reboot後都需要輸入一次嗎?有沒有什麼方法可以解決
2. RIP似乎無法運作

Thanks.

TOP

ospf
isis都测试通过了


RIP也是好的,用的是multicast方式

[ 本帖最后由 rwayan 于 2008-1-18 08:33 编辑 ]

TOP

引用:
原帖由 maxavator 于 2008-1-17 13:47 发表
6331
是fix_em_multicast
不是_fix_em_multicast
你输错了

[ 本帖最后由 rwayan 于 2008-1-17 17:25 编辑 ]

TOP

juniper的代码运行是需要验证的,我没有他们的数字签名,所以只能通过单用户模式还没有认证之前,偷偷加载。

当然,这个问题也正在解决之中。。不过有难度。
引用:
原帖由 kungan.lin 于 2008-1-17 14:49 发表
楼主,
請問以下兩個問題
1. kldload需要每次設備reboot後都需要輸入一次嗎?有沒有什麼方法可以解決
2. RIP似乎無法運作

Thanks.

TOP

楼主速度真快 又更新了希望支持逻辑路由
支持组播已经很好了 这个问题困扰全球juniper爱好者很久了 终于被楼主解决

TOP

谢谢搂主,8.5的文件太大了,升级后.vmdk都有1G了,所以能否麻烦搂主制作一个jinstall-7.5R1.12-domestic-signed_Flying.tgz版本的组播补丁,谢谢。

TOP

楼主辛苦了

跪谢

TOP

我按这种方法安装上了,我启动一个DY与这个相连,想建立OSPF连接,可是在DY上显示如下,这是什么问题?请楼主帮忙
Router#
*Mar  1 00:41:19.407: %OSPF-4-ERRRCV: Received invalid packet: mismatch area ID, from backbone area must be virtual-link but not found from 192.168.20.218, FastEthernet1/0
*Mar  1 00:41:32.867: %OSPF-4-ERRRCV: Received invalid packet: mismatch area ID, from backbone area must be virtual-link but not found from 192.168.20.218, FastEthernet1/0
*Mar  1 00:41:45.647: %OSPF-4-ERRRCV: Received invalid packet: mismatch area ID, from backbone area must be virtual-link but not found from 192.168.20.218, FastEthernet1/0
*Mar  1 00:41:58.579: %OSPF-4-ERRRCV: Received invalid packet: mismatch area ID, from backbone area must be virtual-link but not found from 192.168.20.218, FastEthernet1/0
*Mar  1 00:42:09.987: %OSPF-4-ERRRCV: Received invalid packet: mismatch area ID, from backbone area must be virtual-link but not found from 192.168.20.218, FastEthernet1/0
*Mar  1 00:42:57.035: %OSPF-4-ERRRCV: Received invalid packet: mismatch area ID, from backbone area must be virtual-link but not found from 192.168.20.218, FastEthernet1/0
*Mar  1 00:43:15.359: %OSPF-4-ERRRCV: Received invalid packet: mismatch area ID, from backbone area must be virtual-link but not found from 192.168.20.218, FastEthernet1/0
*Mar  1 00:43:27.387: %OSPF-4-ERRRCV: Received invalid packet: mismatch area ID, from backbone area must be virtual-link but not found from 192.168.20.218, FastEthernet1/0
*Mar  1 00:43:40.591: %OSPF-4-ERRRCV: Received invalid packet: mismatch area ID, from backbone area must be virtual-link but not found from 192.168.20.218, FastEthernet1/0

TOP

实践证明了一下,可以与3640的DY建立OSPF NEIGHBOR,另外可以与具有100M接口的真实CISCO ROUTER建立OSPF NEIGHBOR,现在的问题就是不知道LZ是如何搭建的LAB环境

TOP

另外这种方式有可能支持VPLS,可惜的是我手头的PC没有那么多

TOP

引用:
原帖由 ccsr 于 2008-2-3 09:03 发表
另外这种方式有可能支持VPLS,可惜的是我手头的PC没有那么多
我正在研究用Logic Router的方法,希望能够早日成功

TOP

Help.. Please

Hello, every one.



I make all config with they tell, but my problem is the same. I use VMWare 6.0.1 build-55017, and i have 4 ethernets "e1000" installed. My JUNOS working with 8.5R1.14.



Hostname: Router01
Model: olive
JUNOS Base OS boot [8.5R1.14]
JUNOS Base OS Software Suite [8.5R1.14]
JUNOS Kernel Software Suite [8.5R1.14]
JUNOS Crypto Software Suite [8.5R1.14]
JUNOS Packet Forwarding Engine Support (M/T Common) [8.5R1.14]
JUNOS Packet Forwarding Engine Support (M20/M40) [8.5R1.14]
JUNOS Online Documentation [8.5R1.14]
JUNOS Routing Software Suite [8.5R1.14]



i put the syscall.ko file in /boot:

root@Router01% ls -la /boot
total 1632
drwxr-xr-x   3 root  wheel     512 Feb  4 12:31 .
drwxr-xr-x  22 root  wheel     512 Feb  4 12:13 ..
-r-xr-xr-x   1 root  wheel    8192 Dec  8 07:26 boot
-r--r--r--   1 root  wheel     512 Dec  8 07:26 boot0
-r-xr-xr-x   1 root  wheel  219136 Dec  8 07:26 cdboot
drwxr-xr-x   2 root  wheel     512 Feb  4 12:11 defaults
-r--r--r--   1 root  wheel    5748 Dec  8 08:23 kgzldr.o
-r-xr-xr-x   1 root  wheel  217088 Dec  8 07:26 loader
-r--r--r--   1 root  wheel    7772 Apr  1  2007 loader.4th
-r--r--r--   1 root  wheel      57 Aug 18  2004 loader.conf
-r--r--r--   1 root  wheel   16012 Dec  8 07:26 loader.help
-r--r--r--   1 root  wheel     734 Dec  8 08:23 loader.rc
-r--r--r--   1 root  wheel     512 Dec  8 07:26 mbr
-r-xr-xr-x   1 root  wheel  219136 Dec  8 07:26 pxeboot
-r--r--r--   1 root  wheel   36440 Apr  1  2007 support.4th
-rw-r--r--   1 root  wheel    7580 Feb  4 12:31 syscall.ko



and i put the same file in /module

root@Router01% ls -la /modules/
total 24
drwxr-xr-x   2 root  wheel   512 Feb  4 12:31 .
drwxr-xr-x  22 root  wheel   512 Feb  4 12:13 ..
lrwxr-xr-x   1 root  wheel    39 Feb  4 12:12 bcmsdk.ko -> /packages/mnt/jkernel
/modules/bcmsdk.ko
lrwxr-xr-x   1 root  wheel    38 Feb  4 12:12 ipsec.ko -> /packages/mnt/jcrypto/
modules/ipsec.ko
lrwxr-xr-x   1 root  wheel    42 Feb  4 12:12 microcode.ko -> /packages/mnt/jker
nel/modules/microcode.ko
lrwxr-xr-x   1 root  wheel    44 Feb  4 12:12 pmap_helper.ko -> /packages/mnt/jk
ernel/modules/pmap_helper.ko
-rw-r--r--   1 root  wheel  7580 Feb  4 12:31 syscall.ko



i do the kldload ./syscall.ko and works fine.



Then in multi-user prompt, i do the sysctl dev.em.0.fix_em_multicast=1 and receive the fallow answer:

root@Router01% sysctl dev.em.0.fix_em_multicast=1
dev.em.0.fix_em_multicast: -1the input para is :
adapter->hw address is 0xc1dfb310
mta is 0xc21b4060
mcnt is 14
em unit updated mc address
-> -1


and reboot my router



when come back, the result of sysctl is ?

root@Router01% sysctl dev.em.0
dev.em.0.%desc: Intel(R) PRO/1000 Network Connection Version - 3.2.18
dev.em.0.%driver: em
dev.em.0.%location: slot=0 function=0
dev.em.0.%pnpinfo: vendor=0x8086 device=00f subvendor=0x15ad subdevice=050
class=00000
dev.em.0.%parent: pci2
dev.em.0.debug_info: -1
dev.em.0.stats: -1
dev.em.0.rx_int_delay: 0
dev.em.0.tx_int_delay: 66
dev.em.0.rx_abs_int_delay: 66
dev.em.0.tx_abs_int_delay: 66



Interesting because i dont have more multicast fiel, well, this all right ?



With my Ethereal, i can see the packets gone out my interface, but i don't receive any multicast packets.



Please every one, what i do wrong ?



Best Regards.

TOP

More information

I forgot to tell, i use FreeBSD 4.10-RELEASE-i386-miniinst and then i make the install for jinstall-8.5R1.14-domestic-Olive.tgz.

This version of FreeBSD working or i need to make a new install with FreeBSD 6.1 ?

Best Regards

TOP

you need to patch the system every time you boot the JunOS

TOP

发新话题