Firt, you must enable ip forwarding in your opensolaris box. Let's suppose thet we have two network adapters, one is elxl0(80.xxx.xxx.xxx), this is connect to the internet, and the second one is e1000g0 connected to the intranet (172.16.16.1) ipnat.conf file can be located anyware on the system, in /etc/ipnat.rules, /usr/local/etc/ipnat.rules, or /etc/opt/ipf/ipnat.rules In opensolaris, /network/ipv4-forwarding service is using /etc/ipf/ipnat.conf file cd /etc/ipf echo >> ipnat.conf (if it's missing) Insert in ipnat.conf file this line map elxl0 172.16.16.0/24 -> 0/32 The easiest way to load a NAT rule set is: ipnat -CF -f /etc/ipnat.conf To test if the rules from ipnat.rules are loaded, type from root account: ipnat -l The output look like this root@freya:/etc/ipf# ipnat -l List of active MAP/Redirect filters: map elxl0 172.16.16.0/24 -> 0.0.0.0/32 [...] List of active sessions: MAP 172.16.16.2 12769 80.xxx.xxx.xxx 12769 [86.xxx.21.xxx 53] Finally, ...
Yashica ML 50mm/2 lens at F/2, full manual focus * The purchase - I got this lens from ebay, it is cheap :) - It's working on my Canon camera with this adapter. * What I like: - Metal case, built to last forever, quality of the lens seems good . - Aperture ring feels smooth, I like the "click click" sound . - It's very sharp at F/2, this was a big surprise for me, because I was using the Canon EF 50mm F1.8, which is sharp maybe at F8, and is feels(and sounds) like broken mcdonald's toy. - The bokeh is very nice, interesting "spinning" effect. - Colors are saturated. * What I don't like: - At F/11->F/16, pictures are strange, colors shades, details are missing. - Aperture ring is too close to the body, this is a a little bit annoying, but this is by design, I have to get used to it. Sample images - The ground level point of view Sample images - Miracle
Well, you think this task is simple, like in linux, where you type in a console "echo "1" > /proc/sys/net/ipv4/ip_forward" In opensolaris this task is more complicated. Why?because, they can :) root@opensolaris:/net# uname -a SunOS opensolaris 5.11 snv_101b i86pc i386 i86pc Solaris to check if the ip forward is enabled type: root@opensolaris:/net# svcs -a | grep forward disabled 10:24:40 svc:/network/ipv6-forwarding:default disabled 12:46:49 svc:/network/ipv4-forwarding:default in this case, it is disabled (by default) To enable it, you can do: - root@opensolaris:~# ifconfig pcn0 router for ipv6: root@opensolaris:~# ifconfig pcn0 inet6 router - root@opensolaris:~# ndd -set /dev/ip ip_forwarding 1 for ipv6: root@opensolaris:~# ndd -set /dev/ip ip6_forwarding 1 - In the previous Solaris releases root@opensolaris:~# routeadm -e ipv4-forwarding for ipv6: root@opensolaris:~# routeadm -e ipv6-forwarding To disable ip forward root@opensolaris:~# ifconfig ...
Comments