This summary describes how to get multiple internet addresses on a Sparc
IPC with SunOS 4.1.1 without several network devices.
Thanks to all managers who have answered and especially :
Reto Lichtensteiger (rali@meitca.com)
Hal Stern (stern@sunrise.East.Sun.COM)
John Mendenhall (jem@electriciti.com)
Chuck Smoko (csmoko@relay.nswc.navy.mil)
So, here the steps :
1 - Get the vif package to allow multiple IP. You can get this at :
ftp://ftp.cerf.net/pub/vendor/peggy/vif-1.10.tar.gz
or more recent :
ftp://ftp.nethelp.no/pub/net/vif-1.11.tar.gz
ftp://ftp.ntnu.no/pub/unix/network/vif-1.11.tar.gz
There is also a web page :
http://www.nethelp.no/net/vif/readme.html
and FAQ :
http://www.nethelp.no/net/vif/faq.html
2 - Follow the instructions to install it. Very easy to do. I had
no problem.
/!\ Don't forget to do the ifconfig and arp commands as
described in the docs.
After the install, verify you have something like that :
# ifconfig -a
le0: flags=63<UP,BROADCAST,NOTRAILERS,RUNNING>
inet 137.203.10.12 netmask ffffff00
broadcast 137.203.10.0
ether 8:0:20:1f:b0:fc
lo0: flags=49<UP,LOOPBACK,RUNNING>
inet 127.0.0.1 netmask ff000000
vif0: flags=89<UP,LOOPBACK,NOARP>
inet 137.203.10.199 netmask ffffff00
vif1: flags=88<LOOPBACK,NOARP>
vif2: flags=88<LOOPBACK,NOARP>
vif3: flags=88<LOOPBACK,NOARP>
# netstat -rn
Routing tables
Destination Gateway Flags
Refcnt Use Interface
127.0.0.1 127.0.0.1 UH
5 508538 lo0
137.203.10.199 137.203.10.199 UH
0 8 vif0
default 137.203.10.254 UG
3 120457 le0
137.203.10.0 137.203.10.12 U
18 220694 le0
3 - Verify you can do a ping command to the virtual adresses both
from the Sun and from any computers.
If you can't do a ping from an other computer but you can
do it from the Sun, here is a possible solution to this problem :
When you do the command ifconfig -a, look at the
ether address of le0. If this one is 0:0:0:0:0:0, this is the problem !!
To correct that, type the command :
ifconfig le0 ether
ethernet_address_of_the_Sun -trailers up
Ex. : ifconfig le0 ether 8:0:20:1f:b0:fc
-trailers up
After, you would be able to ping from everywhere :-)
Stephane.
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:03 CDT