Subject: Help with ipnat causing kernel panic on i386..?
To: None <netbsd-help@netbsd.org>
From: None <sudog@sudog.com>
List: netbsd-help
Date: 05/12/2000 14:23:39
Just coming back to netbsd after a few years of absence, and I've got
a lovely little 486 box here with two NICs (ne1, ep0) that I would
like to use as a firewall for my internal network.

I've got dhcp working great on one (ep0) , static IP (10.0.0.5)(ne1)  
on the other.

ipnat -f -
map ne1 10.0.0.0/255.255.255.0 -> 24.66.169.45/255.255.255.255
result: kernel panic, reboot.

ipnat -f -
map ep0 10.0.0.0/255.255.255.0 -> 24.66.169.45/255.255.255.255
result: kernel panic, reboot.

also tried 0/32 for the 24.66.blah.. both cases same result.

Syslog is telling me:

May 12 06:39:27 battle /netbsd: uvm_fault(0xc25296e0, 0x0, 0, 1) -> 1
May 12 06:39:27 battle /netbsd: fatal page fault in supervisor mode
May 12 06:39:27 battle /netbsd: trap type 6 code c2610000 eip c01a0549 cs c01a0008 eflags 10297 cr2 28 cpl c0000000
May 12 06:39:27 battle /netbsd: panic: trap
May 12 06:39:27 battle /netbsd: syncing disks... 1 1 done

I'm assuming I'm doing something wrong here..  would the fact that
both the network cables are plugged into the same hub have something
to do with this? I'm forced to monkeying with it remotely.. so if more
details is required I'd be happy to follow instructions when I get
home in three days.

Help appreciated, experience appreciated, thanks folks,

Sincerely,

Marc