[ previous ] [ next ] [ threads ]
 
 From:  "David Burgess" <apt dot get at gmail dot com>
 To:  "Monowall User List" <m0n0wall at lists dot m0n0 dot ch>
 Subject:  Fwd: [m0n0wall] How to multinet the LAN interface?
 Date:  Mon, 8 Dec 2008 22:14:35 -0700
Oops. Apologies to Chris for replying to his message rather than the
list with this post.


---------- Forwarded message ----------
From: David Burgess <apt dot get at gmail dot com>
Date: Mon, Dec 8, 2008 at 10:13 PM
Subject: Re: [m0n0wall] How to multinet the LAN interface?
To: Chris Buechler <cbuechler at gmail dot com>


On Mon, Dec 8, 2008 at 9:19 PM, Chris Buechler <cbuechler at gmail dot com> wrote:
> On Mon, Dec 8, 2008 at 11:15 PM, Lee Sharp <leesharp at hal dash pc dot org> wrote:
>> I have been searching the archives for a while, and I know we have discussed
>> it.  I even remember several posts I have made as to why it is a bad idea.
>>  Can't find a one, and now I need to do it.  I need a way to support a
>> device on a different IP scheme on the LAN port temporarily. So I can do it
>> from exec.php...  It just needs to be long enough for it to reach the
>> internet for a short time.  Does anyone remember how this very dirty hack
>> works?

The short answer:
ifconfig nve0 inet 172.16.0.1 netmask 255.255.0.0 alias

The long answer:
http://m0n0.ch/wall/list/showmsg.php?id=317/10