> > > > > How should eth1 and eth2 be
> > > > > configured in /etc/conf.d/net ?
> > > > They should be configured as part of a bridge device (see the
> > > > bridging section of /etc/conf.d/net.example) and have the address
> > > > assigned (and DHCPD listing on) that bridge device.
> > > Except that this doesn't work on WLAN (MAC layer done by the WLAN
> > > adapter).
>
> eth1 and eth2 are both wired, no?  How does 802.11a/b/g come into this?

Yeah, that's just me not reading carefully. But looking at the first
post by the OP, I thought that ath0 was meant to join eth1 and eth2.
See my other mail, I've just clarified this.

> > > But probably "proxy_arp" can help here. And subnet
> > > separation, of course. Just extending the netmask a bit and enabling
> > > proxy_arp would do the job. OTOH, it's also easy to configure the
> > > routes to the other subnets via DHCP. Just a matter of taste. In any
> > > case, it only works on IP layer.
>
> I must admit that I've never used proxy_arp, but all ARP traffic occurs at
> the ethernet layer, below the IP layer, so it doesn't make sense to me for
> an option/program so named to only work on IP traffic.  ARP is also only
> used intra-subnet, so this entire section doesn't make much sense to me.

Well, for something like a bridge, it has to work inter-(physical-)
subnet. Of course ARP happens on top of the link layer, just as IP. But
ARP is a requirement for IP traffic. And by faking ARP answers for the
computer in the other subnet, a router can redirect IP traffic to
itself. It just claims all addresses in the other subnet. That's what
"proxy_arp" does. So when it in fact uses forwarding, it behaves
similar to a bridge w/ regard to that you don't need to configure all
the computers with a route to the other subnet.

> In *any* case, it's extremely unlikely that the OP is going to be carrying
> any significant amount of non-IP traffic.  I feel that is an extraordinary
> enough condition to be mentioned.

I'm afraid I can't keep up with you guys here.  What I'd like to do is
use eth1 and ath0 on my router to "serve" the same local network.  Can
I bridge them according to net.example to accomplish this?  I
understand that I will either need to use a crossover cable with eth1
or attach a switch to eth1.

- Grant
--
gentoo-user@gentoo.org mailing list

Reply via email to