[pfSense] Adding Routes

Network related discussions (including general TCP/IP stuff, routing, etc).

[pfSense] Adding Routes

Postby jamesb » 13 Dec 2010, 22:49

Hi Everyone.

I am struggling to get the syntax right to use the equalize flag (for an equal-cost multi-path route) and wondered if anyone out there could correct my mistake? I'm running FreeBSD 8.1 (actually its pfSense 2.0 Beta 4!). I am trying:

[CMD=" "]route add -net 0.0.0.0 equalize nexthop via 192.168.0.1 nexthop via 192.168.0.2[/CMD]

With the intention of balancing per-packet across each of these gateways except I keep getting a syntax error. I also tried

[CMD=" "]route add -net 0.0.0.0 192.168.0.1 192.168.0.2 equalize[/CMD]

And many other combinations but clearly my syntax is way out, but I'm tired and stuck for ideas. Can anyone correct me?
jamesb
Junior Member
 
Posts: 1
Joined: 13 Dec 2010, 22:45

Postby DutchDaemon » 13 Dec 2010, 23:24

User avatar
DutchDaemon
Old Fart
 
Posts: 10466
Joined: 16 Nov 2008, 20:17
Location: The Netherlands

Postby DutchDaemon » 13 Dec 2010, 23:28

I don't see an 'equalize' or a 'nexthop' directive in FreeBSD's [man=8]route[/man] anywhere. This may be a pfSense customization (maybe interacting with [FILE]reply-to[/FILE] and/or [FILE]route-to[/FILE] statements in PF) that doesn't exist (in that particular, unified fashion) on FreeBSD.
User avatar
DutchDaemon
Old Fart
 
Posts: 10466
Joined: 16 Nov 2008, 20:17
Location: The Netherlands


Return to Networking

Who is online

Users browsing this forum: No registered users and 0 guests