發表文章

RouteOS - adguard home container

圖片
 因為chrome免錢的擋廣告套件不能白嫖了 只好研究一下如何在RB5009上面架adguard home (連container都不會用的人搞這個..) 大部分的安裝跟教學流程基本上都google的到 這邊筆記幾個trouble shotting的點 1. ROS一開始一直無法成功的啟動container,內容大概是could not import image相關的資訊,把ROS升級上去就對了(從7.6一路升到7.18.2) 2. docker確認連線指令 /tool fetch url=http://registry-1.docker.io 不會通就算了,一開始以為是外部連線問題後來發現根本沒差 3. 網路設定部分,因為我是現有環境bridge上額外新增veth,本來想試試看veth能否直接由bridge上的dhcp server收ip下來改為static ip,目前沒找到可行做法。 4. 續上,不要以為是單純同網段走L2就手工在veth上面塞一個dhcp ip pool裡的ip就能通,會有問題,就算手工在dhcp lease把mac & ip 塞進去也一樣 5. veth interface define ip請記得雖然是指定一個IP給他,但是subnet要配合bridge用的subnet給(ex:/24)不是想說是指定單一IP就給他/32

RouteOS - 2 network forward in one port

圖片
try to setting routos forward 2 different network VM client and physical NB traffic in same physical port with different network FTP server windows shell linux with vsftpd VM client vmware workstation VM use bridge mode RouteOS setting 1. define gateway ip because 2 different connect to one port this port binding 2 different gateway ip use winbox connect to RB750Gr3 IP->Addresses->+ add gateway IP & subnet which you wanna binding on this port (eth2 is the connect port on RB750Gr3) on eth2 , this switch have 2 ip 10.11.11.254 & 10.11.6.254 2. set switch static route IP->routes->+ set ftp server & client ip , out port set bridge1(contain eth2) some setting check bridges->ports check eth2 in bridge1 bridges->interfaces check IGMP snooping enable IP->ARP check arp table renew or manual add Tool->ping check switch to 2 client coneection ok 10.11.6.111 access ftp server and upload file success