Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Mar 2004 02:41:15 -0500 (EST)
From:      Andre Guibert de Bruet <andy@siliconlandmark.com>
To:        Eric Wenger <eric_wenger@yahoo.com>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: Project Evil: Success with Realtek 8180 (RTL8180)
Message-ID:  <20040312023324.O21071@alpha.siliconlandmark.com>
In-Reply-To: <93E8213CD5295045B4017C8EB52A5864BD2ADB@DURMX1.cs.myharris.net>
References:  <93E8213CD5295045B4017C8EB52A5864BD2ADB@DURMX1.cs.myharris.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On Thu, 11 Mar 2004, Eric Wenger wrote:

>                   I also should point out that you can't configure two
> interfaces on the same subnet under FreeBSD so if you are hard wired to a
> wireless router you need to take care with addressing.

Yes you can, you'll just have to set the netmask to 0xffffffff as you do
with aliased IPs. This is a documented requirement. From the ifconfig
manpage:

     alias   Establish an additional network address for this interface.  This
	     is sometimes useful when changing network numbers, and one wishes
	     to accept packets addressed to the old interface.  If the address
	     is on the same subnet as the first network address for this
	     interface, a non-conflicting netmask must be given.  Usually
	     0xffffffff is most appropriate.

I have something similar set up at my apartment using gbit ether and
firewire:

nge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	inet 10.10.10.2 netmask 0xffffff00 broadcast 10.10.10.255
fwe1: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
	inet 10.10.10.56 netmask 0xffffffff broadcast 10.10.10.56

Regards,

> Andre Guibert de Bruet | Enterprise Software Consultant >
> Silicon Landmark, LLC. | http://siliconlandmark.com/    >


>
> Thanks for the great work on Project Evil!
>
> Eric
>
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040312023324.O21071>