Here is steps and description what each step should do for you.

1. Edit Makefile

   Place your ethernet IP-address where need in Makefile.
   On SPARC in 64-bit mode you have to compile with Sun Workshop
   to produce 64-bit module

2. make

   this will compile module.

   OR! If you have Sparc and Solaris in 64-bit mode, you can use file gre.gz
   - this is gre.c compiled with Sun's cc (ELF 64-bit MSB relocatable SPARCV9
   Version 1)

   gzip -d gre.gz; chmod a+x gre;cp gre /kernel/strmod/gre

3. make install

    this step will copy it to /kernel/strmod/gre

4  make load

    will load module to kernel:
    modload /kernel/strmod/gre

5. make plumb

   create gre interface:

   /sbin/ifconfig ip.gre0 plumb 127.0.0.2 tsrc AAA.BBB.CCC.DDD up

   where AAA.BBB.CCC.DDD your ethernet ip-addr.

   Test, if everything is ok:

   # ifconfig -a
   lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000 
   iprb0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet AAA.BBB.CCC.DDD netmask ffffffe0 broadcast 212.109.32.31
        ether 0:90:27:2f:84:b5 
   ip.gre0: flags=10000c1<UP,RUNNING,NOARP,IPv4> mtu 4096 index 3
        inet tunnel src AAA.BBB.CCC.DDD 
        inet 127.0.0.2 netmask ff000000 

6. Edit and install S70gre startup script.

7. Get ip_fil3.4.20 sources, apply patch and istall.

8. Follow wccp config notes.

