I got my two ISPs:
I got my two networks:
I am able to route 1 ISP to my network using my debian server. However, we now have 2 LANs and 2 ISPs.
I want to route everything coming from
My debian server is a DHCP server and DNS server. It has 4 NIC cards. IPs are :
- 10.100.36.2 (eth0)
- 10.200.36.2 (eth3)
- 10.45.13.1 (eth1)
- 10.45.15.1 (eth2)
I've been searching on google since yesterday but nothing on my solution here and I barelly understand the routing system.
My system is brand new by the way,
root@ROUTER-DEB:/sst# ip route 10.200.36.0/29 dev eth3 proto kernel scope link src 10.200.36.2 metric 30 10.100.36.0/29 dev eth0 proto kernel scope link src 10.100.36.2 metric 40 10.45.15.0/27 dev eth2 proto kernel scope link src 10.45.15.1 metric 10 10.45.13.0/27 dev eth1 proto kernel scope link src 10.45.13.1 metric 10 default via 10.45.15.1 dev eth2 scope link metric 10 default via 10.45.13.1 dev eth1 scope link metric 10 default via 10.200.36.1 dev eth3 metric 30 default via 10.100.36.1 dev eth0 metric 40