[EMAIL PROTECTED] wrote:
> This is a PSARC requirement. We've been told that the Solaris networking
> model has both physical interfaces (which have no IP addresses) and logical
> interfaces (that do have IP addresses.)
While I agree that each logical interface encapsulates an IP address, it
seems odd to me to say that physical interface have no IP addresses,
especially since i cannot administrative instantiate a physical interface
without also instantiating an IP address (e.g., ifconfig always shows me
something).
A physical interface has logical interfaces and it is the logical interfaces
that have IP addresses. The correct way to model this would be to ask
for all of the logical interfaces and with that, receive all of the
addresses
assigned to them.
For example, while you can do "ifconfig bge0", the output
of this is the same as "ifconfig bge0:0" which implies that when you do
"ifconfig bge0 plumb" what you're really doing is "ifconfig bge0:0 plumb".
I would also encourage you and your project team members to have
your prelimary designs officially reviewed by PSARC (if you haven't
done so already) and to get the ARCs opinion this, well before you are
ready to line up for commitment review. While I want to agree with you
about this, I've been told numerous times that physical interfaces do
not have an IP address in Solaris.
It seems more natural to say that physical interface has one or more IP
addresses (though of course some or all may be administratively down).
This also matches the model we will be presenting with IP-level
observability (e.g., snooping on /dev/ipnet/bge0 will show all packets
that are sent to or received from IP addresses that are hosted on bge0 --
see http://opensolaris.org/os/community/networking/ipobs-design.pdf for
more details).
If you mean "bge0" as in "bge0:0", then snooping on /dev/ipnet/bge0
only cares about 1 IP address, that for bge0:0.
If you mean "bge0" as in all logical interfaces on bge0 then does it
matter what IP address(es) are in the packet? Surely it is more
important to know which physical and logical interface a packet is
associated with? Or how else do you intend to discover when a packet
is being transmitted on bge0 that contains no IP address that would
indicate it belongs to that interface?
Darren
_______________________________________________
networking-discuss mailing list
[email protected]