[[ PLEASE DON'T SEND ME EMAIL COPIES OF POSTINGS ]]
Quote:>Our Sparc20 clone has two LE network interfaces -- le0 and le2. I would
>like to use both interfaces, in the hope of doubling the throughput to
>our Cisco FastEthernet switches (right: it would be best if Management
>would spring for a 100Mbit/s hme card...).
>This is what I've done so far:
>1. copied /etc/hostname.le0 to /etc/hostname.le2
Wrong; the "hostname.leX" file should not contain the hostname but rather
the name of the alias used for that interface.
(Or the IP addresses themselves).
hostname.le0 should contain something like "hostname-ether0"
hostname.le2 should contain something like "hostname-ether2"
nodename contains the hostname proper ("hostname").
/etc/hosts should be setup like this:
IP-for-le0 hostname hostname-ether0
IP-for-le2 hostname hostname-ether2
These per interface aliases can be added to DNS if they're used outside
the host. Personally, I also prefer to specify the FQDN first:
IP-for-le0 hostname.your.domain hostname hostname-ether0
IP-for-le2 hostname.your.domain hostname hostname-ether2
This makes for a consistent behaviour between /etc/hosts and
Quote:>2. added a second entry for the host (with a different IP address)
> to /etc/hosts
Quote:>3. added an entry for the host (with a different IP address) to the
> DNS tables (and restarted named)
Quote:>4. ifconfig le2 <ip_address> up netmask <netmask> broadcast <broadcast>
>5. ifconfig le2 plumb
>At this point "ifconfig -a" shows the second interface as it should be;
>however, "netstat -rn" shows no use for interface le2.
>188.8.131.52 184.108.40.206 U 12 1529 le0
>220.127.116.11 18.104.22.168 U 2 0 le2
>In addition, running "snoop -d le2" only shows me ARP and host-id packet
>traffic, but the interface isn't being used for "regular" traffic.
>What have I missed?
Well, you need to run Solaris 2.6+
You need to enable group infs (set ip:ip_enable_group_ifs = 1 in /etc/system)
You need to set a different ethernet address for the second interface.
Expressed in this posting are my opinions. They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.