11bf7
![]() |
|
|
|
|
|||||||
| Networking Network related discussions (including general TCP/IP stuff, routing, etc). |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I have a native IPv6 setting that worked well until I installed the miredo client. After starting the miredo daemon, it will create a new default route overriding the original one. My intention is to use miredo to connect to other teredo nodes, not for IPv6 surfing.
And, according to the miredo.conf: Code:
NOTE: Use of Miredo as a Teredo client is possible even if the
system already has IPv6 connectivity through another way
(native, 6to4, TSP, etc). In that case, Miredo will only be used
to reach other Teredo clients, as its tunneling interface has a
default route with a higher metric (which is to say a lower pri-
ority) than the other network interfaces.
Last edited by DutchDaemon; June 27th, 2011 at 12:55. |
|
#2
|
|||
|
|||
|
So, what are the metrics for the routes involved?
__________________
Torfinn |
|
#3
|
|||
|
|||
|
It seems there is no routing metric concept in FreeBSD, so I cannot use different default routes with different metrics.
Last edited by DutchDaemon; June 28th, 2011 at 17:13. |
|
#4
|
|||
|
|||
|
How about posting the output of
# netstat -r?Why do you think that you can have more than one default route?
__________________
Torfinn |
|
#5
|
|||
|
|||
|
Sorry, it's a concept on other platform. Maybe the correct question is how to make balance route when having multi-interface
|
|
#6
|
|||
|
|||
|
Another platform than FreeBSD? If so, why are you asking this question in a FreeBSD forum?
__________________
Torfinn |
| The Following User Says Thank You to tingo For This Useful Post: | ||
haohaolee (July 4th, 2011) | ||
|
#7
|
||||
|
||||
|
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki Before you post: How to ask questions the smart way If you must know .. So, what does an Adminstrator/Moderator do? ---> Do not PM me with FreeBSD questions. I do not work here. <--- |
| The Following User Says Thank You to DutchDaemon For This Useful Post: | ||
haohaolee (July 4th, 2011) | ||
|
#8
|
|||
|
|||
|
Quote:
Miredo has a script called client-hook, which is called when teredo tunnel is established and is to set up routing: Code:
....
case "$STATE" in
up)
"$IFCONFIG" "$IFACE" up
"$IFCONFIG" "$IFACE" inet6 "${LLADDRESS}/64"
"$IFCONFIG" "$IFACE" inet6 "${ADDRESS}/32"
"$ROUTE" delete -inet6 default
"$ROUTE" add -inet6 default -iface "$IFACE"
;;
.....
BTW, this script on other platforms like Linux does not delete default route, but adds another default route with different metric. I think this is why the default install on Linux seems all right.
Last edited by DutchDaemon; July 4th, 2011 at 14:29. Reason: It's "FreeBSD" |
|
#9
|
|||
|
|||
|
FreeBSD does not allow at this time to have multiple routes to the same destination on a single FIB (Forward Information Base, routing table).
If you need to reach some destination using multiple paths, one solution can be 'pf', which is able to override kernel's routing table on a single FIB and it allows use of multiple routes to the same destination network/mask. If you need to use 'metrics', /usr/ports/net/quagga's zebra routing daemon can be helpful.
__________________
My blog: http://ghid-it.blogspot.com Other guides: http://sites.google.com/site/ghidit/ |
| The Following 2 Users Say Thank You to ecazamir For This Useful Post: | ||
haohaolee (July 5th, 2011), SreenathaSetty (July 12th, 2011) | ||
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| IPSec + ipv6 + pf = problem | STux | Firewalls | 7 | January 22nd, 2013 14:04 |
| IPV6 UDP Socket recvfrom problem | yavuzg | Userland Programming & Scripting | 0 | August 6th, 2010 14:36 |
| freebsd 7.1 default ipv6 gateway problem | yavuzg | Networking | 4 | June 9th, 2009 08:10 |
| IPv6 DAD disables IPv6 Traffic, how to turn IPv6 back on? | benzh512 | Networking | 6 | March 10th, 2009 16:57 |
| SATA Native Support | petike | Installing & Upgrading | 11 | January 5th, 2009 16:27 |