Re: Why doesn't my dmfe1 work ?
"SauDoi" (anhtais@gmail.com) writes:
> Hi all,
>
>
> I'm runing Solaris 10 on SunFire V100, it has 2 ethernet cards: dmfe0
> and dmfe1. Now, I only have 1 cable run to this server. When I plug the
>
> cable to dmfe0, everything is ok, i can connect to server from LAN and
> vice versa easily. However, if I move the cable to dmfe1, the
> connection is lost although the status of dmfe1 comes to up.
Hrm.
A couple of ideas...
Try as root to 'ifconfig dmfe1 plumb up' - occasionally kernel needs to be
reminded that the interface is plumbed.
You have two different interfaces with two different MAC addresses on the
same ethernet segment. If you are connecting them to the same ethernet
cable, you might need to wait a few minutes for a switch to notice the MAC
change, and deal with it. If you are in a managed environment, it's
possible that your admin might have hardcoded your MAC to your port to
prevent unauthorized use (plugging in arbitrary hardware, etc).
Lastly, the following was valid under Solaris 2.6, I don't know if it is still
the case. It is based on my observations.
If you are connecting two ethernet interfaces of a sun box to the same
ethernet segment and give two distinct IP addresses to each one of the
interfaces on the same segment, kernel will get confused which interface
to use as the source MAC/IP address. As a result it will round-robin
between the two (Which was a correct behavior accoring to Stevens' book).
In turn this will confuse anything it tries to connect to, as only half TCP
session will be seen by the other system, and other system will reject the
other half of the packets.
So it is possible that you might need to shut down the first interface if
you are connecting to the second one.
'ifconfig dmfe0 down' *should* do it.
HTH. HAND.
--
Trouble rather the tiger in his lair, then the Sysadmin amongst his UNIX boxen.
For to you Programs and their Source Code are things mighty and enduring,
But to him they are but toys of the moment,
To be overturned by flicking of the power switch.... Computer Lessons: SNV '97 |