[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: your mail



> -----Original Message-----
> From: owner-misc@openbsd.org [mailto:owner-misc@openbsd.org]On Behalf Of
> Ted Unangst
> Sent: 31 January 2004 22:45
> To: Marco Melo
> Cc: misc@openbsd.org
> Subject: Re: your mail
> 
> 
> On Sat, 31 Jan 2004, Marco Melo wrote:
> 
> > Can I assign to a network card two ips, one dinamic
> > and one static for coneccting the cable modem and the
> > subnet with a HUB, because i have an SS20 and only has
> > ONE network card and i need to use it as a router, is
> > this possible with OpenBSD?
> 
> sure.  from my hostname.rl0:
> dhcp
> inet alias 10.10.10.100 255.255.255.0 NONE
> and pf.conf:
> no nat on rl0 from 10.10.10.0/24 to 10.10.10.0/24
> no nat on rl0 from 10.10.10.0/24 to reuelos
> nat on rl0 from 10.10.10.0/24 to any -> (rl0:0)

Cunning

> pass out all keep state
> 
> 
> -- 
> all we're waiting for is for something worth waiting for