I am trying to install a sparc workstation, which apparently requires an OS 
0906 install server, which is a chicken and egg problem if you ask me. 

I installed Virtual Box 3.04 on my Mac and installed the OS 0906 x86 here. I 
went through the installadm fun and configured it so that the DHCP was running 
on e1000g0 (en0) and the system had access to the Internet via e1000g1 (en1). 
The problem is, the installer expected to be able to reach the Internet, which 
it can't route to, so I tried to turn on NAT and ipv4 packet forwarding, but I 
can't seem to get ipfilter to *enable*. 


I just get I/O errors when I try to use the raw commands directly, and there 
were several posts around the Internet that indicated I needed to enable the 
ipfilter service, so I did that, but it won't start.. it takes quite a while to 
fail to start, of course I have no idea what its doing, and it doesn't log 
anything useful.

root at Fudge-OS:~# ipf -Fa
ioctl(SIOCIPFFL): I/O error


root at Fudge-OS:~# ipnat -F
ioctl(SIOCGNATS): I/O error
root at Fudge-OS:~# 



tommy at Fudge-OS:~$ su -
Password: 
Sun Microsystems Inc.   SunOS 5.11      snv_111b        November 2008
root at Fudge-OS:~# svcs -a | grep ipfil
disabled       16:27:50 svc:/network/ipfilter:default
root at Fudge-OS:~# svcadm enable ipilter
svcadm: Pattern 'ipilter' doesn't match any instances
root at Fudge-OS:~# svcadm enable ipfilter
root at Fudge-OS:~# svcs -x
svc:/network/ipfilter:default (IP Filter)
 State: offline since Tue Aug 11 16:56:23 2009
Reason: Start method is running.
   See: http://sun.com/msg/SMF-8000-C4
   See: ipfilter(5)
   See: /var/svc/log/network-ipfilter:default.log
Impact: This service is not running.
root at Fudge-OS:~# svcs -x
svc:/network/ipfilter:default (IP Filter)
 State: offline since Tue Aug 11 16:56:23 2009
Reason: Start method is running.
   See: http://sun.com/msg/SMF-8000-C4
   See: ipfilter(5)
   See: /var/svc/log/network-ipfilter:default.log
Impact: This service is not running.
root at Fudge-OS:~# svcs -x
svc:/network/ipfilter:default (IP Filter)
 State: offline since Tue Aug 11 16:56:23 2009
Reason: Start method is running.
   See: http://sun.com/msg/SMF-8000-C4
   See: ipfilter(5)
   See: /var/svc/log/network-ipfilter:default.log
Impact: This service is not running.
root at Fudge-OS:~# less /var/svc/log/network-ipfilter:default.log
root at Fudge-OS:~# svcs -x
svc:/network/ipfilter:default (IP Filter)
 State: maintenance since Tue Aug 11 16:58:00 2009
Reason: Start method failed repeatedly, last died on Killed (9).
   See: http://sun.com/msg/SMF-8000-KS
   See: ipfilter(5)
   See: /var/svc/log/network-ipfilter:default.log
Impact: This service is not running.
root at Fudge-OS:~# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 
index 1
        inet 127.0.0.1 netmask ff000000 
e1000g0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 
2
        inet 0.0.0.0 netmask ff000000 
        ether 8:0:27:fc:8b:b8 
e1000g1: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 
3
        inet 192.168.100.87 netmask ffffff00 broadcast 192.168.100.255
        ether 8:0:27:65:af:30 
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 
index 1
        inet6 ::1/128 
e1000g1: flags=2004841<UP,RUNNING,MULTICAST,DHCP,IPv6> mtu 1500 index 3
        inet6 fe80::a00:27ff:fe65:af30/10 
        ether 8:0:27:65:af:30 
root at Fudge-OS:~# ls -l /etc/ipf
total 1
-rw-r--r-- 1 root sys 134 2009-05-14 09:52 ipf.conf
root at Fudge-OS:~# cat /etc/ipf/ipf.conf 
#
# ipf.conf
#
# IP Filter rules to be loaded during startup
#
# See ipf(4) manpage for more information on
# IP Filter rules syntax.
root at Fudge-OS:~# modinfo | grep ipf
230 fffffffff85fe000  37e50 165   1  ipf (IP Filter: v4.1.9)
root at Fudge-OS:~# uname -a
SunOS Fudge-OS 5.11 snv_111b i86pc i386 i86pc Solaris
root at Fudge-OS:~# 

root at Fudge-OS:~# cat /var/svc/log/network-ipfilter\:default.log 
[ Aug 11 16:27:50 Disabled. ]
[ Aug 11 16:27:50 Rereading configuration. ]
[ Aug 11 16:56:23 Enabled. ]
[ Aug 11 16:56:23 Executing start method ("/lib/svc/method/ipfilter start"). ]
[ Aug 11 16:56:56 Method or service exit timed out.  Killing contract 97. ]
[ Aug 11 16:56:56 Method "start" failed due to signal KILL. ]
[ Aug 11 16:56:56 Executing start method ("/lib/svc/method/ipfilter start"). ]
[ Aug 11 16:57:28 Method or service exit timed out.  Killing contract 98. ]
[ Aug 11 16:57:28 Method "start" failed due to signal KILL. ]
[ Aug 11 16:57:28 Executing start method ("/lib/svc/method/ipfilter start"). ]
[ Aug 11 16:58:00 Method or service exit timed out.  Killing contract 99. ]
[ Aug 11 16:58:00 Method "start" failed due to signal KILL. ]
[ Aug 11 16:58:00 Rereading configuration. ]
root at Fudge-OS:~# 



Hopefully someone can help! :)

Thanks,
Tommy
-- 
This message posted from opensolaris.org

Reply via email to