Re: OpenBSD router Tim Judd wrote:
> Hi guys, I'm trying to get the similar effects of a consumer router, one
> WAN, four LAN ports.
>
> 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?
>
> # dhclient le0
> # ifconfig bridge0 create
> # brconfig bridge0 add hme0 up add hme1 up add hme2 up add hme3 up
> -------
> (I'm stuck here.. how do I assign 192.168.1/24 to bridge0?)
>
> # ifconfig bridge0 inet 192.168.1.1 netmask 255.255.255.0 up
> ifconfig: SIOCAIFADDR: Invalid argument
>
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?
>
>
> It is a unmodified 4.0/sparc install. Everything seems to work well,
> but just not the IP address on bridge0.
>
> Should I not be creating a bridge? What am I missing?
>
> Thanks much!
Any tips yet? |