Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is it possible to bridge aliased interfaces? And use their standard "parent" interfaces independently with full functionality?

Here's the scenario: I have a Linux based firewall and router with two interfaces (eth0, eth1). I would like to bridge for IPv4 traffic and route for IPv6 traffic using just these interfaces.

Would it be possible to setup eth0 and eth1 for IPv6 routing and forwarding, while at the same time bridging eth0:1 and eth1:1 as a "passthrough" IPv4 bridge (all of the IPv4 routing is done on other side of this machine) so I can setup packet filtering rules both on the bridge and on the standard eth0, and eth1 interfaces?

share|improve this question
add comment

1 Answer

Bridging is a layer-2 thing. Aliasses on interfaces are for assigning multiple IP addresses: that is layer-3...

What you want is a brouter. See http://ebtables.sourceforge.net/examples/basic.html#ex_brouter

share|improve this answer
    
Sooo... is there support for both bridging and using aliases on the same two interfaces? –  kce Oct 22 '11 at 21:40
    
It can be complex to configure, but: yes. Never built this myself though. I like clean layer-2 and layer-3 separation. That makes everything much easier to maintain and troubleshoot. –  Sander Steffann Oct 28 '11 at 14:16
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.