[Summary] Multiple ethernet address on one machine

From: Don Baune 581-6088 MIRL (don@doug.med.utah.edu)
Date: Tue May 17 1994 - 22:31:52 CDT


All,

It turns out this was a simple one. Apparently sun assigns the same
ethernet address to all cards in a machine and makes the assumtion
that you would not be placing the cards on the same wire. Adding the
line

ifconfig le1 ether 48:0:20:10:9f:e0

to the rc.local solved the problem. Thanks to all who responded so quickly.

-don

Honor role:

Tom Reingold <tommy@big.att.com>
bwalker@antares.com (Brad Walker)
Harish Malneedi <harishm@pcsdnfs1.eq.gs.com>
glenn@uniq.com.au (Glenn Satchell - Uniq Professional Services)
perryh@pluto.rain.com (Perry Hutchison)

The Winning entry was:
  You need to change the ethernet address on one of the interfaces, eg:

  ifconfig le1 ether 8:0:20:xx:xx:xx

  To make sure that it is unique perhaps change the initial `8' to
  something like `48' which is, I think, in the range of user defined
  ethernet addresses.

Other suggestions also included:
  Invoke routed with " -q " otion. This prevents the machine with multiple
  inerfaces acting as a router.

  - Bring down the interfaces.
  - kill the existing routed and invoke " routed -q & "
  - Either reboot the machine or bring up the interfaces maually.

----- Begin Included Message -----
All,

I have a sun 690 (Sun OS 4.1.3) with two ethernet ports on it. I am in the
process of changing our IP address from one class C subnet (128.100.60) to
a new one (155.100.60). I would like to set up this server with it servicing
both address until the conversion is complete. I don't want this machine to
act as a router or gatway just respond to requests at both IP subnet addresses
on the same wire.

So I connected both ethernet ports up to the same physical 10baseT box.
Gave each hostname.le0 & hostname.le1 a different hostname so they would
tract to a different ip address in the /etc/hosts file. This appeared to
work upon rebooting with a check by the ifconfig command. It ipadress,
subnet mask, ethernet address all appeared correct for each interface.

Then when one of the other machines would ping either one of the addresses
on this dual port machine it would get multiple replys to the ping request.

The automounter on a (Sun OS 5.3) would also get very confussed and not
connect to this machine on either port.

Any Ideas as to how this can be done (two ports on the same wire servicing
different subnets also on the same wire)?

thanks,
don

----- End Included Message -----



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:09:01 CDT