看板 Network 關於我們 聯絡資訊
網路架構圖 mordeom--------swtich(a)--------pfsense--------switch(b)-------wrt54g | | (wireless) |-----------switch(c) |------------usr5450 (wireless) 網路敘述 switch(b)以下網路區段為 pfsense WAN 用PPPOE方式取得hinet ip 並建立PPTP server LAN 10.0.0.254/23 DHCP 發放範圍 10.0.0.100 10.0.0.199 VPN DHCP 發放範圍 10.0.1.100 10.0.1.199 問題概況 因為switch(a)不是我能控管的 我能動得只有switch(a)之後的兩條網路線 hinet只有配給八個IP,電腦數量已經超過 所以,想說自己用一台路由器這樣就可以分享網路及控管 但有時需要可以換IP,總不能一直讓大家斷線 我就從switch(a)的另外一條線撥接上網 要分享pfsense內部的資料時 就用VPN連進去,這樣就可以傳檔 可是這樣最快只有3Mbps 因為路徑是 電腦--switch(c)--swtich(a)--hinet--switch(a)--pfsense--伺服器 要規劃成 電腦--switch(c)--pfsense--伺服器 這樣會有100Mbps的速度 這樣是不是用先給pfsense的WAN在綁定另一個IP(1) 之後,用VPN撥號就直接設定成IP(1) =============================08:30 PM ======================================== 這個方法做不出來XD,因為WIN7建立VPN不經由網際網路就會變數據機撥號 ============================================================================== 還是有其他方式? ===============================以下閒聊======================================= 話說pfsense 2.0.1 還不錯用 不用像Brazilfw自己裝addon(外掛??插件??附加元件??) 但是跑起來開機有比較久一點 不過據說pfsense怕臨時斷電,會來不及回存 兩套速度還不賴K6-2 400MHz 256MB 就可以跑12M/3M滿速 但是,P-133 48MB 確定是不行 最大3M/3M 還在想想這台能做什麼
HiJimmy:在九點多的時候 系統CRASH(崩潰??)XD 02/21 01:37
一開PPPOE SERVER 系統就CRASH,有人說FREEBSD可以PPTP PPPOE SERVER共存 沒道理PFSENSE不行 所以今天又試了一次,還是掛點 一直無法載入完成 一直跑一堆文字,BREAK按了也不會停 根本看不清楚,還好昨天改成雙硬碟雙系統 關機換另外一顆就可以上線了 這次要把PPTP SERVER關掉 改開PPPOE SERVER就好 ※ 編輯: HiJimmy 來自: 114.41.250.129 (02/21 17:47) 測試PPPOE SERVER結果 每開必掛 但換電腦(B)測試 出現網路介面變動需重新設定,設定完又沒事 在換回去又正常,我一新增使用者就又掛了.... 又換電腦(B)測試 出現網路介面變動需重新設定,設定完又沒事 就一直重覆這些事. Crash report begins. Anonymous machine information: i386 8.1-RELEASE-p6 FreeBSD 8.1-RELEASE-p6 #0: Mon Dec 12 17:28:05 EST 2011 root@FreeBSD_8.0_pfSense_2.0-snaps.pfsense.org:/usr/obj./usr/pfSensesrc/src/sys/pfSense.8 Crash report details: Filename: /var/crash/bounds 1 Filename: /var/crash/info.0 Dump header from device /dev/ad0s1b Architecture: i386 Architecture Version: 1 Dump Length: 66048B (0 MB) Blocksize: 512 Dumptime: Tue Feb 21 19:37:34 2012 Hostname: pfsense.localdomain Magic: FreeBSD Text Dump Version String: FreeBSD 8.1-RELEASE-p6 #0: Mon Dec 12 17:28:05 EST 2011 root@FreeBSD_8.0_pfSense_2.0-snaps.pfsense.org:/usr/obj./usr/pfSensesrc/src/sys/pfSense.8 Panic String: Dump Parity: 3853610554 Bounds: 0 Dump Status: good Filename: /var/crash/textdump.tar.0 ddb.txt?????????????????????????????????????????????????????????????????????????????????????????????0600????0???????0???????140000??????11720700776? 7101? ?????????????????????????????????????????????????????????????????????????????????????????????????????ustar???root????????????????????????????wheel??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????db:0:kdb.enter.default> run lockinfo db:1:lockinfo> show locks No such command db:1:locks> show alllocks No such command db:1:alllocks> show lockedvnods Locked vnodes db:0:kdb.enter.default> show pcpu cpuid = 0 dynamic pcpu = 0x51f880 curthread = 0xc3276a00: pid 37066 "php" curpcb = 0xcd60ed90 fpcurthread = none idlethread = 0xc2d8da00: pid 11 "idle: cpu0" APIC ID = 0 currentldt = 0x50 db:0:kdb.enter.default> bt Tracing pid 37066 tid 64073 td 0xc3276a00 ng_ether_attach(c2e90c00,0,0,0,0,...) at ng_ether_attach+0xb1 ng_apply_item(c0b5839f,c3120a80,c3299270,cd60ead4,cd60ead0,...) at ng_apply_item+0xf6f ng_snd_item(c307ed80,0,c3299270,0,29eec3a0,...) at ng_snd_item+0x309 ngc_send(c3289670,0,c30cab00,c3299110,0,...) at ngc_send+0x1d0 sosend_generic(c3289670,c3299110,cd60ebe4,c30cab00,0,...) at sosend_generic+0x385 kern_sendit(c3276a00,b,cd60ec58,0,0,...) at kern_sendit+0x139 sendit(0,c3299110,4,cd60ec74,1,...) at sendit+0xda sendto(c3276a00,cd60ecf8,c3276a00,c2d88000,cd60eca8,...) at sendto+0x48 syscall(cd60ed38) at syscall+0x1ad Xint0x80_syscall() at Xint0x80_syscall+0x20 --- syscall (133, FreeBSD ELF32, sendto), eip = 0x2861bf57, esp = 0xbfbf94cc, ebp = 0xbfbf94f8 --- db:0:kdb.enter.default> ps pid ppid pgrp uid state wmesg wchan cmd 47580 31341 254 0 S nanslp 0xc133c224 sleep 27793 1 27793 0 Ss select 0xc3242424 ntpd 27723 1 32573 123 S select 0xc2fc85e4 ntpd 26891 1 26891 1002 Ss select 0xc2fc85a4 dhcpd 22697 1 22549 65534 S select 0xc32423a4 dnsmasq 19598 30149 30149 0 S piperd 0xc2ffcdc8 rrdtool 31341 1 254 0 S wait 0xc32b17f8 sh 30149 1 30149 0 Ss select 0xc2ef16a4 apinger 4959 3158 4959 0 S+ ttyin 0xc2db5a70 sh 3158 2725 3158 0 S+ wait 0xc32af7f8 sh 2725 1 2725 0 Ss+ wait 0xc32b1550 login 60541 1 60541 0 Ss nanslp 0xc133c224 minicron 60259 1 60259 0 Ss nanslp 0xc133c224 minicron 59919 1 59919 0 Ss nanslp 0xc133c224 minicron 58653 1 58653 0 Ss nanslp 0xc133c224 cron 37066 32573 32573 0 R CPU 0 php 36877 32573 32573 0 S accept 0xc324d6ae php 36641 32120 32120 0 S accept 0xc324d9e6 php 36514 32120 32120 0 S accept 0xc324d9e6 php 32573 31838 32573 0 Ss wait 0xc2ffdd48 initial thread 32120 31838 32120 0 Ss wait 0xc31d5550 initial thread 31838 1 31577 0 S kqread 0xc31f2c80 lighttpd 26749 15719 26749 0 Ss (threaded) sshlockout_pf 64068 S nanslp 0xc133c224 sshlockout_pf 64049 S piperd 0xc2ffb620 initial thread 26585 1 26585 0 Ss select 0xc2ef1824 sshd 22412 1 22412 0 Ss select 0xc2ef1ae4 inetd 15719 1 15719 0 Ss select 0xc2ef1724 syslogd 15059 1 24 0 S+ piperd 0xc2ffb930 logger 14887 1 24 0 S+ bpf 0xc30a8100 tcpdump 8712 1 8712 0 Ss (threaded) mpd5 64057 S select 0xc2fc7824 mpd5 267 1 267 0 Ss select 0xc2ef1324 devd 256 254 254 0 S kqread 0xc2fe5b80 check_reload_status 254 1 254 0 Ss kqread 0xc2fe5d00 check_reload_status 39 0 0 0 SL mdwait 0xc2ee7800 [md0] 23 0 0 0 SL sdflush 0xc136ac60 [softdepflush] 22 0 0 0 SL syncer 0xc134fd94 [syncer] 21 0 0 0 SL vlruwt 0xc2fcd000 [vnlru] 20 0 0 0 SL psleep 0xc134fac8 [bufdaemon] 19 0 0 0 SL pollid 0xc133b77c [idlepoll] 18 0 0 0 SL pgzero 0xc136b914 [pagezero] 17 0 0 0 SL psleep 0xc136b53c [vmdaemon] 16 0 0 0 SL psleep 0xc136b504 [pagedaemon] 15 0 0 0 SL ccb_scan 0xc1306454 [xpt_thrd] 9 0 0 0 SL pftm 0xc04f6d80 [pfpurge] 8 0 0 0 SL waiting_ 0xc13571d8 [sctp_iterator] 7 0 0 0 SL - 0xc2db543c [fdc0] 14 0 0 0 SL - 0xc133c084 [yarrow] 6 0 0 0 SL crypto_r 0xc136a28c [crypto returns] 5 0 0 0 SL crypto_w 0xc136a268 [crypto] 4 0 0 0 SL - 0xc1339924 [g_down] 3 0 0 0 SL - 0xc1339920 [g_up] 2 0 0 0 SL - 0xc1339918 [g_event] 13 0 0 0 SL sleep 0xc12dcae0 [ng_queue0] 12 0 0 0 WL (threaded) intr 64034 I [irq1: atkbd0] 64033 I [swi0: uart uart] 64032 I [irq7: ppc0] 64030 I [irq15: ata1] 64029 I [irq14: ata0] 64028 I [irq11: xl3] 64027 I [irq12: xl2] 64026 I [irq5: xl1] 64025 I [irq9: xl0 xl4 acpi0] 64021 I [swi6: task queue] 64020 I [swi6: Giant taskq] 64018 I [swi5: +] 64016 I [swi2: cambio] 64007 I [swi4: clock] 64006 I [swi1: netisr 0] 64005 I [swi3: vm] 11 0 0 0 RL [idle: cpu0] 1 0 1 0 SLs wait 0xc2d8bd48 [init] 10 0 0 0 SL audit_wo 0xc136a600 [audit] 0 0 0 0 SLs (threaded) kernel 64024 D - 0xc2e73040 [acpi_task_2] 64023 D - 0xc2e73040 [acpi_task_1] 64022 D - 0xc2e73040 [acpi_task_0] 64019 D - 0xc2e73180 [thread taskq] 64017 D - 0xc2e733c0 [kqueue taskq] 64009 D - 0xc2d6f4c0 [firmware taskq] 64001 D sched 0xc1339a00 [swapper] db:0:kdb.enter.default> alltrace Tracing command sleep pid 47580 tid 64075 td 0xc3276500 sched_switch(c3276500,0,104,99d23add,27,...) at sched_switch+0xb9 mi_switch(104,0,0,0,cd616bbc,...) at mi_switch+0xd6 sleepq_switch(c3276500,0,c0ee9712,1a0,c0ddb480,...) at sleepq_switch+0xae sleepq_catch_signals(0,0,c3276500,cd616c0c,c0a447bb,...) at sleepq_catch_signals+0x33b sleepq_timedwait_sig(c133c224,5c,c0ee701c,100,0,...) at sleepq_timedwait_sig+0x1c _sleep(c133c224,0,15c,c0ee701c,ea61,...) at _sleep+0x18b kern_nanosleep(c3276500,cd616c60,cd616c68,3c,0,...) at kern_nanosleep+0xeb nanosleep(c3276500,cd616cf8,c,c3276500,c,...) at nanosleep+0x6c syscall(cd616d38) at syscall+0x1ad Xint0x80_syscall() at Xint0x80_syscall+0x20 --- syscall (240, FreeBSD ELF32, nanosleep), eip = 0x28165f17, esp = 0xbfbfee0c, ebp = 0xbfbfee48 --- Tracing command ntpd pid 27793 tid 64084 td 0xc31d8c80 sched_switch(c31d8c80,0,104,26adfd20,2b,...) at sched_switch+0xb9 mi_switch(104,0,0,c31d8c80,cd634a9c,...) at mi_switch+0xd6 sleepq_switch(c31d8c80,0,c0ee9712,1a0,c0ddb480,...) at sleepq_switch+0xae sleepq_catch_signals(0,c31d8c80,3a99,cd634ae0,c09f2193,...) at sleepq_catch_signals+0x33b sleepq_timedwait_sig(c3242424,0,c0ee9d49,101,0,...) at sleepq_timedwait_sig+0x1c _cv_timedwait_sig(c3242424,c3242410,3a99,0,0,...) at _cv_timedwait_sig+0x133 seltdwait(cd634c58,cd634c60,c2d88400,c31d8c80,c0a83460,...) at seltdwait+0x80 poll(c31d8c80,cd634cf8,c,c31d8c80,c,...) at poll+0x45f syscall(cd634d38) at syscall+0x1ad Xint0x80_syscall() at Xint0x80_syscall+0x20 --- syscall (209, FreeBSD ELF32, poll), eip = 0x281305cf, esp = 0xbfbfecec, ebp = 0xbfbfeda8 --- Tracing command ntpd pid 27723 tid 64093 td 0xc32c6280 sched_switch(c32c6280,0,104,406b6a7d,2a,...) at sched_switch+0xb9 mi_switch(104,0,0,c32c6280,cd64fa9c,...) at mi_switch+0xd6 sleepq_switch(c32c6280,0,c0ee9712,1a0,c0ddb480,...) at sleepq_switch+0xae sleepq_catch_signals(0,c32c6280,7919,cd64fae0,c09f2193,...) at sleepq_catch_signals+0x33b sleepq_timedwait_sig(c2fc85e4,0,c0ee9d49,101,0,...) at sleepq_timedwait_sig+0x1c _cv_timedwait_sig(c2fc85e4,c2fc85d0,7919,0,0,...) at _cv_timedwait_sig+0x133 seltdwait(cd64fc58,cd64fc60,c2d88400,c32c6280,c0a83460,...) at seltdwait+0x80 poll(c32c6280,cd64fcf8,cd64fd90,16,c32c6280,...) at poll+0x45f syscall(cd64fd38) at syscall+0x1ad Xint0x80_syscall() at Xint0x80_syscall+0x20 --- syscall (209, FreeBSD ELF32, poll), eip = 0x281305cf, esp = 0xbfbfec2c, ebp = 0xbfbfece8 --- ※ 編輯: HiJimmy 來自: 114.41.245.61 (02/21 20:57)