On 09-07-23 17.07, Marian Hettwer wrote:
Right now, I configured the box like that:
# cat /etc/hostname.bge0 up # cat /etc/hostname.bge1 up
# cat /etc/hostname.trunk0
trunkproto failover trunkport bge0 trunkport bge1 up
# cat /etc/hostname.trunk1 trunkproto failover trunkport bge0 trunkport bge1 up # cat /etc/hostname.vlan24 inet 10.46.24.101 255.255.255.0 10.46.24.255 vlan 24 vlandev trunk0 # cat /etc/hostname.vlan25 inet 10.46.25.101 255.255.255.0 10.46.25.255 vlan 25 vlandev trunk1


But after boot, it really looks like that is wrong -- ifconfig output:

[.. snip ..]


I noticed trunk1 isn't lucky. And I'm just plain puzzled how a correct
configuration should look like.

There's no need to use two trunk interfaces when you configure them like that. Setup trunk0, and then use that interface as vlandev for both your vlans.

I guess it could make sense to have two trunk interfaces in a scenario where you'd like one interface to be master for one vlan, and the other interface as master for the other vlan. But I wouldn't complicate stuff.

/Johan

Reply via email to