Re: Behavior of SO_BINDTODEVICE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Thank you very much for all the help, after looking a little bit more into ip route I managed to solve my problem. I had previously overlooked the append command, which allowed me to add two default routes to the same gateway (one for each interface) and, thus, add the correct default routes to the two other routing tables (again one for each interface). Previously, traffic that should go through eth1 was still routed through eth0 because that was the default route in it's table as well.

Btw, you can do bindings against IP's in curl as well.

-Kristian
--
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux