Hi .. great work and I appreciate the way you make it easy for everyone to understand and taking time to write all these technical blogs… cheers… Can you please explain a little about load-balancing where e.g. the router is JUNOS and firewall is NS-5200 (OSPF configured PE to firewall and firewall to CE), for redundancy two links(WAN links from router) connected to firewall on the same zone i.e. untrust, how and the traffic (inbound/outbound) will behave both since router is advertising default route 0.0.0.0/0 from both WAN interfaces? I am trying to understand what will happen if firewall is doing session based and router on per-packet load-balancing? I would love to have your expertise to understand theory and consequences in real life …
Hi, First of all, thanks for your kind words. If 2 default routes are advertised by the router to the firewall, with the same cost, and you have enabled ecmp routing on the firewall, then it’s not going to make a huge difference because each packet will be sent to the same router anyway. So I would not use ecmp … just advertise one default gateway to the firewall, and use the router for load balancing. Keep in mind that session based load balancing is nice, but when applying this on stateless protocols such as http, this can lead to strange stuff. If a website uses for example the IP address to keep track of web session, then because of the per session load balancing on the router, this IP might change with every http request. Hope this helps
Hi Peter! I read in ScreenOS C&E documentation that the null interface is a logical interface, and it is always active. According to it I assume that in commands “set route 10.0.0.0/8 int null preference 250 permanent set route 172.16.0.0/12 int null preference 250 permanent set route 192.168.0.0/16 int null preference 250 permanent” there is no need the permanent tag. Is there any hidden or tricky reason why you use it? Instead of your solution I would like to use the following: “set route 10.0.0.0/8 interface null preference 255 metric 65535 set route 172.16.0.0/12 interface null preference 255 metric 65535 set route 192.168.0.0/16 interface null preference 255 metric 65535” Is there any reason that you just give pereference value 250 and did not configure metric? Thanks in advance your answers and your brilliant articles! Tamas
Hello Tamas, In order to avoid a lengthy explanation in the comments section : would it be possible to create a forum post (and paste your questions in the post) ? 🙂 http://www.corelan.be:8800/index.php/forum/screenos-routing-staticripospfbgp-1/ thanks ! Peter