1 |
On Monday 02 October 2006 10:18, Grant <emailgrant@×××××.com> wrote |
2 |
about 'Re: [gentoo-user] Router 3rd and 4th net interface problem': |
3 |
> > > > I'm pretty confused. I'm trying to get the system in question to |
4 |
> > > > behave like a solid-state router that you can plug an ethernet |
5 |
> > > > jack into and be on the network. |
6 |
|
7 |
FYI, that doesn't require the router to have a unique IP. You could simply |
8 |
configure each router port as a separate subnet, if you really wanted to. |
9 |
|
10 |
> > > > How should eth1 and eth2 be |
11 |
> > > > configured in /etc/conf.d/net ? |
12 |
> > > They should be configured as part of a bridge device (see the |
13 |
> > > bridging section of /etc/conf.d/net.example) and have the address |
14 |
> > > assigned (and DHCPD listing on) that bridge device. |
15 |
> > Except that this doesn't work on WLAN (MAC layer done by the WLAN |
16 |
> > adapter). |
17 |
|
18 |
eth1 and eth2 are both wired, no? How does 802.11a/b/g come into this? |
19 |
|
20 |
> > But probably "proxy_arp" can help here. And subnet |
21 |
> > separation, of course. Just extending the netmask a bit and enabling |
22 |
> > proxy_arp would do the job. OTOH, it's also easy to configure the |
23 |
> > routes to the other subnets via DHCP. Just a matter of taste. In any |
24 |
> > case, it only works on IP layer. |
25 |
|
26 |
I must admit that I've never used proxy_arp, but all ARP traffic occurs at |
27 |
the ethernet layer, below the IP layer, so it doesn't make sense to me for |
28 |
an option/program so named to only work on IP traffic. ARP is also only |
29 |
used intra-subnet, so this entire section doesn't make much sense to me. |
30 |
|
31 |
In *any* case, it's extremely unlikely that the OP is going to be carrying |
32 |
any significant amount of non-IP traffic. I feel that is an extraordinary |
33 |
enough condition to be mentioned. |
34 |
|
35 |
> I've never used a switch before. Is there any proprietary software to |
36 |
> configure (like with a router), or is it just a button or two? |
37 |
|
38 |
Generally a switch will have no configurable software; if it has anything |
39 |
worth configuring the manufacturer will call it a router and add 10-15$ to |
40 |
the price tag. In any case, I doubt you'll find a switch that supports |
41 |
802.11a/b/g, since they will always require a little bit of configuration |
42 |
(ESSID and keys). |
43 |
|
44 |
You could get a wireless router (e.g. Linksys' WRT line), but they will |
45 |
have some software configuration. If you choose the right model, it'll be |
46 |
Linux instead of proprietary software. However, I know of no wireless |
47 |
routers that come from the manufacturer with Gentoo installed. In fact, |
48 |
I'm fairly sure that Gentoo doesn't provide any profiles, support, or even |
49 |
instructions for running on such hardware, which has severe [compared to a |
50 |
desktop] hw limitations. |
51 |
|
52 |
-- |
53 |
"If there's one thing we've established over the years, |
54 |
it's that the vast majority of our users don't have the slightest |
55 |
clue what's best for them in terms of package stability." |
56 |
-- Gentoo Developer Ciaran McCreesh |