![]() |
|
|||||||
| OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|||
|
Hi All
I'm having problems configuring a trunk port in failover mode for openBSD 4.9. The situation is this, I have one bsd with two interfaces(vic0 and vic1) that are directly connected to a simple switch on the third port of the switch I have a windows machine. The idea is that I want the BSD to have redundant interfaces and I want to do it by uniting the two vic cards in to one failover trunk interface. It looks simple but no matter what I try it is not working: This is my configuration: # ifconfig vic0: flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,S IMPLEX,MULTICAST> mtu 1500 lladdr 00:0c:29:87:da:42 priority: 0 trunk: trunkdev trunk10 media: Ethernet autoselect status: active inet6 fe80::20c:29ff:fe87:da4c%vic0 prefixlen 64 scopeid 0x1 vic1: flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,S IMPLEX,MULTICAST> mtu 1500 lladdr 00:0c:29:87:da:42 priority: 0 trunk: trunkdev trunk10 media: Ethernet autoselect status: active inet6 fe80::20c:29ff:fe87:da56%vic1 prefixlen 64 scopeid 0x2 trunk10: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:0c:29:87:da:42 priority: 0 trunk: trunkproto failover trunkport vic1 trunkport vic0 master,active groups: trunk media: Ethernet autoselect status: active inet6 fe80::20c:29ff:fe87:da42%trunk10 prefixlen 64 scopeid 0x9 inet 10.30.0.5 netmask 0xffffff00 broadcast 10.30.0.255 # The windows machine has IP: 10.30.0.100/24 and at the moment the ping is going fine but if I put vic0 down the ping stops ;( Please advice on how can this be fixed or if Im missconfiguring something! Thanks in advance! Best Regards |
|
||||
|
Quote:
Code:
CAVEATS
The trunk protocols loadbalance and roundrobin require a switch which
supports IEEE 802.3ad static link aggregation; otherwise protocols such
as inet6(4) duplicate address detection (DAD) cannot properly deal with
duplicate packets.
__________________
The best way to learn UNIX is to play with it, and the harder you play, the more you learn. If you play hard enough, you'll break something for sure, and having to fix a badly broken system is arguably the fastest way of all to learn. -Michael Lucas, AbsoluteBSD |
|
||||
|
Hello and welcome.
First, I don't think an 802.3ad switch is needed for trunkproto failover, since only one link should normally ever be used at a time. Second, there is a history of problems with trunk failover with specific NIC drivers due to recognizing states appropriately. From memory, ath(4) comes to mind, but I seem to recall additional drivers having similar problems, including one I was using at one time, perhaps vr(4) or dc(4). If you scan through the misc@ archives, you will see a history of informal problem reports with little discussion and the occasional driver patch, or a pointer to a driver patch on the tech@ archives. Third, you seem to be using a VMWare NIC driver, vic(4). This may have a similar state recognition issue to some of the other "real" drivers, or other limitations of its vmxnet protocol. Fourth, setting an interface "down" may not trigger a proper failover. Removing physical connections to force a link inactive may be a better test. If you are using them. With vic(4), there are no cables to pull, unfortunately. ---- All of this is just opinion, of course.
__________________
OpenBSD LiveCDs/LiveDVDs |
|
|||
|
Thank you for the answers!!
![]() Yes you are correct, I'm using VMWorkstation to run those test, but I have a phisical machine with two realteck cards in it and the issue is still the same, I looked a lot in google but it doesn't seem like someone else is having the same issue. Also you were right when I unplug the cable everything is working fine (Thanks for that), but I still don't understand if this is the way it should work. If you ask me if I put the master card down the other should take its load ![]() Thanks for those answers guys
|
|
||||
|
Quote:
__________________
OpenBSD LiveCDs/LiveDVDs |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Lagg failover on FreeBSD 7.0 Dell 1950/Broadcom 5708 NICs | rfranzke | FreeBSD General | 4 | 14th September 2010 08:06 PM |
| Carp + Trunk firewall | mururoa | OpenBSD General | 0 | 2nd June 2009 01:01 PM |
| Possible SMP Issue? | MetalHead | OpenBSD General | 1 | 25th November 2008 02:52 AM |
| freeBSD router running openospfd with failover using ifstated | dk_netsvil | Guides | 0 | 21st May 2008 05:26 PM |
| RAM issue | nikkon | FreeBSD General | 5 | 7th May 2008 04:26 AM |