Re: OpenBSD router jpd wrote:
> Begin <-sKdnR87YcoEblrYnZ2dnUVZ_tTinZ2d@comcast.com>
> On 2007-02-06, Tim Judd <tjudd01@hotmail.com> wrote:
>>> I have a single 10baseT network interface, and a 4-port 100baseT
>>> ethernet card on the system. Am I going about this wrong to create the
>>> same thing as a consumer router?
>
> The consumer router thing will likely have those four LAN ports on a
> five port switch, the fifth being the internal interface. Or the four
> ports are really on a HUB. Some 10BaseT ``four port'' NICs are really
> hubs, too, so those would be more suitable for this purpose.
>
>
>> OK, a bridge operates on a OSI layer not aware of IP data, so assigning
>> a IP address to a bridge will never work. How else can I assign one IP
>> to 4 NICs?
>
> Bond all of them together, or perhaps `loop' the bridge on some virtual
> interface. I don't know if obsd can do that, though. You could replace
> the four-port NIC with a hub or a switch on a card type thing, if you
> can find it. Or you could give them all different ips and subnets and
> route everything. IIRC isc-dhcp being able to deal with that with a
> single instance, if the config file is setup right. As long as you're
> using RFC1918 addresses, it doesn't have to be a problem.
>
>
I will test this tonight, but can I assign a single IP to one of the
4-port NICs, and then bridge them all to use that same IP? Somebody
recommended trunking them, and it seems good, but trunking seems to be
used for outbound communication (one source, many outputs). I was
hoping for a many inputs, one destination kind of thing.
Any more ideas? I'll use your suggestion, jpd. What "virtual
interface" would you suggest?
thanks again.
--tj |