[ previous ] [ next ] [ threads ]
 
 From:  Egbert Jan van den Bussche <egbert at vandenbussche dot nl>
 To:  m0n0wall at lists dot m0n0 dot ch
 Subject:  Re: [m0n0wall] how to reach modem om WAN port
 Date:  Thu, 13 Jan 2011 08:56:27 +0100
Op 12-1-2011 23:35, Raylund Lai schreef:
> You could create a secondary address on WAN interface like (assumes the
> interface is xl1 and give it a description EXT):
> 		<opt1>
> 			<if>xl1</if>
> 			<ipaddr>192.168.254.1</ipaddr>
> 			<subnet>24</subnet>
> 			<bridge/>
> 			<enable/>
> 			<descr>EXT</descr>
> 		</opt1>
>
> Inside<interfaces>  section of the configuration file.  Of course you need
> to export it, add it and import back.
>
> You may need to do outgoing NAT (I'm not sure whether auto-outgoing NAT will
> do).
>
> -Raylund
>
> -----Original Message-----
> From: Lee Sharp [mailto:leesharp at hal dash pc dot org]
> Sent: Wednesday, January 12, 2011 5:06 PM
> To: m0n0wall at lists dot m0n0 dot ch
> Subject: Re: [m0n0wall] how to reach modem om WAN port
>
> On 01/12/2011 04:45 PM, Egbert Jan van den Bussche wrote:
>
>> One solution I can think of is assigning a secondary addresss on the
>> WAN port. There is no way how to do that, though... Is it possible at
>> all, via the exec interface perhaps? I would be very grateful if
>> somebody has a working solution for me.
>
> You can enable sysctl commands in the config file that will use ifconfig to
> multi-home.  You may also have to set up some routing.  Or, you can stick in
> another nic, and plug it back into the WAN segment.
>
> 			Lee

Both of you thank for the suggestions I'll try them both. Unfortuanately 
I cannot drop in another NIC; mono is running on a Soekris 4801.

Egbert Jan