You might want to try:-
http://blog.multiplay.co.uk/dropzone/freebsd/carp-mtu.patch

Be warned it doesn't do any validation so if you use it against physical
interfaces with a smaller MTU things will likely go badly wrong, hell
they may go badly wrong anyway as its just a very quick and dirty hack ;-)

   Regards
   Steve
----- Original Message ----- From: "Dmitry Morozovsky" <ma...@rinet.ru>
To: <freebsd-stable@FreeBSD.org>
Sent: Monday, March 04, 2013 10:49 PM
Subject: carp on stable/9: is there a way to keep jumbo? (fwd)


Collegaues,

sorry, sent to the wrong list (the only escuse for me is possibly that I'm trying to make HAST base on carp...)

--
Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer:                                 ma...@freebsd.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- ma...@rinet.ru ***
------------------------------------------------------------------------

---------- Forwarded message ----------
Date: Tue, 5 Mar 2013 02:31:51
From: Dmitry Morozovsky <ma...@rinet.ru>
To: freebsd...@freebsd.org
Subject: carp on stable/9: is there a way to keep jumbo?

Dear collesagues,

yes, I know glebius@ overhauled carp in -current, but I'm a bit nervous to deploy bleeding edge system on a NAS/SAN ;)

So, my question is about current state of carp in stable/9: building HA pair I found that carp interfaces lose jumbo capabilities:

root@cthulhu4:~# ifconfig | grep mtu
em0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 
9000
em1: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 
9000
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
lagg0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 
9000
carp0: flags=49<UP,LOOPBACK,RUNNING> metric 0 mtu 1500
carp1: flags=49<UP,LOOPBACK,RUNNING> metric 0 mtu 1500
root@cthulhu4:~# ifconfig carp1 mtu 9000
ifconfig: ioctl (set mtu): Invalid argument

Is it unavoidable at the moment, or am I missing something obvious?

Thanks!

--
Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer:                                 ma...@freebsd.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- ma...@rinet.ru ***
------------------------------------------------------------------------
_______________________________________________
freebsd...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-fs
To unsubscribe, send any mail to "freebsd-fs-unsubscr...@freebsd.org"
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it.
In the event of misdirection, illegible or incomplete transmission please 
telephone +44 845 868 1337
or return the E.mail to postmas...@multiplay.co.uk.

_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to