16
คุยกับทีมวิจัย / Re: Switch VLAN Gigabit สำหรับ MultiWAN
« เมื่อ: 09 มิถุนายน 2013, 07:56:44 »
อยากเห็นหน้าตา switch จัง
ตอนนี้มีแต่ 10/100 L2 ,L3 สำรองไว้อยู่
ตอนนี้มีแต่ 10/100 L2 ,L3 สำรองไว้อยู่
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
ดังนั้น เราจะต้องทำการ mark packet DNS เพื่อให้วิ่งออกตรงตาม ISP ยกตัวอย่างเช่น ใช้ ip route เป็นตัวจัดการ
ip route add 61.19.245.245 dev ppp102
ip route add 202.129.27.133 dev ppp102
เป็นต้น
หรือจะใช้ iptables เป็นตัวจัดการ ก็ได้เหมือนกัน เช่น
iptables -A OUTPUT -t mangle -d 61.19.245.245 -p udp --dport 53 -j MARK --set-mark 0x102
iptables -A OUTPUT -t mangle -d 202.129.27.133 -p udp --dport 53 -j MARK --set-mark 0x102
------------------ แล้วแก้ที่ไฟล์ ไหนเหรอครับ