Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## /etc/ipf/ipnat.conf
- map rtls0 172.16.1.0/24 -> 0/32
- map rtls0 172.16.2.0/24 -> 0/32
- ## ifconfig rtls0
- inet 172.16.0.2 netmask ffffff00
- ## ifconfig vnic1
- inet 172.16.1.1 netmask ffffff00
- ## ifconfig nge0
- inet 172.16.2.1 netmask ffffff00
- ## other notes
- So, rtls0 is my internet. vnic1 and nge0 share from that.
- I have enabled ipv4-forwarding;
- routeadm -e ipv4-forwarding
- routeadm -u
Add Comment
Please, Sign In to add comment