At 5:59 PM +0100 4/29/02, James Richardson wrote:
>Roger Fischer wrote:
>
>>
>>
>>I want to run http and smtp servers on my NetBSD box over a cable
>>modem with a DHCP assigned address.
>
>Surely if its DHCP assigned, then it wont be around long enough for 
>people to ever use from the 'net. Static IP's are required, surely.
>
>If its DHCP with essentially an infinite timeout, then you can just 
>put whatever adress you currently have in the config file, or I 
>think you can use 0.0.0.0/32 and 'ipf -y' will reassign the rule to 
>your current address.

Thanks James,
If 0.0.0.0/32 will work, then that's awesome.
(I know 0/32 works in ipnat but was told it wouldn't with ipfilter).

My DHCP address has been essentially static on my existing Linux box. 
I'm setting up my a new machine using NetBSD and ipfilter.  I know 
for a fact that when I hook the cable modem up to a new ethernet card 
I WILL get a new address. I also know that even though unlikely, I 
could get a new address after a reboot.
I just like it to be automatic if I'm away and it powercycles for some reason.

Thanks,
- Roger

Reply via email to