Hi everyone
I've just applied Tanzer's multipath routing patches over FreeBSD 4.8, compiled the kernel and everything worked fine.
Basically, my idea is to load share default outgoing traffic over 2 redundant routers which are on the same LAN.
I've tried the following:
#test route add default -pathmetric 1 -gateway 10.10.16.2 -pathmetric 1 -gateway 10.10.17.2
add net default
test# netstat -nr Routing tables
Internet:
Destination Gateway Flags/ Refs/ Use Netif Expire metric left
default UGSc 114 100 xl0
10.10.16.2 1 0 xl0
*10.10.17.2 1 0 0 xl0
127.0.0.1 127.0.0.1 UH 10 1000001 lo0
10.10.16/21 link#1 UC 8 0 xl0
test# route -n get default
route to: default
destination: default
mask: default
cur gateway: 10.10.17.2
multipaths: 10.10.16.2 metric: 1
10.10.17.2 metric: 1
interface: xl0
flags: <UP,GATEWAY,DONE,STATIC,PRCLONING>
recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire
0 0 0 0 0 0 1500 0
sockaddrs: <DST,GATEWAY,NETMASK,IFP,IFA>
test# ifconfig xl0 xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 10.10.16.11 netmask 0xfffff800 broadcast 10.10.23.255 inet6 fe80::260:8ff:fecc:bc81%xl0 prefixlen 64 scopeid 0x1 ether 00:60:08:cc:bc:81 media: Ethernet autoselect (100baseTX <full-duplex>) status: active
I've tried getting a file from the server using ftp, but the kernel always seems to choose the same path, it doesn't round robin over different paths. I checked that watching the routers interface's counters. I've also tried -pathmetric 10 and no -pathmetric at all without luck.
Configuration examples showed how to make it to work using 2 different NICs, has anyone managed to make it to work using a single NIC ? Maybe using aliasing ?
Any help will be appreciated.
Juan
_______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"