2026-01-28
Selecting...
Home Page
reload
Search in this channel...
Punch card
Raw Text (irssi format)
Fork on github
switch to admin mode
Jump to...
redirecting...
Log for
電訊台
pm 02:26:25
Stefan | ᕕ(◠ڼ◠)ᕗ
https://www.servethehome.com/farewell-to-the-tyan-server-brand-as-it-is-giving-way-to-mitac-computing/
pm 10:40:57
Stefan | ᕕ(◠ڼ◠)ᕗ
話説呢家我有隻router搞死我
pm 10:41:14
Stefan | ᕕ(◠ڼ◠)ᕗ
隻嘢個WAN同LAN分成兩個ethernet
pm 10:41:28
Stefan | ᕕ(◠ڼ◠)ᕗ
eth1食wan eth0食lan或者wan
pm 10:42:00
Stefan | ᕕ(◠ڼ◠)ᕗ
但係我嘅local device嘅VLAN係200 我isp嘅vlan係2
pm 10:42:44
Stefan | ᕕ(◠ڼ◠)ᕗ
但係我個bridge vlan set咗所有local device嘅pvid做200都係pass唔到去vlan 2嘅trunk
pm 10:43:12
Stefan | ᕕ(◠ڼ◠)ᕗ
直到我再睇番 咦eth0 eth1 咁啫係佢哋唔係同一個switch上面 其實啫係要NAT
pm 10:43:17
Stefan | ᕕ(◠ڼ◠)ᕗ
喊出嚟
pm 10:44:13
Stefan | ᕕ(◠ڼ◠)ᕗ
我呢家諗有無更好嘅做法
pm 10:45:35
Stefan | ᕕ(◠ڼ◠)ᕗ
係咪eth0同eth1起個bridge 然後eth0.2同eth1.2互trunk 跟住set多個eth0.200同lan0 lan1 lan2 lan3一齊bridge但係lan0-3係應該untagged
pm 10:45:44
Stefan | ᕕ(◠ڼ◠)ᕗ
呢個就係我最初嘅想法
pm 10:49:44
Stefan | ᕕ(◠ڼ◠)ᕗ
好在隻嘢仲係一個router 咁我理應加番隻iptables MASQUERADE就得
pm 11:13:52
Stefan | ᕕ(◠ڼ◠)ᕗ
okay 好 原來有更簡單做法
pm 11:14:06
Stefan | ᕕ(◠ڼ◠)ᕗ
直接將eth1.200射入br-lan
pm 11:14:25
Stefan | ᕕ(◠ڼ◠)ᕗ
同時間確保唔好有spanning loop
created by
mmis1000
and release under
MIT License
GitHub Repo