Hi all,
I received numerous replies to this question, too many to name here.
First, the question:
By mistake I issued the command
ifconfig le0:3 196.0.0.3 255.255.255.0 up
in the hope that 255.255.255.0 would set the netmask. Instead, because
I
had left out the "netmask" keywork, this command set the remote address
of a point to point link instead (according to the ifconfig manpage),
like this:
le0:3: flags=871<UP,POINTOPOINT,NOTRAILERS,RUNNING,MULTICAST> mtu 1500
inet 196.0.0.3 --> 255.255.255.0 netmask ffffff00
Trouble is, now I cannot seem to convince this interface that it is no
longer point to point. Anyone know how to deselect/disable/unconfigure
the point to point IP address and return it to standard broadcast
ethernet status?
The two main suggestions were:
- To bring the interface down and up again using
ifconfig le0:3 down
ifconfig le0:3 up
This wouldn't work, as it only had the effect of marking the interface
up or down, rather than clearing it's parameters.
- To unplumb and plump the interface again, thus resetting it.
ifconfig le0:3 unplumb
ifconfig le0:3 plumb
This turned out to be the correct thing to do, despite being disasterous
- I was connected remotely at the time, and the effect of the unplumb
kicked me off the box at the same time, which required a reboot and a
drive to the next town!
It would seem that "le0:3 unplumb" actually means "le0 unplumb", and the
Solaris ifconfig gives you no warning that it is about to do something
you may not have intended it to do.
Regards,
Graham
-- ----------------------------------------- graham@vwv.com "There's a moon VWV Interactive over Bourbon Street tonight...
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:44 CDT